mirror of https://gitee.com/openkylin/qemu.git
iotests: Filter SSH paths
8908b253c4
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>
This commit is contained in:
parent
56a6e5d0ca
commit
ac3589dc46
|
@ -145,6 +145,7 @@ else
|
||||||
TEST_IMG="nbd:127.0.0.1:10810"
|
TEST_IMG="nbd:127.0.0.1:10810"
|
||||||
elif [ "$IMGPROTO" = "ssh" ]; then
|
elif [ "$IMGPROTO" = "ssh" ]; then
|
||||||
TEST_IMG_FILE=$TEST_DIR/t.$IMGFMT
|
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"
|
TEST_IMG="ssh://127.0.0.1$TEST_IMG_FILE"
|
||||||
elif [ "$IMGPROTO" = "nfs" ]; then
|
elif [ "$IMGPROTO" = "nfs" ]; then
|
||||||
TEST_IMG_FILE=$TEST_DIR/t.$IMGFMT
|
TEST_IMG_FILE=$TEST_DIR/t.$IMGFMT
|
||||||
|
|
Loading…
Reference in New Issue