]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make sure that stderr redirection works both with bash and tcsh.
authorBart Van Assche <bvanassche@acm.org>
Wed, 10 Sep 2008 09:07:52 +0000 (09:07 +0000)
committerBart Van Assche <bvanassche@acm.org>
Wed, 10 Sep 2008 09:07:52 +0000 (09:07 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8597

nightly/conf/georgia-tech-cellbuzz.conf

index 8a23ce947cc1e4d6e64322645213ab550e71812f..9561b37fead407d1a11f6f93e722d69106895ee4 100644 (file)
@@ -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 ]