mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 19:22:05 +00:00
modify the output of reventlog depending on the latest code
This commit is contained in:
parent
b750ea34d4
commit
2ac30e1ec4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user