2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-10 14:51:30 +00:00

Merge pull request #4620 from hu-weihua/reventlog

modify reventlog test case depending on the output of reventlog latest code
This commit is contained in:
xuweibj
2018-01-11 12:57:18 +08:00
committed by GitHub

View File

@ -3,16 +3,19 @@ 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+
end
start:reventlog_clear
cmd:reventlog $$CN clear
check:rc==0
check:output=~$$CN\s*:\s*clear|SEL cleared
check:output=~$$CN\s*:\s*Logs cleared|SEL cleared
end
start:reventlog_numofentries
cmd:reventlog $$CN 5
check:rc==0