summaryrefslogtreecommitdiff
path: root/testsuite/itemize.test
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2022-10-20 09:02:28 -0700
committerWayne Davison <wayne@opencoder.net>2022-10-20 09:09:26 -0700
commitebe1af749cf8debca9ca90f09306a67cac9c9d4d (patch)
tree27191cc788e2b086829d2914c627ad0e3383826e /testsuite/itemize.test
parentde6848ed97760de988e2a41af4d66bc4fd0f1995 (diff)
downloadrsync-ebe1af749cf8debca9ca90f09306a67cac9c9d4d.tar.gz
Make use of -VV when checking rsync capabilities.
Diffstat (limited to 'testsuite/itemize.test')
-rw-r--r--testsuite/itemize.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/itemize.test b/testsuite/itemize.test
index 7c29f696..c1c57c59 100644
--- a/testsuite/itemize.test
+++ b/testsuite/itemize.test
@@ -25,7 +25,7 @@ ln "$fromdir/foo/config1" "$fromdir/foo/extra"
rm -f "$to2dir"
# Check if rsync is set to hard-link symlinks.
-if $RSYNC --version | grep "[, ] hardlink-symlinks" >/dev/null; then
+if $RSYNC -VV | grep '"hardlink_symlinks": true' >/dev/null; then
L=hL
sym_dots="$allspace"
L_sym_dots=".L$allspace"
@@ -45,7 +45,7 @@ case "$RSYNC" in
T=.T
;;
*)
- if $RSYNC --version | grep "[, ] symtimes" >/dev/null; then
+ if $RSYNC -VV | grep '"symtimes": true' >/dev/null; then
T=.t
else
T=.T