From: Elena Gryaznova Date: Tue, 11 May 2010 11:24:08 +0000 (+0400) Subject: b=22215 mpi_run (): p4_error fix X-Git-Tag: v1_8_3_51~49 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=04362681656345981e2780a3954132bd4c96041a;p=fs%2Flustre-release.git b=22215 mpi_run (): p4_error fix i=Brian.Murrell --- diff --git a/lustre/tests/functions.sh b/lustre/tests/functions.sh index dcffde0..7c099ae 100644 --- a/lustre/tests/functions.sh +++ b/lustre/tests/functions.sh @@ -41,7 +41,7 @@ mpi_run () { eval $command 2>&1 | tee $mpilog || true rc=${PIPESTATUS[0]} - if [ $rc -eq 0 ] && grep -q "p4_error: : [^0]" $mpilog ; then + if [ $rc -eq 0 ] && grep -q "p4_error:" $mpilog ; then rc=1 fi return $rc