Improved the trailing comment.
authorWayne Davison <wayned@samba.org>
Wed, 4 Feb 2004 18:24:41 +0000 (18:24 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 4 Feb 2004 18:24:41 +0000 (18:24 +0000)
14 files changed:
testsuite/chgrp.test
testsuite/chown.test
testsuite/daemon-gzip-download.test
testsuite/daemon-gzip-upload.test
testsuite/devices.test
testsuite/duplicates.test
testsuite/exclude.test
testsuite/hands.test
testsuite/hardlinks.test
testsuite/longdir.test
testsuite/merge.test
testsuite/symlink-ignore.test
testsuite/trimslash.test
testsuite/wildmatch.test

index f87662788afc0c01ee82607625410922cdd1c1d3..0d634fe2b508ba99103933257a101b32c3d7ba7f 100644 (file)
@@ -31,4 +31,5 @@ sleep 2
 
 checkit "$RSYNC -rtgvvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
 
+# The script would have aborted on error, so getting here means we've won.
 exit 0
index 2d58b9022a45d08a874963166f39d4849f3b8307..2291eca52a678be343544577e77af6c88060cd90 100644 (file)
@@ -33,6 +33,5 @@ chgrp 5003 "$name2" || test_skipped "Can't chgrp (probably need root)"
 
 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
-
index 49d4273fc8d12f3ea691ebc058ebdc11f17e8f85..e1aae0d349993425c397ae8c25f0972b3f0636f1 100644 (file)
@@ -28,3 +28,6 @@ export RSYNC_CONNECT_PROG
 
 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
index 4a5c8778d90e17895dcb03fe00d6b6ffa43e08ee..ec0840d33bab8d797cf334bd88a42cad8c3b4d12 100644 (file)
@@ -22,3 +22,6 @@ export RSYNC_CONNECT_PROG
 
 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
index 70f4f9484ce4ca885c60378c4db1e369c9f9305f..7b4577e3a10dec94a4901ca1e20d966213942c66 100644 (file)
@@ -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"
 
+# 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
-
index a81fe6870f87b61311a51fd045bed89517af024b..9b1a24ce30464313bd8e6cacd430edffb0ec2b97 100644 (file)
@@ -49,5 +49,5 @@ then
     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
-# last [] may have failed but if we get here then we've won
index 1e4aa896d57b4d43ca668bb6531c168434c7f0a0..798819ae14a1dc7d3d2918f444f126cb5047f158 100644 (file)
@@ -72,4 +72,5 @@ $RSYNC -av --existing --include='*/' --exclude='*' "$fromdir/" "$chkdir/"
 
 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
index 89dd4b824613ca030e4dd657e3175a5421866299..4430c2a1e1288543c33163a2d2d63a34b8765581 100644 (file)
@@ -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}'
 
+# The script would have aborted on error, so getting here means we've won.
 exit 0
index 025974d79f4ad3b90b3be60b1f14f64d05c6ec5e..a3391c5e8276aa41846d8e2dbdb5f5208a961c27 100644 (file)
@@ -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
-
index b48a09e270d2f9ab2bbe106fce0fc8a634586b5e..e54c1c088207f2420f7ffbe3d81a662d727eee31 100644 (file)
@@ -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}
+
+# The script would have aborted on error, so getting here means we've won.
+exit 0
index 36f83bc66bbd6dc815cffe13bf3f08e616c3ff01..73b2b82d37c97578ae6a7d6c21bcab9cfa18dbe3 100644 (file)
@@ -47,4 +47,5 @@ touch "$fromdir"? "$chkdir" "$fromdir"?/sub? "$chkdir"/sub?
 
 checkit "$RSYNC -aHvv \"$fromdir\"?/ \"$todir/\"" "$chkdir" "$todir"
 
+# The script would have aborted on error, so getting here means we've won.
 exit 0
index 486ca804f5746859d691dfb14b9df7616f5336f5..3f350211e871ecb78ab3149f9cdb8ec95ba5155e 100644 (file)
@@ -35,6 +35,5 @@ then
     test_fail "absolute symlink was copied"
 fi
 
+# 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 one
-
index a22906a3c88eb96e901727666a77d72b2c2a319e..4eac9ce86fb1a15e927932a3ad42bf6e47f48a6d 100644 (file)
@@ -24,4 +24,5 @@ diff $diffopt "$scratchdir/slash.out" - <<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
index 8c67506cbd71d0d90f0f4b008177c048671a867c..53123f47bb3b98a338819471a9fa631a841dfebb 100644 (file)
@@ -16,4 +16,5 @@ diff $diffopt "$scratchdir/wild.out" - <<EOF
 No wildmatch errors found.
 EOF
 
+# The script would have aborted on error, so getting here means we've won.
 exit 0