Add --force to rsync command in ssh_host.py. This should avoid errors
extracting symlinks over existing directories.
From: Steve Howard <showard@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1169 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/hosts/ssh_host.py b/server/hosts/ssh_host.py
index 158b157..b9517b0 100644
--- a/server/hosts/ssh_host.py
+++ b/server/hosts/ssh_host.py
@@ -553,7 +553,7 @@
self.user, self.hostname,
utils.scp_remote_escape(dest))
try:
- utils.run('rsync --rsh="%s" -az %s %s' % (
+ utils.run('rsync --force --rsh="%s" -az %s %s' % (
self.ssh_base_command(), " ".join(processed_source),
remote_dest))
except: