From: Bart Van Assche Date: Wed, 10 Sep 2008 09:07:52 +0000 (+0000) Subject: Make sure that stderr redirection works both with bash and tcsh. X-Git-Tag: svn/VALGRIND_3_4_0~261 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ca34a90ece0efaed321062024a3428f26eaaf25;p=thirdparty%2Fvalgrind.git Make sure that stderr redirection works both with bash and tcsh. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8597 --- diff --git a/nightly/conf/georgia-tech-cellbuzz.conf b/nightly/conf/georgia-tech-cellbuzz.conf index 8a23ce947c..9561b37fea 100644 --- a/nightly/conf/georgia-tech-cellbuzz.conf +++ b/nightly/conf/georgia-tech-cellbuzz.conf @@ -10,8 +10,8 @@ ABT_JOBS=3 cellbuzz_run_regtest() { cd valgrind || return $? - VGDIR=$PWD - jobid=`echo "{ cd $VGDIR && perl tests/vg_regtest --all; } >$VGDIR/regtest-output.txt 2>&1" \ + rm -f regtest-output.txt + jobid=`echo "{ cd $PWD && perl tests/vg_regtest --all; } >& $PWD/regtest-output.txt" \ | /usr/pbs/bin/qsub` echo "Job ID = ${jobid}" while [ `/usr/pbs/bin/qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ]