From 8d239ab2b8059460a1925351011afbbe712ae989 Mon Sep 17 00:00:00 2001 From: Elena Gryaznova Date: Wed, 26 May 2010 15:03:21 +0400 Subject: [PATCH] b=22215 mpi_run (): p4_error fix i=Brian.Murrell fail if mpirun output contains p4_error, independently from error message and value --- 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 859802b..4d9ea51 100644 --- a/lustre/tests/functions.sh +++ b/lustre/tests/functions.sh @@ -185,7 +185,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