X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/b3fbe3ce35f9c0f35b9c2f00b3157643255a330d..164faae84f0abf1c9df2f28a09ae8579c86acfa3:/testsuite/chown.test diff --git a/testsuite/chown.test b/testsuite/chown.test index 609ba921..e081d871 100644 --- a/testsuite/chown.test +++ b/testsuite/chown.test @@ -17,7 +17,7 @@ case $0 in *fake*) $RSYNC --version | grep ", xattrs" >/dev/null || test_skipped "Rsync needs xattrs for fake device tests" RSYNC="$RSYNC --fake-super" - TLS_ARGS=--fake-super + TLS_ARGS="$TLS_ARGS --fake-super" case "`xattr 2>&1`" in *--list:*) chown() { @@ -36,7 +36,8 @@ case $0 in esac ;; *) - case `id -u` in + RSYNC="$RSYNC --super" + case `get_testuid` in '') ;; # If "id" failed, try to continue... 0) ;; *) if [ -f /usr/bin/fakeroot ]; then