Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c09ebb8
)
Simplified the newly added test so that it should stop sporadically
author
Wayne Davison
<wayned@samba.org>
Sat, 16 Apr 2005 07:34:49 +0000
(07:34 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 16 Apr 2005 07:34:49 +0000
(07:34 +0000)
failing.
testsuite/hardlinks.test
patch
|
blob
|
blame
|
history
diff --git
a/testsuite/hardlinks.test
b/testsuite/hardlinks.test
index
e44fd45
..
d5e4db9
100644
(file)
--- a/
testsuite/hardlinks.test
+++ b/
testsuite/hardlinks.test
@@
-35,11
+35,9
@@
checkit "$RSYNC -aHivv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
rm -rf "$todir"
# Make sure there's nothing wrong with sending a single file with -H
rm -rf "$todir"
# Make sure there's nothing wrong with sending a single file with -H
-# enabled (this has had a problem twice now, so we need this).
-mkdir "$chkdir"
-cp -p "$name1" "$chkdir"
-$RSYNC -avvi -f '-! */' "$fromdir/" "$chkdir/"
-checkit "$RSYNC -aHivv \"$name1\" \"$todir/\"" "$chkdir" "$todir"
+# enabled (this has broken twice so far, so we need this test).
+$RSYNC -aHivv "$name1" "$todir/"
+diff $diffopt "$name1" "$todir" || test_fail "solo copy of name1 failed"
# The script would have aborted on error, so getting here means we've won.
exit 0
# The script would have aborted on error, so getting here means we've won.
exit 0