From bbc027cf8bc69cc29a3242283341ed2430a217fc Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 16 Dec 2000 09:19:34 +0000 Subject: [PATCH] *** empty log message *** --- tests/group-names | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/group-names diff --git a/tests/group-names b/tests/group-names new file mode 100644 index 0000000000..ee1e5b94d4 --- /dev/null +++ b/tests/group-names @@ -0,0 +1,19 @@ +# -*- sh -*- +# Set `groups' to a space-separated list of at least two groups of which +# the user is a member. + +groups=${FETISH_GROUPS-`id -nG 2>/dev/null`} +case "$groups" in + *' '*) ;; + *) cat <&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., + + env FETISH_GROUPS='users cdrom' make check + +EOF + (exit 77); exit + ;; +esac -- 2.47.3