DCMI: Modified script in ipmi/dcmi/test_dcmi_management_controller.robot
Changes:
- omit DCMI Management Controller Identifier String as it should stop up to the first null
Tested:
- Ran ipmi/dcmi/test_dcmi_management_controller.robot
Change-Id: Ica521b5636aa9db825cab17696d48e9035458e53
Signed-off-by: Wilson Suen <wilsons@supermicro.com>
diff --git a/ipmi/dcmi/test_dcmi_management_controller.robot b/ipmi/dcmi/test_dcmi_management_controller.robot
index e32c79c..09c8a48 100644
--- a/ipmi/dcmi/test_dcmi_management_controller.robot
+++ b/ipmi/dcmi/test_dcmi_management_controller.robot
@@ -134,6 +134,7 @@
${mcid_get_cmd}= Catenate ${DCMI_RAW_CMD['DCMI']['MANAGEMENT_CONTROLLER_IDENTIFIER_STRING']['GET']}
${resp}= Run External IPMI Raw Command ${mcid_get_cmd}
+ ${resp}= Strip String ${resp} mode=right characters=${SPACE}00\n
[Return] ${resp}