Make use of -VV when checking rsync capabilities.
[rsync.git] / testsuite / chown.test
index 5dadb836ccef2c8ff49958f2ddd6528dc139d380..b53413e1e8c1b5a4eba324c4b5767169747896be 100644 (file)
@@ -15,7 +15,7 @@
 
 case $0 in
 *fake*)
-    $RSYNC --version | grep "[, ] xattrs" >/dev/null || test_skipped "Rsync needs xattrs for fake device tests"
+    $RSYNC -VV | grep '"xattrs": true' >/dev/null || test_skipped "Rsync needs xattrs for fake device tests"
     RSYNC="$RSYNC --fake-super"
     TLS_ARGS="$TLS_ARGS --fake-super"
     case "$HOST_OS" in