From f45761c7e68f37292bd0ebad2c66bfd954377882 Mon Sep 17 00:00:00 2001 From: grev Date: Mon, 24 Nov 2008 22:07:06 +0000 Subject: [PATCH] b=17747 i=Tappro FAIL_ON_ERROR=false fix: force suits exit 1 if some tests failed --- lustre/tests/insanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/insanity.sh b/lustre/tests/insanity.sh index 9f09554..fbdfd1b 100755 --- a/lustre/tests/insanity.sh +++ b/lustre/tests/insanity.sh @@ -578,4 +578,4 @@ run_test 10 "Running Availability for 6 hours..." 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