summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-09-21 14:05:45 +0000
committerJim Meyering <jim@meyering.net>2005-09-21 14:05:45 +0000
commita559a194054ea097fd40276c37f3e383583839b4 (patch)
tree89e78ec9de90468c1efffd50cbd89c54899cd4ed /tests
parent7ac0294e289b7b02dbe79603b6e1a73be1da2bfb (diff)
downloadcoreutils-a559a194054ea097fd40276c37f3e383583839b4.tar.xz
Require that this test be run as non-root.
Otherwise, it fails due to the fact that the chmod 0 . doesn't affect root.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/install/basic-13
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/install/basic-1 b/tests/install/basic-1
index 4acce38d1..0fdb43953 100755
--- a/tests/install/basic-1
+++ b/tests/install/basic-1
@@ -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