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>
# 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"