diff --git a/tests/qemu-iotests/162 b/tests/qemu-iotests/162 index f8eecb325b6f24e774715357915ff2550af205c1..cad2bd70ab6592662323c0b6d01c9f15a3b7f8ea 100755 --- a/tests/qemu-iotests/162 +++ b/tests/qemu-iotests/162 @@ -35,6 +35,9 @@ status=1 # failure is the default! _supported_fmt generic _supported_os Linux +test_ssh=$($QEMU_IMG --help | grep '^Supported formats:.* ssh\( \|$\)') +[ "$test_ssh" = "" ] && _notrun "ssh support required" + echo echo '=== NBD ===' # NBD expects all of its arguments to be strings