From 39b2548b9d28af5556c4b6a201331e936845d96d Mon Sep 17 00:00:00 2001 From: brian Date: Fri, 25 Jun 2004 13:06:05 +0000 Subject: [PATCH] Fix grouping of commands. --- 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 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" -- 1.8.3.1