Suppress spurious message when testdriver probes for a testing method.
This commit is contained in:
parent
4633ca0886
commit
4f446467c8
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue