summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2014-04-19 12:11:11 -0700
committerWayne Davison <wayned@samba.org>2014-04-19 12:18:19 -0700
commit22a3ac0b5538ec6c1ff222570413cbdb74fef67b (patch)
treeb19fda9d310b51d5673d53426cf37520c7166ae3 /testsuite
parent1524c2e5c73c6d237f8308afc19186e7656aaa44 (diff)
downloadrsync-22a3ac0b5538ec6c1ff222570413cbdb74fef67b.tar.gz
Add new-style compression that skips matching data.
Adding new-style compression that only compresses the literal data that is sent over the wire and not also matching file data that was not sent. This new-style compression is compatible with external zlib instances, and will eventually become the default (once enough time has passed that all servers support the --new-compress and --old-compress options). NOTE: if you build rsync with an external zlib (i.e. if you specified configure --with-included-zlib=no) you will ONLY get support for the --new-compress option! A client will treat -z as uncompressed (with a warning) and a server will exit with an error (unless -zz was used).
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/daemon-gzip-download.test2
-rw-r--r--testsuite/daemon-gzip-upload.test2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/daemon-gzip-download.test b/testsuite/daemon-gzip-download.test
index 89a112ff..57dd820b 100644
--- a/testsuite/daemon-gzip-download.test
+++ b/testsuite/daemon-gzip-download.test
@@ -31,7 +31,7 @@ hands_setup
# 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"
+checkit "$RSYNC -avvvvzz localhost::test-from/ '$todir/'" "$chkdir" "$todir"
# The script would have aborted on error, so getting here means we've won.
exit 0
diff --git a/testsuite/daemon-gzip-upload.test b/testsuite/daemon-gzip-upload.test
index 11c52bad..b2110ea6 100644
--- a/testsuite/daemon-gzip-upload.test
+++ b/testsuite/daemon-gzip-upload.test
@@ -25,7 +25,7 @@ hands_setup
# Build chkdir with a normal rsync and an --exclude.
$RSYNC -av --exclude=foobar.baz "$fromdir/" "$chkdir/"
-checkit "'$ignore23' $RSYNC -avvvvz '$fromdir/' localhost::test-to/" "$chkdir" "$todir"
+checkit "'$ignore23' $RSYNC -avvvvzz '$fromdir/' localhost::test-to/" "$chkdir" "$todir"
# The script would have aborted on error, so getting here means we've won.
exit 0