Fix the HTX Shutdown syslib routine

Update the 'Shutdown HTX Exerciser' library utility, which
throws invalid List and parameter errors.
Replace obsolete Rprint and Rprintn statements used
throughout the library.
Add printout of number of error logs in hardbootme test
so can verify error logs are being checked as it runs.

Signed-off-by: Steven Sombar <ssombar@us.ibm.com>
Change-Id: I0c9de6cab7823d6238a5fb9b52ec2cc957ceabba
diff --git a/systest/htx_hardbootme_test.robot b/systest/htx_hardbootme_test.robot
index b87adeb..2ce02ce 100755
--- a/systest/htx_hardbootme_test.robot
+++ b/systest/htx_hardbootme_test.robot
@@ -210,8 +210,9 @@
 Check For ESELs
     [Documentation]  Terminate if there is an eSEL.
     ${error_logs}=  Get Error Logs
-    ${num_logs}=  Get Length  ${error_logs}
-    Run Keyword If  ${num_logs} != 0  Run Keywords
+    ${num_error_logs}=  Get Length  ${error_logs}
+    Rprint Vars  num_error_logs
+    Run Keyword If  ${num_error_logs} != 0  Run Keywords
     ...  Print Error Logs  ${error_logs}
     ...  AND  Fail  msg=Terminating run due to BMC error log(s).