Remove syslib and migrate to lib
Changes:
- Move files to lib and rename to align to lib naming
- Update test suites using it.
Tested:
- Test on sandbox with robot --dryrun to make sure
the linkage is not broken.
Change-Id: I586c06dd3c4e544d87d130c3331886016af66437
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/systest/gpu_stress_test.robot b/systest/gpu_stress_test.robot
index c8f52df..ab6d84f 100755
--- a/systest/gpu_stress_test.robot
+++ b/systest/gpu_stress_test.robot
@@ -18,7 +18,7 @@
# continue running after an error was found.
-Resource ../syslib/utils_os.robot
+Resource ../lib/os_utilities.robot
Suite Setup Run Keyword Start SOL Console Logging
Test Setup Test Setup Execution
diff --git a/systest/htx_hardbootme_test.robot b/systest/htx_hardbootme_test.robot
index 753aab9..953441b 100755
--- a/systest/htx_hardbootme_test.robot
+++ b/systest/htx_hardbootme_test.robot
@@ -36,7 +36,7 @@
# optional. If not specified the default value is
# "size".
-Resource ../syslib/utils_os.robot
+Resource ../lib/os_utilities.robot
Resource ../lib/openbmc_ffdc_utils.robot
Resource ../lib/logging_utils.robot
Resource ../lib/code_update_utils.robot
@@ -45,7 +45,7 @@
Library ../lib/os_utils_keywords.py
Library ../lib/utils_files.py
Library ../lib/logging_utils.py
-Library ../syslib/utils_os.py
+Library ../lib/os_utilities.py
Suite Setup Run Keyword And Ignore Error Start SOL Console Logging
Test Setup Test Setup Execution
@@ -248,7 +248,7 @@
Run Keyword And Ignore Error Redfish Purge Event Log
Tool Exist htxcmdline
- ${os_release_info}= utils_os.Get OS Release Info uname
+ ${os_release_info}= os_utilities.Get OS Release Info uname
Rprint Vars os_release_info fmt=1
# Shutdown if HTX is running.
diff --git a/systest/htx_softbootme_test.robot b/systest/htx_softbootme_test.robot
index 08407c3..3234758 100644
--- a/systest/htx_softbootme_test.robot
+++ b/systest/htx_softbootme_test.robot
@@ -12,10 +12,10 @@
Resource ../lib/htx_resource.robot
-Resource ../syslib/utils_os.robot
+Resource ../lib/os_utilities.robot
Library ../lib/os_utils_keywords.py
Resource ../lib/openbmc_ffdc_utils.robot
-Library ../syslib/utils_os.py
+Library ../lib/os_utilities.robot
Library DateTime
Suite Setup Run Keyword And Ignore Error Start SOL Console Logging
@@ -154,7 +154,7 @@
Run Keyword And Ignore Error Redfish Purge Event Log
Tool Exist htxcmdline
- ${os_release_info}= utils_os.Get OS Release Info uname
+ ${os_release_info}= os_utilities.Get OS Release Info uname
Rprint Vars os_release_info fmt=1
# Shutdown if HTX is running.
diff --git a/systest/network_stability_test.robot b/systest/network_stability_test.robot
index d5e26d8..6f52ff0 100755
--- a/systest/network_stability_test.robot
+++ b/systest/network_stability_test.robot
@@ -2,7 +2,7 @@
Documentation Module to test network stability.
... By default running HTX mdt.bu profile for stress test.
-Resource ../syslib/utils_os.robot
+Resource ../lib/os_utilities.robot
Library ../lib/os_utils_keywords.py
Test Setup Test Setup Execution
diff --git a/systest/proc_freq_check.robot b/systest/proc_freq_check.robot
index 1e8a80f..9c93a8b 100755
--- a/systest/proc_freq_check.robot
+++ b/systest/proc_freq_check.robot
@@ -8,7 +8,7 @@
# OS_USERNAME The OS login userid (usually root).
# OS_PASSWORD The password for the OS login.
-Resource ../syslib/utils_os.robot
+Resource ../lib/os_utilities.robot
Suite Setup Run Keyword Start SOL Console Logging
Test Setup Test Setup Execution
diff --git a/systest/test_boot_acceptance.robot b/systest/test_boot_acceptance.robot
index 544bca1..e4659c8 100644
--- a/systest/test_boot_acceptance.robot
+++ b/systest/test_boot_acceptance.robot
@@ -41,7 +41,7 @@
Library String
Library ../lib/bmc_ssh_utils.py
Resource ../lib/resource.robot
-Resource ../syslib/utils_os.robot
+Resource ../lib/os_utilities.robot
Resource ../lib/bmc_network_utils.robot
Resource ../lib/bmc_redfish_resource.robot