From: gaurav mahajan Date: Mon, 9 Feb 2015 12:53:21 +0000 (+0530) Subject: LU-6225 test: test-framework does not cleanup for failed tests X-Git-Tag: 2.7.90~22 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F92%2F13692%2F5;p=fs%2Flustre-release.git LU-6225 test: test-framework does not cleanup for failed tests adding reset_fail_loc to error_noexit() func in test-framework which resets fail_loc and makes sure that the next test will be started with no error injected. Xyratex-bug-id: MRP-2079 Signed-off-by: gaurav mahajan Change-Id: I8cadd21a794d0eb429aee4734d47bd56caf0b8fe Signed-off-by: gaurav mahajan Reviewed-on: http://review.whamcloud.com/13692 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Jian Yu Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 43b17e9..dd649f0 100755 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -4687,6 +4687,9 @@ error_noexit() { echo "$@" > $LOGDIR/err fi fi + + # cleanup the env for failed tests + reset_fail_loc } exit_status () {