]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Require that this test be run as non-root.
authorJim Meyering <jim@meyering.net>
Wed, 21 Sep 2005 14:05:45 +0000 (14:05 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 21 Sep 2005 14:05:45 +0000 (14:05 +0000)
Otherwise, it fails due to the fact that the chmod 0 . doesn't
affect root.

tests/install/basic-1

index 4acce38d1536279e3c767be607e926a40035eb38..0fdb43953d2e55d6e952aec921bae9041149ad70 100755 (executable)
@@ -5,6 +5,9 @@ if test "$VERBOSE" = yes; then
   ginstall --version
 fi
 
+. $srcdir/../envvar-check
+PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check
+
 dir=dir
 file=file