Make sure that stderr redirection works both with bash and tcsh.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8597
This commit is contained in:
Bart Van Assche 2008-09-10 09:07:52 +00:00
parent e9a8202979
commit 8ca34a90ec

View 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 ]