]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Use "|| true" in our `xattr` test runs.
authorWayne Davison <wayned@samba.org>
Tue, 13 Sep 2011 15:07:31 +0000 (08:07 -0700)
committerWayne Davison <wayned@samba.org>
Tue, 13 Sep 2011 15:07:31 +0000 (08:07 -0700)
testsuite/chown.test
testsuite/devices.test
testsuite/xattrs.test

index e081d871d4a1e34dc537dca3bf787c6fc0153b11..d238a8fe979e2c50e122a67c4ed17f2491f8889f 100644 (file)
@@ -18,7 +18,7 @@ case $0 in
     $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 "`xattr 2>&1`" in
+    case "`xattr 2>&1 || true`" in
     *--list:*)
        chown() {
            own=$1
index bb3ab93da667fd75f8d2158fdfdffc18dfa43415..a85954b1747d0919daf5ccab7414be938048397e 100644 (file)
@@ -19,7 +19,7 @@ case $0 in
     $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 "`xattr 2>&1`" in
+    case "`xattr 2>&1 || true`" in
     *--list:*)
        mknod() {
            fn="$1"
index 9a145840dde32fd7755be1b7fafe68f51810c520..c1846df5c0fcb206f29573be490d7bc22a379a22 100644 (file)
@@ -10,7 +10,7 @@ lnkdir="$tmpdir/lnk"
 
 $RSYNC --version | grep ", xattrs" >/dev/null || test_skipped "Rsync is configured without xattr support"
 
-case "`xattr 2>&1`" in
+case "`xattr 2>&1 || true`" in
 *--list:*)
     xset() {
        xnam="$1"