mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-20 12:54:15 -04:00
Fix the parsing of the --version capabilities.
This commit is contained in:
1 parent
8ad2ca9ae2
commit
96ed96dabd
6 files changed
+6
-6
No files matched your search
+1
-1
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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" ;;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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*)
|
||||
|
||||
Reference in new issue
Block a user