From: Thierry Parmentelat Date: Tue, 25 Mar 2008 14:53:33 +0000 (+0000) Subject: better give the hostname to ssh X-Git-Tag: tests-4.2-4~171 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=a712c02ba5ebce19a5634c9f8f681418ec25a157;p=tests.git better give the hostname to ssh --- diff --git a/system/TestSsh.py b/system/TestSsh.py index 0e9495d..4e1698b 100644 --- a/system/TestSsh.py +++ b/system/TestSsh.py @@ -75,7 +75,9 @@ class TestSsh: ssh_command="ssh " if self.caller.key: ssh_command += "-i %s.rsa "%(self.caller.key) - ssh_command += "%s/%s"%(self.buildname,TestSsh.backslash_shell_specials(command)) + ssh_command += "`%s %s/%s"%(self.hostname(), + self.buildname, + TestSsh.backslash_shell_specials(command)) return utils.system(ssh_command) def copy (self,local_file,recursive=False):