Also block running tests as root.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10487
7a7537e8-13f0-0310-91df-
b6672ffda945
dst=""
dir_arg=""
-function gzipcp {
+gzipcp() {
# gzipcp from to
$gzipprog -9 <"$1" >"$2"
}
argcount=$#
+#
+# Don't allow "make check" or "make test" to be run by root...
+#
+
+if test "x`id -u`" = x0; then
+ echo Please run this as a normal user. Not supported when run as root.
+ exit 1
+fi
+
+#
+# Force the permissions of the files we create...
+#
+
+umask 2
+
#
# Make the IPP test program...
#