]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qemu-iotests/common.rc
qemu-iotests: Filter NFS paths
authorKevin Wolf <kwolf@redhat.com>
Thu, 17 May 2018 16:33:52 +0000 (18:33 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 23 May 2018 11:29:03 +0000 (13:29 +0200)
commit8908b253c4ad5f8874c8d13abec169c696a5cd32
treecdeed4f996b8fe3628866d6d27181c92e8b3a4eb
parent655ae6bb91998a01964759406cb38ef215a6ba5b
qemu-iotests: Filter NFS paths

NFS paths were only partially filtered in _filter_img_create, _img_info
and _filter_img_info, resulting in "nfs://127.0.0.1TEST_DIR/t.IMGFMT".
This adds another replacement to the sed calls that matches the test
directory not as a host path, but as an NFS URL (the prefix as used for
$TEST_IMG).

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
tests/qemu-iotests/126.out
tests/qemu-iotests/common.filter
tests/qemu-iotests/common.rc