From 6fa4e9da93c2d827769aaeb4af5283567c634d10 Mon Sep 17 00:00:00 2001 From: Elena Gryaznova Date: Thu, 29 Nov 2018 17:27:15 +0300 Subject: [PATCH] LU-11717 tests: exit_status () defect exist_status() should search a word FAIL, otherwise all the tests skipped due to reason which contains FAILOVER_MODE have status = 1 and exited with the error. Test-Parameters: trivial Signed-off-by: Elena Gryaznova Cray-bug-id: LUS-6711 Reviewed-by: Sergey Cheremencev Reviewed-by: Alexander Boyko Change-Id: I5a69e0a4aed6cc8d75d97fe83c6f304b666701ea Reviewed-on: https://review.whamcloud.com/33751 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Alexandr Boyko Reviewed-by: James Nunez Reviewed-by: Oleg Drokin --- lustre/tests/test-framework.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index b344a3b..384b1fb 100755 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -5800,7 +5800,7 @@ exit_status () { local status=0 local log=$TESTSUITELOG - [ -f "$log" ] && grep -q FAIL $log && status=1 + [ -f "$log" ] && grep -qw FAIL $log && status=1 exit $status } -- 1.8.3.1