From e3921c4727c1d2e9866e0013fd37a7a4d4616621 Mon Sep 17 00:00:00 2001 From: Alex Zhuravlev Date: Mon, 18 Sep 2017 23:17:29 +0300 Subject: [PATCH] LU-9967 tests: run-llog to cleanup properly move ignore_errors so that setup's error is ignored, the script continues with detach command needed to release the module. Change-Id: I899de7a321fa927ca9884a6e4f9e8785bbc46f7c Signed-off-by: Alex Zhuravlev Reviewed-on: https://review.whamcloud.com/29057 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Yang Sheng Reviewed-by: Oleg Drokin --- lustre/tests/run-llog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/run-llog.sh b/lustre/tests/run-llog.sh index edc582f..d8da4fc 100644 --- a/lustre/tests/run-llog.sh +++ b/lustre/tests/run-llog.sh @@ -20,9 +20,9 @@ RC=0 # Using ignore_errors will allow lctl to cleanup even if the test fails. eval "$LCTL <<-EOF || RC=2 attach llog_test llt_name llt_uuid + ignore_errors setup $MGS device llt_name - ignore_errors cleanup detach EOF" -- 1.8.3.1