Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Document --max-size.
[rsync/rsync.git]
/
testsuite
/
hardlinks.test
diff --git
a/testsuite/hardlinks.test
b/testsuite/hardlinks.test
index
5cdc78f
..
31005e7
100644
(file)
--- 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.
# specify -H, then hard links are detected and recreated as hardlinks
# on the other end.
-.
$srcdir/testsuite/rsync.fns
+.
"$suitedir/rsync.fns"
set -x
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"
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
exit 0
-# last [] may have failed but if we get here then we've won
-