iotests: Make _filter_nbd support more URL types
commit4a940d14b3000bee4826f6938e6e0dd67393cf35
authorMax Reitz <mreitz@redhat.com>
Mon, 25 Jan 2016 18:41:13 +0000 (25 19:41 +0100)
committerMax Reitz <mreitz@redhat.com>
Tue, 2 Feb 2016 16:49:42 +0000 (2 17:49 +0100)
tree00550c32cfa63b10fecf5a6523fa75c0c1176b1b
parentdd170c06777d11ecee2d4f4977398068b9b38f03
iotests: Make _filter_nbd support more URL types

This function should support URLs of the "nbd://" format (without
swallowing the export name), and for "nbd:///" URLs it should replace
"?socket=$TEST_DIR" by "?socket=TEST_DIR" because putting the Unix
socket files into the test directory makes sense.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/common.filter