tests: pull qemu-nbd iotest helpers into common.nbd file
commite6d5d6fdd43484f60f678e66c21f0d1286749977
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 16 Nov 2018 15:53:22 +0000 (16 15:53 +0000)
committerEric Blake <eblake@redhat.com>
Mon, 19 Nov 2018 17:16:46 +0000 (19 11:16 -0600)
tree33be512d02a92ea56664b0223ee078fc66a47f71
parenta2458b6f6998c9a079f710ed7495d5c6f037e942
tests: pull qemu-nbd iotest helpers into common.nbd file

The helpers for starting/stopping qemu-nbd in 058 will be useful in
other test cases, so move them into a common.nbd file.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20181116155325.22428-4-berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: fix shell quoting]
Signed-off-by: Eric Blake <eblake@redhat.com>
tests/qemu-iotests/058
tests/qemu-iotests/common.nbd [new file with mode: 0644]