Lack of core files shouldn't cause failure.
Change-Id: I44a2a35d3339764463118e949dea3740923b55d0
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/openbmc_ffdc_methods.robot b/lib/openbmc_ffdc_methods.robot
index cdd94fa..2caf6b1 100755
--- a/lib/openbmc_ffdc_methods.robot
+++ b/lib/openbmc_ffdc_methods.robot
@@ -237,8 +237,7 @@
[Documentation] Copy core dump file from BMC to local system.
# Check if core dump exist in the /tmp
Open Connection And Log In
- ${core_files}= Execute Command On BMC ls /tmp/core_*
- Should Not Contain ${core_files} No such file or directory
+ ${core_files}= Execute Command ls /tmp/core_*
@{core_list} = Split String ${core_files}
# Copy the core files
Open Connection for SCP