Fixed missing parameter when using ipmi user summary
When execute inband command ipmitool user summary
it will return 'IPMI command failed: Unknown (0x82)'
Because it missing a parameter <channel number>
User Commands:
summary [<channel number>]
Signed-off-by: Tony Lee <tony.lee@quantatw.com>
Change-Id: I3b37995eb6150e870495ae16de9271cc8bd0341b
diff --git a/ipmi/test_ipmi_user.robot b/ipmi/test_ipmi_user.robot
index b20abea..bbc82c2 100644
--- a/ipmi/test_ipmi_user.robot
+++ b/ipmi/test_ipmi_user.robot
@@ -43,7 +43,8 @@
# Verify maximum user count IPMI local user can have. Also verify
# currently enabled users.
- ${resp}= Wait Until Keyword Succeeds 15 sec 5 sec Run IPMI Standard Command user summary
+ ${resp}= Wait Until Keyword Succeeds 15 sec 5 sec Run IPMI Standard Command
+ ... user summary ${CHANNEL_NUMBER}
${enabled_user_count}=
... Get Lines Containing String ${resp} Enabled User Count
${maximum_ids}= Get Lines Containing String ${resp} Maximum IDs