From 2e0e9913b28fbf3044f3aad8941bb510ab77646b Mon Sep 17 00:00:00 2001 From: grev Date: Mon, 24 Nov 2008 22:07:08 +0000 Subject: [PATCH] b=17747 i=Tappro FAIL_ON_ERROR=false fix: force suits exit 1 if some tests failed --- lustre/tests/recovery-small.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/recovery-small.sh b/lustre/tests/recovery-small.sh index 57eb02b..86cab9f 100755 --- a/lustre/tests/recovery-small.sh +++ b/lustre/tests/recovery-small.sh @@ -974,4 +974,4 @@ run_test 59 "Read cancel race on client eviction" equals_msg `basename $0`: test complete, cleaning up check_and_cleanup_lustre -[ -f "$TESTSUITELOG" ] && cat $TESTSUITELOG || true +[ -f "$TESTSUITELOG" ] && cat $TESTSUITELOG && grep -q FAIL $TESTSUITELOG && exit 1 || true -- 1.8.3.1