Add release info to hardbootme
We want to have BMC version, PNOR version, and OS version
displayed at the beginning of the hardbootme test.
Change-Id: I6148532da2d212f2ff976247b2dc9bfed16b045b
Signed-off-by: Steven Sombar <ssombar@us.ibm.com>
diff --git a/systest/htx_hardbootme_test.robot b/systest/htx_hardbootme_test.robot
index a41700c..fe787c5 100755
--- a/systest/htx_hardbootme_test.robot
+++ b/systest/htx_hardbootme_test.robot
@@ -223,8 +223,10 @@
Test Setup Execution
[Documentation] Do the initial test setup.
- ${os_release_info}= Get OS Release Info
- Rpvars 1 os_release_info
+ ${bmc_version} ${stderr} ${rc}= BMC Execute Command
+ ... cat /etc/os-release
+ Rprintn
+ Rpvars bmc_version
${pnor_version} ${stderr} ${rc}= BMC Execute Command
... sed -re 's/\t//g' /var/lib/phosphor-software-manager/pnor/ro/VERSION
@@ -235,6 +237,9 @@
Delete All Error Logs
Tool Exist htxcmdline
+ ${os_release_info}= Get OS Release Info
+ Rpvars 1 os_release_info
+
# Shutdown if HTX is running.
${status}= Is HTX Running
Run Keyword If '${status}' == 'True'