Require that the test be run as non-root.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 30 Oct 2005 21:44:53 +0000 (21:44 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 30 Oct 2005 21:44:53 +0000 (21:44 +0000)
tests/mkdir/p-3

index 14338dd..22c9074 100755 (executable)
@@ -8,6 +8,8 @@ if test "$VERBOSE" = yes; then
   mkdir --version
 fi
 
+PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check
+
 pwd=`pwd`
 t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$
 trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0