Fix IPMI SOL UnicodeDecodeError in test
Change-Id: Ief192ce16663f1a36ea9e1ca165662a2e9e4d0fe
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/ipmi_client.robot b/lib/ipmi_client.robot
index d485af3..0dccdbf 100755
--- a/lib/ipmi_client.robot
+++ b/lib/ipmi_client.robot
@@ -215,8 +215,7 @@
... Run Keyword And Ignore Error Terminate Process sol_proc
... AND Return From Keyword ${output}
- ${rc} ${output}= Run and Return RC and Output cat ${file_path}
- Should Be Equal ${rc} ${0} msg=${output}
+ ${output}= OperatingSystem.Get File ${file_path} encoding_errors=ignore
# Logging SOL output for debug purpose.
Log ${output}