From 9a4839a465262580628d7c4d9a3db2034f79472e Mon Sep 17 00:00:00 2001 From: brian Date: Thu, 24 Jun 2004 22:09:42 +0000 Subject: [PATCH] Print df's return status in test_0. --- lustre/tests/insanity.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/tests/insanity.sh b/lustre/tests/insanity.sh index 9c05b27..c52e245 100755 --- a/lustre/tests/insanity.sh +++ b/lustre/tests/insanity.sh @@ -232,17 +232,17 @@ test_0() { echo "Failover MDS" facet_failover mds echo "Waiting for df pid: $DFPID" - wait $DFPID || return 1 + wait $DFPID || echo "df returned $?" && return 1 echo "Failing OST1" facet_failover ost1 echo "Waiting for df pid: $DFPID" - wait $DFPID || return 2 + wait $DFPID || echo "df returned $?" && return 2 echo "Failing OST2" facet_failover ost2 echo "Waiting for df pid: $DFPID" - wait $DFPID || return 3 + wait $DFPID || echo "df returned $?" && return 3 return 0 } run_test 0 "Fail all nodes, independently" -- 1.8.3.1