Suppress spurious message when testdriver probes for a testing method.

This commit is contained in:
David Given 2016-11-26 21:50:56 +01:00
parent 4633ca0886
commit 4f446467c8

View file

@ -15,7 +15,7 @@ trap "rm -f $pidfile" EXIT
case $method in
qemu-system-*)
if ! command -v $method 2>/dev/null; then
if ! command -v $method >/dev/null 2>&1 ; then
echo "Warning: $method not installed, skipping test"
exit 0
fi
@ -33,7 +33,7 @@ case $method in
;;
qemu-*)
if ! command -v $method 2>/dev/null; then
if ! command -v $method >/dev/null 2>&1 ; then
echo "Warning: $method not installed, skipping test"
exit 0
fi