diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2014-07-29 15:58:21 +0400 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2014-07-29 15:58:21 +0400 |
commit | f1ad82d0bafadab233cdbd1c5120ee799d59f4bc (patch) | |
tree | 53b1be9e240109489c9c66b3df3eaf02a0e25295 /csync | |
parent | 2fb283749c2c0a97642224b80f5453f5cdb0e779 (diff) |
t2.pl Fix the test testing that moving a file that was just added do not create duplicate
Diffstat (limited to 'csync')
-rwxr-xr-x | csync/tests/ownCloud/t2.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/csync/tests/ownCloud/t2.pl b/csync/tests/ownCloud/t2.pl index 4b68a047f..9b372b6aa 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(); |