summaryrefslogtreecommitdiff
path: root/tests/test-lib.sh
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-05-28 22:36:05 +0200
committerJim Meyering <meyering@redhat.com>2009-06-02 16:34:53 +0200
commitdf356c22ba9a5c21fe1e393593d0669eb6b1426b (patch)
tree4562f800fefd0fdaab0f5cc0160a1c8053cc36e9 /tests/test-lib.sh
parentf9bb168f56361d338b736869a6ac30bbed655d9c (diff)
downloadcoreutils-df356c22ba9a5c21fe1e393593d0669eb6b1426b.tar.xz
tests: use "nobody" as the default group name in chroot test
* tests/test-lib.sh (NON_ROOT_GROUP): Use "nobody", not "nogroup".
Diffstat (limited to 'tests/test-lib.sh')
-rw-r--r--tests/test-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-lib.sh b/tests/test-lib.sh
index a765bd626..e5eed8db6 100644
--- a/tests/test-lib.sh
+++ b/tests/test-lib.sh
@@ -204,7 +204,7 @@ require_root_()
{
uid_is_privileged_ || skip_test_ "must be run as root"
NON_ROOT_USERNAME=${NON_ROOT_USERNAME=nobody}
- NON_ROOT_GROUP=${NON_ROOT_GROUP=nogroup}
+ NON_ROOT_GROUP=${NON_ROOT_GROUP=nobody}
}
skip_if_root_() { uid_is_privileged_ && skip_test_ "must be run as non-root"; }