aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/vping
diff options
context:
space:
mode:
Diffstat (limited to 'functest/opnfv_tests/openstack/vping')
-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 513ad0ee..48913857 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: