}
run_test 80 "Page eviction is equally fast at high offsets too ===="
-# on the LLNL clusters, runas will still pick up root's $TMP settings,
-# which will not be writable for the runas user, and then you get a CVS
-# error message with a corrupt path string (CVS bug) and panic.
-# We're not using much space, so just stick it in /tmp, which is safe.
-OLDTMPDIR=$TMPDIR
-OLDTMP=$TMP
-TMPDIR=/tmp
-TMP=/tmp
-OLDHOME=$HOME
-[ $RUNAS_ID -ne $UID ] && HOME=/tmp
-
test_99a() {
mkdir -p $DIR/d99cvsroot
chown $RUNAS_ID $DIR/d99cvsroot
+ local oldPWD=$PWD # bug 13584, use $TMP as working dir
+ cd $TMP
+
$RUNAS cvs -d $DIR/d99cvsroot init || error
+ cd $oldPWD
}
run_test 99a "cvs init ========================================="
}
run_test 212 "Sendfile test ============================================"
-TMPDIR=$OLDTMPDIR
-TMP=$OLDTMP
-HOME=$OLDHOME
-
log "cleanup: ======================================================"
check_and_cleanup_lustre
if [ "$I_MOUNTED" != "yes" ]; then