Use the --super option for the non-fake test, just in case a system
authorWayne Davison <wayned@samba.org>
Sat, 28 Apr 2007 23:47:16 +0000 (23:47 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 28 Apr 2007 23:47:16 +0000 (23:47 +0000)
can chown without appearing to be root (uid 0).

testsuite/chown.test

index 609ba92..2898890 100644 (file)
@@ -36,6 +36,7 @@ case $0 in
     esac
     ;;
 *)
     esac
     ;;
 *)
+    RSYNC="$RSYNC --super"
     case `id -u` in
     '') ;; # If "id" failed, try to continue...
     0)  ;;
     case `id -u` in
     '') ;; # If "id" failed, try to continue...
     0)  ;;