X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/b31427cd4ad69c359c8f58c492c638e6c330296e..bc3b5b255819230bda8ca80961a7bbaa38a43099:/testsuite/duplicates.test diff --git a/testsuite/duplicates.test b/testsuite/duplicates.test index 6bbcdd35..54c3a06e 100644 --- a/testsuite/duplicates.test +++ b/testsuite/duplicates.test @@ -21,9 +21,6 @@ . $srcdir/testsuite/rsync.fns -echo "SKIP THIS FOR NOW; It's a known bug" -exit 77 - set -x # Build some hardlinks @@ -39,7 +36,7 @@ ln -s "$name1" "$name2" || fail "can't create symlink" outfile="$scratchdir/rsync.out" -checkit "rsync -avv \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir" \ +checkit "$RSYNC -avv \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir" \ | tee "$outfile" # Make sure each file was only copied once... @@ -47,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