Message ID | 20161012204907.25941-4-mreitz@redhat.com |
---|---|
State | New |
Headers | show |
On 10/12/2016 03:49 PM, Max Reitz wrote: > Signed-off-by: Max Reitz <mreitz@redhat.com> > --- > tests/qemu-iotests/162 | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tests/qemu-iotests/162 b/tests/qemu-iotests/162 > index f8eecb3..cad2bd7 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" > + Reviewed-by: Eric Blake <eblake@redhat.com> > echo > echo '=== NBD ===' > # NBD expects all of its arguments to be strings >
diff --git a/tests/qemu-iotests/162 b/tests/qemu-iotests/162 index f8eecb3..cad2bd7 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
Signed-off-by: Max Reitz <mreitz@redhat.com> --- tests/qemu-iotests/162 | 3 +++ 1 file changed, 3 insertions(+)