chgrp --version
fi
+. $srcdir/../group-names
+
pwd=`pwd`
tmp=slink.$$
trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0
(exit 1); exit
fi
-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
chgrp --version
fi
+. $srcdir/../group-names
+
pwd=`pwd`
tmp=slink.$$
trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0
(exit 1); exit
fi
-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