check in configure if ionice -c3 works

On old systems, it may need to be run as root.
This commit is contained in:
Joey Hess 2013-06-21 13:43:04 -04:00
parent 5e48aa4d4b
commit 53d52d57c1
2 changed files with 3 additions and 2 deletions

View file

@ -31,7 +31,7 @@ tests =
, TestCase "curl" $ testCmd "curl" "curl --version >/dev/null"
, TestCase "wget" $ testCmd "wget" "wget --version >/dev/null"
, TestCase "bup" $ testCmd "bup" "bup --version >/dev/null"
, TestCase "ionice" $ testCmd "ionice" "ionice --version >/dev/null"
, TestCase "ionice" $ testCmd "ionice" "ionice -c3 true >/dev/null"
, TestCase "gpg" $ maybeSelectCmd "gpg"
[ ("gpg", "--version >/dev/null")
, ("gpg2", "--version >/dev/null") ]