From becff476aef97c06e8d08629dcbb123d4065959e Mon Sep 17 00:00:00 2001 From: tinawang123 Date: Fri, 14 May 2021 13:43:05 +0800 Subject: [PATCH] Add check_os_release test module to migration test Add check_os_release test module to migration test for online migration and offline migration. --- products/sle/main.pm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/products/sle/main.pm b/products/sle/main.pm index 11561333a8d5..2a4488252de6 100644 --- a/products/sle/main.pm +++ b/products/sle/main.pm @@ -480,7 +480,10 @@ sub load_online_migration_tests { loadtest "migration/online_migration/zypper_migration"; } loadtest "migration/online_migration/post_migration"; - loadtest "console/check_system_info" if (is_sle && (get_var('FLAVOR') =~ /Migration/) && (get_var('SCC_ADDONS') !~ /ha/) && !is_sles4sap && (is_upgrade || get_var('MEDIA_UPGRADE'))); + if (is_sle && (get_var('FLAVOR') =~ /Migration/) && (get_var('SCC_ADDONS') !~ /ha/) && !is_sles4sap && (is_upgrade || get_var('MEDIA_UPGRADE'))) { + loadtest "console/check_os_release"; + loadtest "console/check_system_info"; + } } sub load_patching_tests { @@ -1199,7 +1202,10 @@ else { loadtest "console/consoletest_setup"; loadtest 'console/integration_services' if is_hyperv || is_vmware; loadtest "console/zypper_lr"; - loadtest "console/check_system_info" if (is_sle && (get_var('FLAVOR') =~ /Migration/) && (get_var('SCC_ADDONS') !~ /ha/) && !is_sles4sap && (is_upgrade || get_var('MEDIA_UPGRADE'))); + if (is_sle && (get_var('FLAVOR') =~ /Migration/) && (get_var('SCC_ADDONS') !~ /ha/) && !is_sles4sap && (is_upgrade || get_var('MEDIA_UPGRADE'))) { + loadtest "console/check_os_release"; + loadtest "console/check_system_info"; + } } } elsif (get_var("BOOT_HDD_IMAGE") && !is_jeos) {