mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-08-12 20:09:14 +02:00
Use group-names.
This commit is contained in:
+1
-11
@@ -8,6 +8,7 @@ fi
|
||||
|
||||
. $srcdir/../envvar-check
|
||||
. $srcdir/../lang-default
|
||||
. $srcdir/../group-names
|
||||
|
||||
pwd=`pwd`
|
||||
tmp=basic.$$
|
||||
@@ -25,17 +26,6 @@ fi
|
||||
|
||||
fail=0
|
||||
|
||||
groups=`id -nG 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.
|
||||
EOF
|
||||
(exit 77); exit
|
||||
;;
|
||||
esac
|
||||
|
||||
set _ $groups; shift
|
||||
g1=$1
|
||||
g2=$2
|
||||
|
||||
Reference in New Issue
Block a user