From 3b0d9c575495cd9a3e7d4c12b422a85ad88d7b09 Mon Sep 17 00:00:00 2001 From: Landen Date: Tue, 4 May 2010 08:06:39 +0800 Subject: [PATCH] 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 --- lustre/tests/functions.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lustre/tests/functions.sh b/lustre/tests/functions.sh index 1dd9ac5..dcffde0 100644 --- a/lustre/tests/functions.sh +++ b/lustre/tests/functions.sh @@ -38,13 +38,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 } -- 1.8.3.1