diff options
author | Giuseppe Scrivano <gscrivano@gnu.org> | 2009-07-04 10:14:31 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-07-04 10:47:56 +0200 |
commit | 42cd6653b06e63fc36ef3f105fd37de036012e05 (patch) | |
tree | b6de412c8a658a89da1183a148c02f1e26b28e77 /tests/chroot | |
parent | 065ce2436150a59ff9c6a2215e1651faf982ab2c (diff) | |
download | coreutils-42cd6653b06e63fc36ef3f105fd37de036012e05.tar.xz |
tests: use the "nobody" user's group as the default group id
* tests/chroot/credentials: Use the group id, not its name.
* tests/test-lib.sh (NON_ROOT_GROUP): Use the "nobody" user's group in
place of "nogroup".
Diffstat (limited to 'tests/chroot')
-rwxr-xr-x | tests/chroot/credentials | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/chroot/credentials b/tests/chroot/credentials index 58c098f53..f200f14ab 100755 --- a/tests/chroot/credentials +++ b/tests/chroot/credentials @@ -37,7 +37,7 @@ test "$(chroot --userspec=$NON_ROOT_USERNAME:$NON_ROOT_GROUP / whoami)" != root || fail=1 # Verify that there are no additional groups. -test "$(chroot --userspec=$NON_ROOT_USERNAME:$NON_ROOT_GROUP --groups=$NON_ROOT_GROUP / id -nG)"\ +test "$(chroot --userspec=$NON_ROOT_USERNAME:$NON_ROOT_GROUP --groups=$NON_ROOT_GROUP / id -G)"\ = $NON_ROOT_GROUP || fail=1 # Verify that when specifying only the user name we get the current |