Whamcloud - gitweb
LU-9967 tests: run-llog to cleanup properly 66/29366/2
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Mon, 18 Sep 2017 20:17:29 +0000 (23:17 +0300)
committerJohn L. Hammond <john.hammond@intel.com>
Wed, 25 Oct 2017 21:52:47 +0000 (21:52 +0000)
move ignore_errors so that setup's error is ignored, the script
continues with detach command needed to release the module.

Lustre-change: https://review.whamcloud.com/29057
Lustre-commit: e3921c4727c1d2e9866e0013fd37a7a4d4616621

Change-Id: I899de7a321fa927ca9884a6e4f9e8785bbc46f7c
Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/29366
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/tests/run-llog.sh

index 7c34dc6..642ac3e 100644 (file)
@@ -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"