4ec855
From 1d8ba61938b06c54749b96af34acf3fee751bc93 Mon Sep 17 00:00:00 2001
4ec855
From: Pino Toscano <ptoscano@redhat.com>
4ec855
Date: Mon, 8 Jul 2019 15:25:56 +0100
4ec855
Subject: [PATCH 10/39] iotests: Filter SSH paths
4ec855
MIME-Version: 1.0
4ec855
Content-Type: text/plain; charset=UTF-8
4ec855
Content-Transfer-Encoding: 8bit
4ec855
4ec855
RH-Author: Pino Toscano <ptoscano@redhat.com>
4ec855
Message-id: <20190708152601.21123-6-ptoscano@redhat.com>
4ec855
Patchwork-id: 89416
4ec855
O-Subject: [RHEL-8.1.0 qemu-kvm PATCH v3 05/10] iotests: Filter SSH paths
4ec855
Bugzilla: 1513367
4ec855
RH-Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
4ec855
RH-Acked-by: Max Reitz <mreitz@redhat.com>
4ec855
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
4ec855
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
4ec855
4ec855
From: Max Reitz <mreitz@redhat.com>
4ec855
4ec855
8908b253c4ad5f8874c8d13abec169c696a5cd32 has implemented filtering of
4ec855
remote paths for NFS, but forgot SSH.  This patch takes care of that.
4ec855
4ec855
Signed-off-by: Max Reitz <mreitz@redhat.com>
4ec855
Reviewed-by: John Snow <jsnow@redhat.com>
4ec855
Message-id: 20190210145736.1486-9-mreitz@redhat.com
4ec855
Signed-off-by: Max Reitz <mreitz@redhat.com>
4ec855
(cherry picked from commit ac3589dc463c18e6726be2831196c7755bec39d5)
4ec855
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
4ec855
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
4ec855
---
4ec855
 tests/qemu-iotests/common.rc | 1 +
4ec855
 1 file changed, 1 insertion(+)
4ec855
4ec855
diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
4ec855
index d054cb9..6490c8d 100644
4ec855
--- a/tests/qemu-iotests/common.rc
4ec855
+++ b/tests/qemu-iotests/common.rc
4ec855
@@ -145,6 +145,7 @@ else
4ec855
         TEST_IMG="nbd:127.0.0.1:10810"
4ec855
     elif [ "$IMGPROTO" = "ssh" ]; then
4ec855
         TEST_IMG_FILE=$TEST_DIR/t.$IMGFMT
4ec855
+        REMOTE_TEST_DIR="ssh://127.0.0.1$TEST_DIR"
4ec855
         TEST_IMG="ssh://127.0.0.1$TEST_IMG_FILE"
4ec855
     elif [ "$IMGPROTO" = "nfs" ]; then
4ec855
         TEST_IMG_FILE=$TEST_DIR/t.$IMGFMT
4ec855
-- 
4ec855
1.8.3.1
4ec855