RUNAS=""
else
RUNAS_ID=${RUNAS_ID:-500}
- RUNAS=${RUNAS:-"runas -u $RUNAS_ID"}
+ if [ -z "$RUNAS_GID" ]; then
+ RUNAS=${RUNAS:-"runas -u $RUNAS_ID"}
+ else
+ RUNAS=${RUNAS:-"runas -u $RUNAS_ID -g $RUNAS_GID"}
+ fi
fi
if [ `using_krb5_sec $SECURITY` == 'y' ] ; then
test_14a() {
mkdir -p $DIR1/d14
cp -p `which multiop` $DIR1/d14/multiop || error "cp failed"
+ sync
$DIR1/d14/multiop $TMP/test14.junk O_c &
MULTIPID=$!
sleep 1