aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2019-02-10 15:57:34 +0100
committerMax Reitz <mreitz@redhat.com>2019-02-25 15:11:28 +0100
commitac3589dc463c18e6726be2831196c7755bec39d5 (patch)
tree0418a113cbdf72d6453422e45e8ab49e3cd887c4
parent56a6e5d0ca61f746577ea6223bcabbf7d6c576af (diff)
downloadqemu-ac3589dc463c18e6726be2831196c7755bec39d5.zip
qemu-ac3589dc463c18e6726be2831196c7755bec39d5.tar.gz
qemu-ac3589dc463c18e6726be2831196c7755bec39d5.tar.bz2
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>
-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 e15e7a7..09a27f0 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