diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-10-30 21:44:53 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-10-30 21:44:53 +0000 |
commit | d9b19cac6082a4c6c5327b5009e638053d82b4c4 (patch) | |
tree | b2d164b538f052ddc4408a1bd86ef40209c5aad7 /tests/mkdir/p-3 | |
parent | 9c9083d9a73d97c41f422a386d89c48690ea101f (diff) | |
download | coreutils-d9b19cac6082a4c6c5327b5009e638053d82b4c4.tar.xz |
Require that the test be run as non-root.
Diffstat (limited to 'tests/mkdir/p-3')
-rwxr-xr-x | tests/mkdir/p-3 | 2 |
1 files changed, 2 insertions, 0 deletions
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 |