diff options
-rw-r--r-- | tests/group-names | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/group-names b/tests/group-names index 2bd22b42d..ad4d0abd4 100644 --- a/tests/group-names +++ b/tests/group-names @@ -2,16 +2,17 @@ # Set `groups' to a space-separated list of at least two groups of which # the user is a member. -groups=${FETISH_GROUPS-`(id -G || /usr/xpg4/bin/id -G) 2>/dev/null`} +groups=${COREUTILS_GROUPS-`(id -G || /usr/xpg4/bin/id -G) 2>/dev/null`} case "$groups" in *' '*) ;; *) cat <<EOF 1>&2 $0: this test requires that you be a member of more than one group, -but running \`id -nG' either failed or found just one. If you really -are a member of at least two group, then rerun this test with FETISH_GROUPS -set in your environment to the space-separated list of names. E.g., +but running \`id -G' either failed or found just one. If you really +are a member of at least two groups, then rerun this test with +COREUTILS_GROUPS set in your environment to the space-separated list +of group names or numbers. E.g., - env FETISH_GROUPS='users cdrom' make check + env COREUTILS_GROUPS='users cdrom' make check EOF (exit 77); exit 77 |