Allow $RSYNC_TEST_TMP to indicate a good tmp dir for our tests.
[rsync/rsync.git] / testsuite / chown.test
index 609ba92..d2908d7 100644 (file)
@@ -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,6 +36,7 @@ case $0 in
     esac
     ;;
 *)
+    RSYNC="$RSYNC --super"
     case `id -u` in
     '') ;; # If "id" failed, try to continue...
     0)  ;;