Whamcloud - gitweb
b=22215 mpi_run (): p4_error fix
authorElena Gryaznova <grev@sun.com>
Tue, 11 May 2010 11:24:08 +0000 (15:24 +0400)
committerjohann <johann@granier.local>
Mon, 17 May 2010 07:07:15 +0000 (09:07 +0200)
i=Brian.Murrell

lustre/tests/functions.sh

index dcffde0..7c099ae 100644 (file)
@@ -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