Commit 05118158 authored by Wayne Davison's avatar Wayne Davison

Improved the trailing comment.

parent 1df395f7
...@@ -31,4 +31,5 @@ sleep 2 ...@@ -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
...@@ -33,6 +33,5 @@ chgrp 5003 "$name2" || test_skipped "Can't chgrp (probably need root)" ...@@ -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
...@@ -28,3 +28,6 @@ export RSYNC_CONNECT_PROG ...@@ -28,3 +28,6 @@ export RSYNC_CONNECT_PROG
hands_setup hands_setup
checkit "$RSYNC -avvvvz localhost::test-from/ \"$TO/\"" "$FROM" "$TO" 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
...@@ -22,3 +22,6 @@ export RSYNC_CONNECT_PROG ...@@ -22,3 +22,6 @@ export RSYNC_CONNECT_PROG
hands_setup hands_setup
checkit "$RSYNC -avvvvz \"$FROM/\" localhost::test-to/" "$FROM" "$TO" 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
...@@ -26,6 +26,5 @@ mknod "$fromdir/block3" b 105 73 || test_skipped "Can't create block device node ...@@ -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
...@@ -49,5 +49,5 @@ then ...@@ -49,5 +49,5 @@ then
test_fail "name2 was not copied exactly once" test_fail "name2 was not copied exactly once"
fi 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
...@@ -72,4 +72,5 @@ $RSYNC -av --existing --include='*/' --exclude='*' "$fromdir/" "$chkdir/" ...@@ -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
...@@ -25,4 +25,5 @@ runtest "extra data" 'checkit "$RSYNC -avH ${FROM}/ ${TO}" ${FROM}/ ${TO}' ...@@ -25,4 +25,5 @@ runtest "extra data" 'checkit "$RSYNC -avH ${FROM}/ ${TO}" ${FROM}/ ${TO}'
cp ${FROM}/text ${TO}/ThisShouldGo cp ${FROM}/text ${TO}/ThisShouldGo
runtest " --delete" 'checkit "$RSYNC --delete -avH ${FROM}/ ${TO}" ${FROM}/ ${TO}' 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
...@@ -33,6 +33,5 @@ cp "$name2" "$name4" || fail "Can't copy file" ...@@ -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
...@@ -19,3 +19,6 @@ touch $LONGDIR/1 || test_skipped "unable to create files in long directory" ...@@ -19,3 +19,6 @@ touch $LONGDIR/1 || test_skipped "unable to create files in long directory"
date > ${LONGDIR}/1 date > ${LONGDIR}/1
ls -la / > ${LONGDIR}/2 ls -la / > ${LONGDIR}/2
checkit "$RSYNC --delete -avH ${FROM}/ ${TO}" ${FROM}/ ${TO} checkit "$RSYNC --delete -avH ${FROM}/ ${TO}" ${FROM}/ ${TO}
# The script would have aborted on error, so getting here means we've won.
exit 0
...@@ -47,4 +47,5 @@ touch "$fromdir"? "$chkdir" "$fromdir"?/sub? "$chkdir"/sub? ...@@ -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
...@@ -35,6 +35,5 @@ then ...@@ -35,6 +35,5 @@ then
test_fail "absolute symlink was copied" test_fail "absolute symlink was copied"
fi 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
...@@ -24,4 +24,5 @@ diff $diffopt "$scratchdir/slash.out" - <<EOF ...@@ -24,4 +24,5 @@ diff $diffopt "$scratchdir/slash.out" - <<EOF
/Users/Wierd Macintosh Name/// Ooh, translucent plastic /Users/Wierd Macintosh Name/// Ooh, translucent plastic
EOF EOF
# The script would have aborted on error, so getting here means we've won.
exit 0 exit 0
...@@ -16,4 +16,5 @@ diff $diffopt "$scratchdir/wild.out" - <<EOF ...@@ -16,4 +16,5 @@ diff $diffopt "$scratchdir/wild.out" - <<EOF
No wildmatch errors found. No wildmatch errors found.
EOF EOF
# The script would have aborted on error, so getting here means we've won.
exit 0 exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment