test_suite: rmmod at the end of all tests *before* checking the log files for errors.

rmmod could produce some errors which we want to report.
This commit is contained in:
Frank Liepold 2014-04-02 09:16:52 +02:00
parent 2aa9c3373d
commit 5a7c6942ea
2 changed files with 7 additions and 1 deletions

View File

@ -68,7 +68,13 @@ function lib_check_for_kernel_oops_after_start_time
function lib_general_mars_checks_after_every_test
{
local res
echo "================= General checks of error and log files ========================"
resource_kill_all_scripts
for res in ${lv_config_lv_name_list[@]}; do
mount_umount_data_device_all $res
done
cluster_rmmod_mars_all
lib_err_check_and_copy_global_err_files_all
lib_check_proc_sys_mars_variables
lib_check_for_kernel_oops_after_start_time

View File

@ -27,4 +27,4 @@ resize_time_constant_sync=20
## maxtime to wait for sync to stop
resize_maxtime_sync=400
run_list="resize_prepare resize_run lib_general_mars_checks_after_every_test"
run_list="resource_prepare resize_prepare resize_run lib_general_mars_checks_after_every_test"