mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-21 10:40:24 +00:00
UT cases
This commit is contained in:
@@ -33,3 +33,30 @@ cmd:reventlog $$CN resolved=-1
|
||||
check:rc==1
|
||||
check:output=~Error: Invalid ID=
|
||||
end
|
||||
|
||||
start:reventlog_resolved_parse_error5
|
||||
description: Pass in a string
|
||||
os:Linux
|
||||
hcp:openbmc
|
||||
cmd:reventlog $$CN resolved=abc
|
||||
check:rc==1
|
||||
check:output=~Error: Invalid ID=
|
||||
end
|
||||
|
||||
start:reventlog_resolved_list
|
||||
description: Pass in a list of ids
|
||||
os:Linux
|
||||
hcp:openbmc
|
||||
cmd:reventlog $$CN resolved=100,101
|
||||
check:rc==0
|
||||
check:output=~Attempting to resolve the following log entries: 100,101...
|
||||
end
|
||||
|
||||
start:reventlog_resolved_LED
|
||||
description: Pass in a LED keyword
|
||||
os:Linux
|
||||
hcp:openbmc
|
||||
cmd:reventlog $$CN resolved=Led
|
||||
check:rc==0
|
||||
check:output=~Attempting to resolve the following log entries: Led...
|
||||
end
|
||||
|
Reference in New Issue
Block a user