From: Landen Date: Tue, 30 Mar 2010 19:00:30 +0000 (-0700) Subject: b=21888 print more information in the test of simul X-Git-Tag: 1.10.0.39~15 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=7d064eac04eb5d74fd82a422fe5bd33a167f8be8 b=21888 print more information in the test of simul It may just be caused by a test that should prolong the time of testing. Using this patch to add debug information. i=grev i=rebert.read --- diff --git a/lustre/tests/functions.sh b/lustre/tests/functions.sh index 9442145..859802b 100644 --- a/lustre/tests/functions.sh +++ b/lustre/tests/functions.sh @@ -182,13 +182,12 @@ mpi_run () { ls -ald $MOUNT echo "+ $command" - eval $command 2>&1 > $mpilog || true + eval $command 2>&1 | tee $mpilog || true rc=${PIPESTATUS[0]} if [ $rc -eq 0 ] && grep -q "p4_error: : [^0]" $mpilog ; then rc=1 fi - cat $mpilog return $rc }