diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-01-17 22:40:57 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-01-17 22:40:57 +0000 |
commit | b10a836fa0f27b5f2ef1491c3226681a97ea4072 (patch) | |
tree | 9d6caa09b59c653ec9510bc1c654af131217ada2 /tests/group-names | |
parent | c9946379010854e27a43f63506622dc89a1fb613 (diff) | |
download | coreutils-b10a836fa0f27b5f2ef1491c3226681a97ea4072.tar.xz |
Use numeric group ids, not symbolic group names, to avoid shell quoting issues.
Diffstat (limited to 'tests/group-names')
-rw-r--r-- | tests/group-names | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/group-names b/tests/group-names index 5dae7943a..2bd22b42d 100644 --- a/tests/group-names +++ b/tests/group-names @@ -2,7 +2,7 @@ # Set `groups' to a space-separated list of at least two groups of which # the user is a member. -groups=${FETISH_GROUPS-`(id -nG || /usr/xpg4/bin/id -nG) 2>/dev/null`} +groups=${FETISH_GROUPS-`(id -G || /usr/xpg4/bin/id -G) 2>/dev/null`} case "$groups" in *' '*) ;; *) cat <<EOF 1>&2 |