summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/common.rc
diff options
context:
space:
mode:
authorMax Reitz2019-02-10 15:57:34 +0100
committerMax Reitz2019-02-25 15:11:28 +0100
commitac3589dc463c18e6726be2831196c7755bec39d5 (patch)
tree0418a113cbdf72d6453422e45e8ab49e3cd887c4 /tests/qemu-iotests/common.rc
parentiotests.py: Filter filename in any string value (diff)
downloadqemu-ac3589dc463c18e6726be2831196c7755bec39d5.tar.gz
qemu-ac3589dc463c18e6726be2831196c7755bec39d5.tar.xz
qemu-ac3589dc463c18e6726be2831196c7755bec39d5.zip
iotests: Filter SSH paths
8908b253c4ad5f8874c8d13abec169c696a5cd32 has implemented filtering of remote paths for NFS, but forgot SSH. This patch takes care of that. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Message-id: 20190210145736.1486-9-mreitz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/common.rc')
-rw-r--r--tests/qemu-iotests/common.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
index e15e7a7c8e..09a27f02d0 100644
--- a/tests/qemu-iotests/common.rc
+++ b/tests/qemu-iotests/common.rc
@@ -145,6 +145,7 @@ else
TEST_IMG="nbd:127.0.0.1:10810"
elif [ "$IMGPROTO" = "ssh" ]; then
TEST_IMG_FILE=$TEST_DIR/t.$IMGFMT
+ REMOTE_TEST_DIR="ssh://127.0.0.1$TEST_DIR"
TEST_IMG="ssh://127.0.0.1$TEST_IMG_FILE"
elif [ "$IMGPROTO" = "nfs" ]; then
TEST_IMG_FILE=$TEST_DIR/t.$IMGFMT