From cf7a5edcb09735c328e5714370ebebcc200f5170 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sun, 6 Apr 2008 10:21:00 +0000 Subject: [PATCH] pass sh options to scp as well --- system/TestSsh.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.43.0