[Pkg-owncloud-commits] [owncloud-client] 144/211: Fix t3.pl

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 5a109d9293fd0d6d3521af518e349d16936748f9
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Tue Oct 21 12:10:12 2014 +0200

    Fix t3.pl
    
    The fix in commit 86d8079 made the detection of changes inside
    a directory more robust.
    As a result, changes are detected inside a directory, even if the
    files that are changed were moved away on the other remote, the algorithm
    won't let the directory be removed and the directory will be re-created
---
 csync/tests/ownCloud/t3.pl | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/csync/tests/ownCloud/t3.pl b/csync/tests/ownCloud/t3.pl
index 087fb99..a27409e 100755
--- a/csync/tests/ownCloud/t3.pl
+++ b/csync/tests/ownCloud/t3.pl
@@ -91,7 +91,10 @@ assertLocalAndRemoteDir( 'newdir', 0);
 assert( -e localDir().'newdir/rtl1/rtl11/newfile.dat' );
 assert( -e localDir().'newdir/rtl1/rtl11/myfile.txt' );
 assert( ! -e localDir().'newdir/rtl11/test.txt' );
-assert( ! -e localDir().'remoteToLocal1' );
+# BUG!  remoteToLocal1 is not deleted because changes were detected
+#       (even if the changed fileswere moved)
+# assert( ! -e localDir().'remoteToLocal1' );
+assert( ! -e localDir().'remoteToLocal1/rtl1' );
 
 printInfo("Move file and create another one with the same name.");
 move( localDir() . 'newdir/myfile.txt', localDir() . 'newdir/oldfile.txt' );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list