aboutsummaryrefslogtreecommitdiffstats
path: root/functest
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-11-29 14:34:33 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2016-11-29 14:34:33 +0100
commit46bdeab0b547045a83d60854a95f83349f17fc96 (patch)
tree31e692e7e4583f38a1510b054edfa782fc7ef368 /functest
parent6f01e0b78169aa58ecaa3310c4717bfe96a05d85 (diff)
bug fix: bad ping.sh path after refactoring
JIRA: FUNCTEST-626 Change-Id: Iaab7de65ae197939f1ef715826ba5a2b2423c205 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'functest')
-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: