Skip to content

Commit

Permalink
Test that a config-file-specified exclude works right.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wayne Davison committed May 18, 2004
1 parent 9135621 commit f98cc56
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion testsuite/daemon-gzip-download.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 5 additions & 1 deletion testsuite/daemon-gzip-upload.test
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f98cc56

Please sign in to comment.