From: grev Date: Tue, 18 Sep 2007 16:20:43 +0000 (+0000) Subject: b=12900 X-Git-Tag: v1_7_0_51~727 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=0aed0552a0e1832fa3f1508b5c0033d95c534d72;p=fs%2Flustre-release.git b=12900 i=Adilger export DIR2 tdir --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 36be2e3..dbf0979 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -57,6 +57,7 @@ init_test_env() { export LGSSD=${LGSSD:-"$LUSTRE/utils/gss/lgssd"} export LSVCGSSD=${LSVCGSSD:-"$LUSTRE/utils/gss/lsvcgssd"} export KRB5DIR=${KRB5DIR:-"/usr/kerberos"} + export DIR2 if [ "$ACCEPTOR_PORT" ]; then export PORT_OPT="--port $ACCEPTOR_PORT" @@ -1115,7 +1116,7 @@ run_one() { testnum=$1 message=$2 tfile=f${testnum} - tdir=d${base} + export tdir=d${base} BEFORE=`date +%s` log "== test $testnum: $message ============ `date +%H:%M:%S` ($BEFORE)" @@ -1128,6 +1129,7 @@ run_one() { error "LBUG/LASSERT detected" pass "($((`date +%s` - $BEFORE))s)" unset TESTNAME + unset tdir cd $SAVE_PWD $CLEANUP }