summaryrefslogtreecommitdiff
path: root/testsuite/daemon-gzip-upload.test
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-05-18 00:41:51 +0000
committerWayne Davison <wayned@samba.org>2004-05-18 00:41:51 +0000
commitf98cc5685d5b396fd58733bb14e7a6292ca14c00 (patch)
tree20709eff6678569d6e302489f8a887ae5cc08be4 /testsuite/daemon-gzip-upload.test
parent9135621ff9733130d48dfaabb961a7869948a9ef (diff)
downloadrsync-f98cc5685d5b396fd58733bb14e7a6292ca14c00.tar.gz
Test that a config-file-specified exclude works right.
Diffstat (limited to 'testsuite/daemon-gzip-upload.test')
-rw-r--r--testsuite/daemon-gzip-upload.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/testsuite/daemon-gzip-upload.test b/testsuite/daemon-gzip-upload.test
index ec0840d3..49a7b1ae 100644
--- a/testsuite/daemon-gzip-upload.test
+++ b/testsuite/daemon-gzip-upload.test
@@ -21,7 +21,11 @@ RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon"
export RSYNC_CONNECT_PROG
hands_setup
-checkit "$RSYNC -avvvvz \"$FROM/\" localhost::test-to/" "$FROM" "$TO"
+
+# Build chkdir with a normal rsync and an --exclude.
+$RSYNC -av --exclude=foobar.baz "$fromdir/" "$chkdir/"
+
+checkit "$RSYNC -avvvvz \"$fromdir/\" localhost::test-to/" "$chkdir" "$todir"
# The script would have aborted on error, so getting here means we've won.
exit 0