Use $suitedir to find rsync.fns.
[rsync/rsync.git] / testsuite / hardlinks.test
index 025974d..31005e7 100644 (file)
@@ -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
 
@@ -33,6 +33,5 @@ cp "$name2" "$name4" || fail "Can't copy file"
 
 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
-