Fixed auto generate BMC dump command
Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com>
Change-Id: I5ffb67d0bb473eae5f610253b009f96b8f2c1396
diff --git a/lib/dump_utils.robot b/lib/dump_utils.robot
index cb203f1..b8acd21 100644
--- a/lib/dump_utils.robot
+++ b/lib/dump_utils.robot
@@ -257,10 +257,10 @@
Auto Generate BMC Dump
[Documentation] Auto generate BMC dump.
- ${stdout} ${stderr} ${rc}=
- ... BMC Execute Command
- ... busctl --verbose call xyz.openbmc_project.Dump.Manager
+ ${cmd}= Catenate busctl --verbose call xyz.openbmc_project.Dump.Manager
... /xyz/openbmc_project/dump/bmc xyz.openbmc_project.Dump.Create CreateDump a{ss} 0
+ ${stdout} ${stderr} ${rc}=
+ ... BMC Execute Command ${cmd}
[Return] ${stdout} ${stderr} ${rc}
Get Dump Size