Suppress spurious message when testdriver probes for a testing method.
This commit is contained in:
parent
4633ca0886
commit
4f446467c8
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ trap "rm -f $pidfile" EXIT
|
||||||
|
|
||||||
case $method in
|
case $method in
|
||||||
qemu-system-*)
|
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"
|
echo "Warning: $method not installed, skipping test"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
@ -33,7 +33,7 @@ case $method in
|
||||||
;;
|
;;
|
||||||
|
|
||||||
qemu-*)
|
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"
|
echo "Warning: $method not installed, skipping test"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue