From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58675) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buQSo-0005GQ-Js for qemu-devel@nongnu.org; Wed, 12 Oct 2016 16:49:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buQSm-00022k-Kq for qemu-devel@nongnu.org; Wed, 12 Oct 2016 16:49:22 -0400 From: Max Reitz Date: Wed, 12 Oct 2016 22:49:07 +0200 Message-Id: <20161012204907.25941-4-mreitz@redhat.com> In-Reply-To: <20161012204907.25941-1-mreitz@redhat.com> References: <20161012204907.25941-1-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH 3/3] iotests: Skip test 162 if there is no SSH support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, Max Reitz , Kevin Wolf , Stefan Hajnoczi , Hao QingFeng Signed-off-by: Max Reitz --- 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" + echo echo '=== NBD ===' # NBD expects all of its arguments to be strings -- 2.10.0