Set environment variable ESEL_BIN_PATH path in test_host_ras.robot

Resolves  openbmc/openbmc-test-automation#1203

Change-Id: Ie8df08742d8682d2224a6bc69ca027ef538cb2a0
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/ras/test_host_ras.robot b/ras/test_host_ras.robot
index 4cda59a..ffe4b78 100755
--- a/ras/test_host_ras.robot
+++ b/ras/test_host_ras.robot
@@ -353,6 +353,7 @@
     ${error_log_file_path}=  Catenate  ${log_prefix}esel.txt
     ${rc}  ${output} =  Run and Return RC and Output
     ...  grep -i ${signature_desc} ${error_log_file_path}
+    Should Be Equal  ${rc}  ${0}
     Should Not Be Empty  ${output}
 
 Inject Recoverable Error With Threshold Limit Through Host
@@ -467,6 +468,9 @@
     OperatingSystem.Directory Should Exist  ${RAS_LOG_DIR_PATH}
     Empty Directory  ${RAS_LOG_DIR_PATH}
 
+    Should Not Be Empty  ${ESEL_BIN_PATH}
+    Set Environment Variable  PATH  %{PATH}:${ESEL_BIN_PATH}
+
     # Boot to Os.
     REST Power On  quiet=${1}