From d9b19cac6082a4c6c5327b5009e638053d82b4c4 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 30 Oct 2005 21:44:53 +0000 Subject: Require that the test be run as non-root. --- tests/mkdir/p-3 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/mkdir') diff --git a/tests/mkdir/p-3 b/tests/mkdir/p-3 index 14338dde8..22c9074f2 100755 --- a/tests/mkdir/p-3 +++ b/tests/mkdir/p-3 @@ -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 -- cgit v1.2.3-54-g00ecf