From: Wayne Davison Date: Tue, 13 Sep 2011 15:07:31 +0000 (-0700) Subject: Use "|| true" in our `xattr` test runs. X-Git-Tag: v3.1.0pre1~81 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7d7f52ae056ca19590615c2108eb38a840a9b8c;p=thirdparty%2Frsync.git Use "|| true" in our `xattr` test runs. --- diff --git a/testsuite/chown.test b/testsuite/chown.test index e081d871..d238a8fe 100644 --- a/testsuite/chown.test +++ b/testsuite/chown.test @@ -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 diff --git a/testsuite/devices.test b/testsuite/devices.test index bb3ab93d..a85954b1 100644 --- a/testsuite/devices.test +++ b/testsuite/devices.test @@ -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" diff --git a/testsuite/xattrs.test b/testsuite/xattrs.test index 9a145840..c1846df5 100644 --- a/testsuite/xattrs.test +++ b/testsuite/xattrs.test @@ -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"