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
Make the backup code call unsafe_symlink() correctly.
[rsync/rsync.git]
/
testsuite
/
batch-mode.test
diff --git
a/testsuite/batch-mode.test
b/testsuite/batch-mode.test
index
01df67f
..
7f92e48
100644
(file)
--- a/
testsuite/batch-mode.test
+++ b/
testsuite/batch-mode.test
@@
-41,9
+41,11
@@
runtest "--read-batch from daemon" 'checkit "$RSYNC -av --read-batch=BATCH \"$to
rm -rf "$todir"
runtest "BATCH.sh use of --read-batch" 'checkit "./BATCH.sh" "$chkdir" "$todir"'
rm -rf "$todir"
runtest "BATCH.sh use of --read-batch" 'checkit "./BATCH.sh" "$chkdir" "$todir"'
+runtest "do-nothing re-run of batch" 'checkit "./BATCH.sh" "$chkdir" "$todir"'
+
rm -rf "$todir"
mkdir "$todir" || test_fail "failed to restore empty destination directory"
rm -rf "$todir"
mkdir "$todir" || test_fail "failed to restore empty destination directory"
-runtest "daemon recv --write-batch" 'checkit "$RSYNC -av --write-batch=BATCH \"$fromdir/\" rsync://localhost/test-to" "$chkdir" "$todir"'
+runtest "daemon recv --write-batch" 'checkit "
\"$ignore23\"
$RSYNC -av --write-batch=BATCH \"$fromdir/\" rsync://localhost/test-to" "$chkdir" "$todir"'
# The script would have aborted on error, so getting here means we pass.
exit 0
# The script would have aborted on error, so getting here means we pass.
exit 0