2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 02:30:21 +00:00
Files
xcat-core/xCAT-test/autotest/testcase/reventlog/cases0

45 lines
1.1 KiB
Plaintext

start:reventlog_null
cmd:reventlog
check:rc==0
check:output=~Usage
end
start:reventlog_all
cmd:reventlog $$CN all
check:rc==0
check:output=~$$CN\s*:\s*.*\d\d/\d\d/\d\d\s*\S+|No attributes returned from the BMC
end
start:reventlog_clear
cmd:reventlog $$CN clear
check:rc==0
check:output=~$$CN\s*:\s*Logs cleared|SEL cleared
end
start:reventlog_numofentries
cmd:reventlog $$CN 5
check:rc==0
check:output=~$$CN\s*:\s*.*\d\d/\d\d/\d\d\s*\S+|$$CN: no SEL entries|Entry|No attributes returned from the BMC
end
start:reventlog_s_openbmc
description: For openbmc, reventlog has dropped option s
os:Linux
hcp:openbmc
cmd:reventlog $$CN 10 -s
check:output=~The -s option is not supported for OpenBMC
check:rc!=0
cmd:reventlog $$CN 10 -s 1
check:output=~The -s option is not supported for OpenBMC
check:rc!=0
cmd:reventlog $$CN -s all
check:output=~The -s option is not supported for OpenBMC
check:rc!=0
cmd:reventlog $$CN -s
check:output=~Error: Unsupported command
check:rc!=0
cmd:reventlog $$CN all aaa
check:output=~Error: Only one option is supported at the same time
check:rc!=0
end