[Pkg-owncloud-commits] [owncloud-client] 248/332: t2.pl Fix the test testing that moving a file that was just added do not create duplicate

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Aug 14 21:07:07 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 f1ad82d0bafadab233cdbd1c5120ee799d59f4bc
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Tue Jul 29 13:58:21 2014 +0200

    t2.pl   Fix the test testing that moving a file that was just added do not create duplicate
---
 csync/tests/ownCloud/t2.pl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/csync/tests/ownCloud/t2.pl b/csync/tests/ownCloud/t2.pl
index 4b68a04..9b372b6 100755
--- a/csync/tests/ownCloud/t2.pl
+++ b/csync/tests/ownCloud/t2.pl
@@ -208,11 +208,11 @@ $inode = getInode('superNewDir/f3');
 csync();
 assertLocalAndRemoteDir( '', 1);
 my $file = localDir() . 'superNewDir';
-assert( -e $file );
+assert( ! -e $file );
 
-$inode2 = getInode('superNewDir/f3');
+$inode2 = getInode('superNewDirRenamed/f3');
 assert( $inode == $inode2, "Inode of f3 changed");
-$inode2 = getInode('superNewDir');
+$inode2 = getInode('superNewDirRenamed');
 assert( $superNewDirInode == $inode2, "Inode of superNewDir changed");
 
 cleanup();

-- 
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