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 (from parent 1:
1df395f
)
Improved the trailing comment.
author
Wayne Davison
<wayned@samba.org>
Wed, 4 Feb 2004 18:24:41 +0000
(18:24 +0000)
committer
Wayne Davison
<wayned@samba.org>
Wed, 4 Feb 2004 18:24:41 +0000
(18:24 +0000)
14 files changed:
testsuite/chgrp.test
patch
|
blob
|
blame
|
history
testsuite/chown.test
patch
|
blob
|
blame
|
history
testsuite/daemon-gzip-download.test
patch
|
blob
|
blame
|
history
testsuite/daemon-gzip-upload.test
patch
|
blob
|
blame
|
history
testsuite/devices.test
patch
|
blob
|
blame
|
history
testsuite/duplicates.test
patch
|
blob
|
blame
|
history
testsuite/exclude.test
patch
|
blob
|
blame
|
history
testsuite/hands.test
patch
|
blob
|
blame
|
history
testsuite/hardlinks.test
patch
|
blob
|
blame
|
history
testsuite/longdir.test
patch
|
blob
|
blame
|
history
testsuite/merge.test
patch
|
blob
|
blame
|
history
testsuite/symlink-ignore.test
patch
|
blob
|
blame
|
history
testsuite/trimslash.test
patch
|
blob
|
blame
|
history
testsuite/wildmatch.test
patch
|
blob
|
blame
|
history
diff --git
a/testsuite/chgrp.test
b/testsuite/chgrp.test
index
f876627
..
0d634fe
100644
(file)
--- a/
testsuite/chgrp.test
+++ b/
testsuite/chgrp.test
@@
-31,4
+31,5
@@
sleep 2
checkit "$RSYNC -rtgvvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
checkit "$RSYNC -rtgvvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
+# The script would have aborted on error, so getting here means we've won.
exit 0
exit 0
diff --git
a/testsuite/chown.test
b/testsuite/chown.test
index
2d58b90
..
2291eca
100644
(file)
--- a/
testsuite/chown.test
+++ b/
testsuite/chown.test
@@
-33,6
+33,5
@@
chgrp 5003 "$name2" || test_skipped "Can't chgrp (probably need root)"
checkit "$RSYNC -aHvv \"$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
-
diff --git
a/testsuite/daemon-gzip-download.test
b/testsuite/daemon-gzip-download.test
index
49d4273
..
e1aae0d
100644
(file)
--- a/
testsuite/daemon-gzip-download.test
+++ b/
testsuite/daemon-gzip-download.test
@@
-28,3
+28,6
@@
export RSYNC_CONNECT_PROG
hands_setup
checkit "$RSYNC -avvvvz localhost::test-from/ \"$TO/\"" "$FROM" "$TO"
hands_setup
checkit "$RSYNC -avvvvz localhost::test-from/ \"$TO/\"" "$FROM" "$TO"
+
+# The script would have aborted on error, so getting here means we've won.
+exit 0
diff --git
a/testsuite/daemon-gzip-upload.test
b/testsuite/daemon-gzip-upload.test
index
4a5c877
..
ec0840d
100644
(file)
--- a/
testsuite/daemon-gzip-upload.test
+++ b/
testsuite/daemon-gzip-upload.test
@@
-22,3
+22,6
@@
export RSYNC_CONNECT_PROG
hands_setup
checkit "$RSYNC -avvvvz \"$FROM/\" localhost::test-to/" "$FROM" "$TO"
hands_setup
checkit "$RSYNC -avvvvz \"$FROM/\" localhost::test-to/" "$FROM" "$TO"
+
+# The script would have aborted on error, so getting here means we've won.
+exit 0
diff --git
a/testsuite/devices.test
b/testsuite/devices.test
index
70f4f94
..
7b4577e
100644
(file)
--- a/
testsuite/devices.test
+++ b/
testsuite/devices.test
@@
-26,6
+26,5
@@
mknod "$fromdir/block3" b 105 73 || test_skipped "Can't create block device node
checkit "$RSYNC -aHvv \"$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
-
diff --git
a/testsuite/duplicates.test
b/testsuite/duplicates.test
index
a81fe68
..
9b1a24c
100644
(file)
--- a/
testsuite/duplicates.test
+++ b/
testsuite/duplicates.test
@@
-49,5
+49,5
@@
then
test_fail "name2 was not copied exactly once"
fi
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
exit 0
-# last [] may have failed but if we get here then we've won
diff --git
a/testsuite/exclude.test
b/testsuite/exclude.test
index
1e4aa89
..
798819a
100644
(file)
--- a/
testsuite/exclude.test
+++ b/
testsuite/exclude.test
@@
-72,4
+72,5
@@
$RSYNC -av --existing --include='*/' --exclude='*' "$fromdir/" "$chkdir/"
checkit "$RSYNC -avv --exclude-from=$excl \"$fromdir/\" \"$todir/\"" "$chkdir" "$todir"
checkit "$RSYNC -avv --exclude-from=$excl \"$fromdir/\" \"$todir/\"" "$chkdir" "$todir"
+# The script would have aborted on error, so getting here means we've won.
exit 0
exit 0
diff --git
a/testsuite/hands.test
b/testsuite/hands.test
index
89dd4b8
..
4430c2a
100644
(file)
--- a/
testsuite/hands.test
+++ b/
testsuite/hands.test
@@
-25,4
+25,5
@@
runtest "extra data" 'checkit "$RSYNC -avH ${FROM}/ ${TO}" ${FROM}/ ${TO}'
cp ${FROM}/text ${TO}/ThisShouldGo
runtest " --delete" 'checkit "$RSYNC --delete -avH ${FROM}/ ${TO}" ${FROM}/ ${TO}'
cp ${FROM}/text ${TO}/ThisShouldGo
runtest " --delete" 'checkit "$RSYNC --delete -avH ${FROM}/ ${TO}" ${FROM}/ ${TO}'
+# The script would have aborted on error, so getting here means we've won.
exit 0
exit 0
diff --git
a/testsuite/hardlinks.test
b/testsuite/hardlinks.test
index
025974d
..
a3391c5
100644
(file)
--- a/
testsuite/hardlinks.test
+++ b/
testsuite/hardlinks.test
@@
-33,6
+33,5
@@
cp "$name2" "$name4" || fail "Can't copy file"
checkit "$RSYNC -aHvv \"$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
-
diff --git
a/testsuite/longdir.test
b/testsuite/longdir.test
index
b48a09e
..
e54c1c0
100644
(file)
--- a/
testsuite/longdir.test
+++ b/
testsuite/longdir.test
@@
-19,3
+19,6
@@
touch $LONGDIR/1 || test_skipped "unable to create files in long directory"
date > ${LONGDIR}/1
ls -la / > ${LONGDIR}/2
checkit "$RSYNC --delete -avH ${FROM}/ ${TO}" ${FROM}/ ${TO}
date > ${LONGDIR}/1
ls -la / > ${LONGDIR}/2
checkit "$RSYNC --delete -avH ${FROM}/ ${TO}" ${FROM}/ ${TO}
+
+# The script would have aborted on error, so getting here means we've won.
+exit 0
diff --git
a/testsuite/merge.test
b/testsuite/merge.test
index
36f83bc
..
73b2b82
100644
(file)
--- a/
testsuite/merge.test
+++ b/
testsuite/merge.test
@@
-47,4
+47,5
@@
touch "$fromdir"? "$chkdir" "$fromdir"?/sub? "$chkdir"/sub?
checkit "$RSYNC -aHvv \"$fromdir\"?/ \"$todir/\"" "$chkdir" "$todir"
checkit "$RSYNC -aHvv \"$fromdir\"?/ \"$todir/\"" "$chkdir" "$todir"
+# The script would have aborted on error, so getting here means we've won.
exit 0
exit 0
diff --git
a/testsuite/symlink-ignore.test
b/testsuite/symlink-ignore.test
index
486ca80
..
3f35021
100644
(file)
--- a/
testsuite/symlink-ignore.test
+++ b/
testsuite/symlink-ignore.test
@@
-35,6
+35,5
@@
then
test_fail "absolute symlink was copied"
fi
test_fail "absolute symlink was copied"
fi
+# 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 one
-
diff --git
a/testsuite/trimslash.test
b/testsuite/trimslash.test
index
a22906a
..
4eac9ce
100644
(file)
--- a/
testsuite/trimslash.test
+++ b/
testsuite/trimslash.test
@@
-24,4
+24,5
@@
diff $diffopt "$scratchdir/slash.out" - <<EOF
/Users/Wierd Macintosh Name/// Ooh, translucent plastic
EOF
/Users/Wierd Macintosh Name/// Ooh, translucent plastic
EOF
+# The script would have aborted on error, so getting here means we've won.
exit 0
exit 0
diff --git
a/testsuite/wildmatch.test
b/testsuite/wildmatch.test
index
8c67506
..
53123f4
100644
(file)
--- a/
testsuite/wildmatch.test
+++ b/
testsuite/wildmatch.test
@@
-16,4
+16,5
@@
diff $diffopt "$scratchdir/wild.out" - <<EOF
No wildmatch errors found.
EOF
No wildmatch errors found.
EOF
+# The script would have aborted on error, so getting here means we've won.
exit 0
exit 0