diff options
author | Wayne Davison <wayned@samba.org> | 2008-09-23 19:27:14 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2008-09-23 19:31:14 -0700 |
commit | af2dea60336bb6ce4934c21e2274667d293004cc (patch) | |
tree | b4a2bf9aad1968e205538880e8d0e04c42e86de2 /testsuite | |
parent | 7fdb3bdab98bea4d367423c631be9964df7e03a9 (diff) | |
download | android_external_rsync-af2dea60336bb6ce4934c21e2274667d293004cc.tar.gz android_external_rsync-af2dea60336bb6ce4934c21e2274667d293004cc.tar.bz2 android_external_rsync-af2dea60336bb6ce4934c21e2274667d293004cc.zip |
Fixed skipping of unneeded updates in a batch file when
incremental recursion is active. Added test.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/batch-mode.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/batch-mode.test b/testsuite/batch-mode.test index 6b32ca54..7f92e482 100644 --- a/testsuite/batch-mode.test +++ b/testsuite/batch-mode.test @@ -41,6 +41,8 @@ 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"' +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" runtest "daemon recv --write-batch" 'checkit "\"$ignore23\" $RSYNC -av --write-batch=BATCH \"$fromdir/\" rsync://localhost/test-to" "$chkdir" "$todir"' |