]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/qemu-iotests/162
iotests: fix 097 when run with qcow
[mirror_qemu.git] / tests / qemu-iotests / 162
index f8eecb325b6f24e774715357915ff2550af205c1..cad2bd70ab6592662323c0b6d01c9f15a3b7f8ea 100755 (executable)
@@ -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