git://git.onelab.eu
/
tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5014b22
)
fix qemu-export in dry-run
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Fri, 7 Feb 2014 07:41:40 +0000
(08:41 +0100)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Fri, 7 Feb 2014 07:41:40 +0000
(08:41 +0100)
system/TestSsh.py
patch
|
blob
|
history
diff --git
a/system/TestSsh.py
b/system/TestSsh.py
index
595df8f
..
7448ee7
100644
(file)
--- a/
system/TestSsh.py
+++ b/
system/TestSsh.py
@@
-184,7
+184,8
@@
class TestSsh:
self.fullname(self.buildname),os.path.basename(local_file) or ".")
if dry_run:
utils.header ("DRY RUN TestSsh.copy %s"%scp_command)
- return True
+ # need to be consistent with the non-dry-run mode
+ return 0
return utils.system(scp_command)
def copy_abs (self,local_file,remote_file,recursive=False):