tests/qtest/vhost-user-blk-test: Check whether qemu-storage-daemon is available
commitb063c290f3d28a3142e90a1717b26b55ec1a7d17
authorThomas Huth <thuth@redhat.com>
Wed, 11 Aug 2021 09:59:49 +0000 (11 11:59 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 11 Aug 2021 11:40:01 +0000 (11 13:40 +0200)
tree16f3395b794606b4cf4500ea04e4feae397b43a3
parentcc1838c25d55e7f478cd493431679337e24e1b72
tests/qtest/vhost-user-blk-test: Check whether qemu-storage-daemon is available

The vhost-user-blk-test currently hangs if QTEST_QEMU_STORAGE_DAEMON_BINARY
points to a non-existing binary. Let's improve this situation by checking
for the availability of the binary first, so we can fail gracefully if
it is not accessible.

Message-Id: <20210811095949.133462-1-thuth@redhat.com>
Reviewed-by: Alexander Bulekov <alxndr@bu.edu>
Tested-by: Alexander Bulekov <alxndr@bu.edu>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/vhost-user-blk-test.c