Fixed a problem with the test code and enabled it (since rsync's
authorWayne Davison <wayned@samba.org>
Tue, 22 Apr 2003 00:25:05 +0000 (00:25 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 22 Apr 2003 00:25:05 +0000 (00:25 +0000)
duplicate-elimination code is now fixed).

testsuite/duplicates.test

index 9e47c70..54c3a06 100644 (file)
@@ -21,8 +21,6 @@
 
 . $srcdir/testsuite/rsync.fns
 
-test_skipped "Known minor bug in this code"
-
 set -x
 
 # Build some hardlinks
@@ -46,7 +44,7 @@ if [ `grep -c '^name1$' "$outfile"` != 1 ]
 then
     test_xfail "name1 was not copied exactly once"
 fi
-if [ `grep -c '^name2$' "$outfile"` != 1 ]
+if [ `grep -c '^name2 -> ' "$outfile"` != 1 ]
 then
     test_xfail "name2 was not copied exactly once"
 fi