summaryrefslogtreecommitdiff
path: root/testsuite/itemize.test
diff options
context:
space:
mode:
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