From: brian Date: Fri, 25 Jun 2004 13:06:05 +0000 (+0000) Subject: Fix grouping of commands. X-Git-Tag: v1_8_0_110~486^5~179 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=39b2548b9d28af5556c4b6a201331e936845d96d;p=fs%2Flustre-release.git Fix grouping of commands. --- diff --git a/lustre/tests/insanity.sh b/lustre/tests/insanity.sh index c52e245..ce7cd96 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 || echo "df returned $?" && return 1 + wait $DFPID || { echo "df returned $?" && return 1; } echo "Failing OST1" facet_failover ost1 echo "Waiting for df pid: $DFPID" - wait $DFPID || echo "df returned $?" && return 2 + wait $DFPID || { echo "df returned $?" && return 2; } echo "Failing OST2" facet_failover ost2 echo "Waiting for df pid: $DFPID" - wait $DFPID || echo "df returned $?" && return 3 + wait $DFPID || { echo "df returned $?" && return 3; } return 0 } run_test 0 "Fail all nodes, independently"