X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/b781537597496326f3c3c20d1d5757ebc42c4f92..e920830ec58994a4a0dff6a699e85ff303962904:/testsuite/hardlinks.test diff --git a/testsuite/hardlinks.test b/testsuite/hardlinks.test index 5cdc78fd..31005e7b 100644 --- a/testsuite/hardlinks.test +++ b/testsuite/hardlinks.test @@ -10,7 +10,7 @@ # specify -H, then hard links are detected and recreated as hardlinks # on the other end. -. $srcdir/testsuite/rsync.fns +. "$suitedir/rsync.fns" set -x @@ -31,8 +31,7 @@ ln "$name1" "$name2" || fail "Can't create hardlink" ln "$name2" "$name3" || fail "Can't create hardlink" cp "$name2" "$name4" || fail "Can't copy file" -checkit "rsync -aH \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir" +checkit "$RSYNC -aHvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir" +# 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 -