diff options
author | Wayne Davison <wayned@samba.org> | 2004-05-18 00:41:51 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-05-18 00:41:51 +0000 |
commit | f98cc5685d5b396fd58733bb14e7a6292ca14c00 (patch) | |
tree | 20709eff6678569d6e302489f8a887ae5cc08be4 /testsuite/daemon-gzip-download.test | |
parent | 9135621ff9733130d48dfaabb961a7869948a9ef (diff) | |
download | rsync-f98cc5685d5b396fd58733bb14e7a6292ca14c00.tar.gz |
Test that a config-file-specified exclude works right.
Diffstat (limited to 'testsuite/daemon-gzip-download.test')
-rw-r--r-- | testsuite/daemon-gzip-download.test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/testsuite/daemon-gzip-download.test b/testsuite/daemon-gzip-download.test index e1aae0d3..383d8970 100644 --- a/testsuite/daemon-gzip-download.test +++ b/testsuite/daemon-gzip-download.test @@ -27,7 +27,11 @@ RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon" export RSYNC_CONNECT_PROG hands_setup -checkit "$RSYNC -avvvvz localhost::test-from/ \"$TO/\"" "$FROM" "$TO" + +# Build chkdir with a normal rsync and an --exclude. +$RSYNC -av --exclude=foobar.baz "$fromdir/" "$chkdir/" + +checkit "$RSYNC -avvvvz localhost::test-from/ \"$todir/\"" "$chkdir" "$todir" # The script would have aborted on error, so getting here means we've won. exit 0 |