Fix the parsing of the --version capabilities.

This commit is contained in:
Wayne Davison committed 2020-05-25 23:42:51 -07:00
1 parent 8ad2ca9ae2
commit 96ed96dabd
6 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
. $suitedir/rsync.fns
$RSYNC --version | grep ", ACLs" >/dev/null || test_skipped "Rsync is configured without ACL support"
$RSYNC --version | grep "[, ] ACLs" >/dev/null || test_skipped "Rsync is configured without ACL support"
makepath "$fromdir/foo"
echo something >"$fromdir/file1"
+1 -1
View 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 --version | grep "[, ] xattrs" >/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
+1 -1
View File
@@ -7,7 +7,7 @@
. $suitedir/rsync.fns
$RSYNC --version | grep ", ACLs" >/dev/null || test_skipped "Rsync is configured without ACL support"
$RSYNC --version | grep "[, ] ACLs" >/dev/null || test_skipped "Rsync is configured without ACL support"
case "$setfacl_nodef" in
true) test_skipped "I don't know how to use your setfacl command" ;;
+1 -1
View File
@@ -16,7 +16,7 @@ outfile="$scratchdir/rsync.out"
case $0 in
*fake*)
$RSYNC --version | grep ", xattrs" >/dev/null || test_skipped "Rsync needs xattrs for fake device tests"
$RSYNC --version | grep "[, ] xattrs" >/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
+1 -1
View File
@@ -40,7 +40,7 @@ case "$RSYNC" in
T=.T
;;
*)
if $RSYNC --version | grep ", symtimes" >/dev/null; then
if $RSYNC --version | grep "[, ] symtimes" >/dev/null; then
T=.t
else
T=.T
+1 -1
View File
@@ -8,7 +8,7 @@
. $suitedir/rsync.fns
lnkdir="$tmpdir/lnk"
$RSYNC --version | grep ", xattrs" >/dev/null || test_skipped "Rsync is configured without xattr support"
$RSYNC --version | grep "[, ] xattrs" >/dev/null || test_skipped "Rsync is configured without xattr support"
case "$HOST_OS" in
darwin*)