# Setup users and groups for running the POSIX test suite.
setup_posix_users() {
local node=${1:-$HOSTNAME}
- local gid=$GROUP_ID
+ # consistent with install.sh in LSB Test Suite
+ local gid=$((GROUP_ID + 1))
local uid=$USER_ID
local user group
local home
[[ -f $TEST_BIN ]] && rm -f $TEST_BIN
[[ -d $INSTALL_DIR ]] && rm -rf $INSTALL_DIR
- rpm -q byacc > /dev/null || yum -y install byacc
if grep -q " 6." /etc/issue; then
- rpm -q compat-glibc-headers > /dev/null || \
- yum install -y compat-glibc-headers
-
[[ -d /usr/include/bits ]] || mkdir -p /usr/include/bits
[[ -d /usr/include/sys ]] || mkdir -p /usr/include/sys
[[ -s /usr/include/stropts.h ]] || \