$seen{$f."/"} = 3;
}
- $isHere = 1 if( $acceptConflicts && !$isHere && $f =~ /_conflict/ );
+ $isHere = 1 if( $acceptConflicts && !$isHere && $f =~ /conflicted copy/ );
$isHere = 1 if( $f =~ /\.csync/ );
$isHere = 1 if( $f =~ /\._sync_/ );
assert( $isHere, "Filename local, but not remote: $f" );
my $realMD5 = md5OfFile( '/tmp/kernelcrash.txt' );
print "MD5 compare $localMD5 <-> $realMD5\n";
assert( $localMD5 eq $realMD5 );
-assert( glob(localDir().'remoteToLocal1/kernelcrash_conflict-*.txt' ) );
-system("rm " . localDir().'remoteToLocal1/kernelcrash_conflict-*.txt' );
+assert( glob(localDir().'remoteToLocal1/kernelcrash*conflicted*copy*.txt' ) );
+system("rm " . localDir().'remoteToLocal1/kernelcrash*conflicted*copy*.txt' );
# prepare test for issue 1329, rtlX need to be modified
printInfo("Added a file that is on the ignore list");
# (*.directory is in the ignored list that needs cleanup)
-# (it is names with _conflict) because i want the conflicft detection of assertLocalAndRemoteDir to work
-system( "echo dir >> " . localDir() . 'test_stat/file_conflict.directory' );
+# (it is names with conflicted copy) because i want the conflicft detection of assertLocalAndRemoteDir to work
+system( "echo dir >> " . localDir() . 'test_stat/file_conflicted\ copy.directory' );
# this one should retain the directory
-system( "echo foobarfoo > " . localDir() . 'test_ignored/sub/ignored_conflict.part' );
+system( "echo foobarfoo > " . localDir() . 'test_ignored/sub/ignored_conflicted\ copy.part' );
csync();
-# The file_conflict.directory is seen as a conflict
+# The file_conflicted\ copy.directory is seen as a conflict
assertLocalAndRemoteDir( '', 1 );
-# TODO: check that the file_conflict.directory is indeed NOT on the server
-# TODO: check that test_ignored/sub/ignored_conflict.part is NOT on the server
-assert(-e localDir() . 'test_ignored/sub/ignored_conflict.part');
+# TODO: check that the file_conflicted\ copy.directory is indeed NOT on the server
+# TODO: check that test_ignored/sub/ignored_conflicted\ copy.part is NOT on the server
+assert(-e localDir() . 'test_ignored/sub/ignored_conflicted copy.part');
printInfo("Remove a directory containing an ignored file that should not be removed\n");
remoteCleanup('test_ignored');
csync();
-assert(-e localDir() . 'test_ignored/sub/ignored_conflict.part');
+assert(-e localDir() . 'test_ignored/sub/ignored_conflicted copy.part');
#remove the file so next sync allow the directory to be removed
-system( "rm " . localDir() . 'test_ignored/sub/ignored_conflict.part' );
+system( "rm " . localDir() . 'test_ignored/sub/ignored_conflicted\ copy.part' );
printInfo("Remove a directory containing a local file\n");
remoteCleanup('test_stat');