From 5ac3cd3e593cc15c3497f27f05ca49c7786f95ad Mon Sep 17 00:00:00 2001 From: grev Date: Mon, 24 Nov 2008 22:07:12 +0000 Subject: [PATCH] b=17747 i=Tappro FAIL_ON_ERROR=false fix: force suits exit 1 if some tests failed --- lustre/tests/replay-vbr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/replay-vbr.sh b/lustre/tests/replay-vbr.sh index 119555b..c0af592 100644 --- a/lustre/tests/replay-vbr.sh +++ b/lustre/tests/replay-vbr.sh @@ -697,4 +697,4 @@ equals_msg `basename $0`: test complete, cleaning up #SLEEP=$((`date +%s` - $NOW)) #[ $SLEEP -lt $TIMEOUT ] && sleep $SLEEP check_and_cleanup_lustre -[ -f "$TESTSUITELOG" ] && cat $TESTSUITELOG || true +[ -f "$TESTSUITELOG" ] && cat $TESTSUITELOG && grep -q FAIL $TESTSUITELOG && exit 1 || true -- 1.8.3.1