Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da14e2a
)
b=22215 mpi_run (): p4_error fix
author
Elena Gryaznova
<grev@sun.com>
Wed, 26 May 2010 11:03:21 +0000
(15:03 +0400)
committer
Robert Read
<robert.read@oracle.com>
Wed, 26 May 2010 15:54:01 +0000
(08:54 -0700)
i=Brian.Murrell
fail if mpirun output contains p4_error, independently from error message and value
lustre/tests/functions.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/functions.sh
b/lustre/tests/functions.sh
index
859802b
..
4d9ea51
100644
(file)
--- 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