X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/05118158f4f59a5f512e5bab640f253332a6e181..7462c6ac39d86cb8252ec47246569e3ddda35b6a:/testsuite/duplicates.test diff --git a/testsuite/duplicates.test b/testsuite/duplicates.test index 9b1a24ce..3b4ebab0 100644 --- a/testsuite/duplicates.test +++ b/testsuite/duplicates.test @@ -2,7 +2,7 @@ # Copyright (C) 2002 by Martin Pool -# This program is distributable under the terms of the GNU GPL see +# This program is distributable under the terms of the GNU GPL (see # COPYING). # Test rsync handling of duplicate filenames. @@ -19,15 +19,10 @@ # This test is not great, because it is a timing-dependent bug. -. $srcdir/testsuite/rsync.fns - -set -x +. "$suitedir/rsync.fns" # Build some hardlinks -fromdir="$scratchdir/from" -todir="$scratchdir/to" - mkdir "$fromdir" name1="$fromdir/name1" name2="$fromdir/name2" @@ -36,7 +31,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...