summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functest/opnfv_tests/openstack/vping/vping_ssh.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/opnfv_tests/openstack/vping/vping_ssh.py b/functest/opnfv_tests/openstack/vping/vping_ssh.py
index 513ad0ee6..489138574 100644
--- a/functest/opnfv_tests/openstack/vping/vping_ssh.py
+++ b/functest/opnfv_tests/openstack/vping/vping_ssh.py
@@ -119,8 +119,8 @@ class VPingSSH(vping_base.VPingBase):
def transfer_ping_script(self, ssh, floatip):
self.logger.info("Trying to transfer ping.sh to %s..." % floatip)
scp = SCPClient(ssh.get_transport())
-
- ping_script = os.path.join(self.repo, "ping.sh")
+ local_path = self.functest_repo + "/" + self.repo
+ ping_script = os.path.join(local_path, "ping.sh")
try:
scp.put(ping_script, "~/")
except: