git://git.onelab.eu
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
first step towards integrating http://svn.planet-lab.org/svn/tests/trunk/qaapi/qa...
[tests.git]
/
system
/
TestSsh.py
diff --git
a/system/TestSsh.py
b/system/TestSsh.py
index
f523843
..
6f11344
100644
(file)
--- a/
system/TestSsh.py
+++ b/
system/TestSsh.py
@@
-140,6
+140,9
@@
class TestSsh:
scp_command += "%s %s%s"%(local_file,dest,remote_file)
return utils.system(scp_command)
scp_command += "%s %s%s"%(local_file,dest,remote_file)
return utils.system(scp_command)
+ def copy_home (self, local_file, recursive=False):
+ return self.copy_abs(local_file,os.path.basename(local_file),recursive)
+
def fetch (self, remote_file, local_file, recursive=False):
if self.is_local():
command="cp "
def fetch (self, remote_file, local_file, recursive=False):
if self.is_local():
command="cp "