From: Thierry Parmentelat Date: Sun, 6 Apr 2008 10:21:00 +0000 (+0000) Subject: pass sh options to scp as well X-Git-Tag: tests-4.2-4~84 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=cf7a5edcb09735c328e5714370ebebcc200f5170;p=tests.git pass sh options to scp as well --- diff --git a/system/TestSsh.py b/system/TestSsh.py index b4cc398..23d9541 100644 --- a/system/TestSsh.py +++ b/system/TestSsh.py @@ -121,6 +121,7 @@ class TestSsh: return 0 self.create_buildname_once() scp_command="scp " + scp_command += TestSh.std_options if recursive: scp_command += "-r " scp_command += self.key_part() scp_command += "%s %s:%s/%s"%(local_file,self.hostname_part(), @@ -134,6 +135,7 @@ class TestSsh: command += "%s %s"%(remote_file,local_file) else: command="scp " + command += TestSh.std_options if recursive: command += "-r " command += self.key_part() command += "%s:%s/%s %s"%(self.hostname_part(),self.buildname,remote_file,local_file)