From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> Date: Tue, 25 Mar 2008 14:29:30 +0000 (+0000) Subject: 5th X-Git-Tag: tests-4.2-4~173 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=acacb3771dcbad60f49cc9b75ac3c04335b8da3f;p=tests.git 5th --- diff --git a/system/TestSsh.py b/system/TestSsh.py index 71e80f9..86bb28e 100644 --- a/system/TestSsh.py +++ b/system/TestSsh.py @@ -81,7 +81,7 @@ class TestSsh: if recursive: command += "-r " if self.caller.key: command += "-i %s.rsa " - command +="%s %s:%s/%s"%(local_file,self.hostname(),self.buildname, + command +="%s %s:%s/%s"%(local_file,self.hostname(),self.buildname(), os.path.basename(local_file) or ".") return utils.system(command)