X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/06464f55e26e1f26e10c04f4a11a4d85fadbd5f7..9352b0649b8d6aa21d9d567c1d819a0fa26c7b01:/testsuite/duplicates.test diff --git a/testsuite/duplicates.test b/testsuite/duplicates.test index 9e47c70a..9b1a24ce 100644 --- a/testsuite/duplicates.test +++ b/testsuite/duplicates.test @@ -21,8 +21,6 @@ . $srcdir/testsuite/rsync.fns -test_skipped "Known minor bug in this code" - set -x # Build some hardlinks @@ -44,13 +42,12 @@ checkit "$RSYNC -avv \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$ # Make sure each file was only copied once... if [ `grep -c '^name1$' "$outfile"` != 1 ] then - test_xfail "name1 was not copied exactly once" + test_fail "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" + test_fail "name2 was not copied exactly once" fi +# The script would have aborted on error, so getting here means we've won. exit 0 -# last [] may have failed but if we get here then we've won -