diff options
author | Wayne Davison <wayned@samba.org> | 2008-02-09 21:30:49 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2008-02-09 21:30:49 -0800 |
commit | 2d8f9b1df01e5919c8331f1eb84e80532252f72c (patch) | |
tree | 021d59690800401245cc8f034c6c23e53cdb01dd /testsuite/batch-mode.test | |
parent | 68f1e7e594a062e25f1bee295b75a928b72f64d8 (diff) | |
download | android_external_rsync-2d8f9b1df01e5919c8331f1eb84e80532252f72c.tar.gz android_external_rsync-2d8f9b1df01e5919c8331f1eb84e80532252f72c.tar.bz2 android_external_rsync-2d8f9b1df01e5919c8331f1eb84e80532252f72c.zip |
Ignore exit-code 23 when we expect a daemon-excluded file to be excluded.
Diffstat (limited to 'testsuite/batch-mode.test')
-rw-r--r-- | testsuite/batch-mode.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/batch-mode.test b/testsuite/batch-mode.test index 01df67f8..6b32ca54 100644 --- a/testsuite/batch-mode.test +++ b/testsuite/batch-mode.test @@ -43,7 +43,7 @@ runtest "BATCH.sh use of --read-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 "$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 |