X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/0406a3a7a417066afec39466ca922e94d3cccb81..043ef55b227146d2482859c66573b3229042ee75:/testsuite/duplicates.test diff --git a/testsuite/duplicates.test b/testsuite/duplicates.test index a81fe687..0459416f 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" @@ -49,5 +44,5 @@ then 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