Fix wrong variable check in dump test suite
Changes:
- Corrected varaible name
Fixes:
Variable '${file_there}' not found.
Tested:
Ran test suite test_bmc_dumps.robot
Change-Id: Iaf46b004d02d415f8de79921ec33c4ed65333ba7
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/managers/test_bmc_dumps.robot b/redfish/managers/test_bmc_dumps.robot
index 808bef0..4730bc9 100644
--- a/redfish/managers/test_bmc_dumps.robot
+++ b/redfish/managers/test_bmc_dumps.robot
@@ -85,7 +85,7 @@
${dump_file} ${stderr} ${rc}= BMC Execute Command
... ls ${BMC_DUMP_COLLECTOR_PATH}/${dump_id}
Should Be True ${rc} == 0
- Should Start With ${file_there} BMCDUMP
+ Should Start With ${dump_file} BMCDUMP
Verify User Initiated BMC Dump When Host Booted
@@ -294,7 +294,7 @@
Get Disk Usage For Dumps
[Documentation] Return disk usage in kilobyte for BMC dumps.
- ${usage_output} ${stderr} ${rc}= BMC Execute Command du -s ${BMC_DUMP_COLLECTOR_PATH}
+ ${usage_output} ${stderr} ${rc}= BMC Execute Command du -s ${BMC_DUMP_COLLECTOR_PATH}
# Example of output from above BMC cli command.
# $ du -s /var/lib/phosphor-debug-collector/dumps