From 04362681656345981e2780a3954132bd4c96041a Mon Sep 17 00:00:00 2001 From: Elena Gryaznova Date: Tue, 11 May 2010 15:24:08 +0400 Subject: [PATCH] b=22215 mpi_run (): p4_error fix i=Brian.Murrell --- lustre/tests/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.8.3.1