Make sure that our protocol-28 compatibility is OK.
[rsync.git] / testsuite / exclude.test
index eda1ec99089294e5712f82a5e30a5ad8bf8ea549..da4c19e3a206dc9ca11860ed5ff0955b3cbba085 100644 (file)
@@ -166,7 +166,7 @@ rm "$chkdir"/bar/down/to/foo/.filt2
 rm "$chkdir"/bar/down/to/bar/.filt2
 rm "$chkdir"/mid/.filt
 
-$RSYNC -av --existing --filter='-! */' "$fromdir/" "$chkdir/"
+$RSYNC -av --protocol=28 --existing --include='*/' --exclude='*' "$fromdir/" "$chkdir/"
 
 # Now, try the prior command with --delete-before and some side-specific
 # rules.