2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 20:30:56 +00:00

Merge pull request #2022 from caomengmeng/check_update_syslog_when_xcatdebugmode_on

Add test case to check the update syslog when xcatdebugmode opens.
This commit is contained in:
penguhyang
2016-11-02 10:53:48 +08:00
committed by GitHub

View File

@ -454,3 +454,23 @@ check:output=~postscripts has completed
check:output=~Software Maintenance has completed
end
start:updatenode_P_syslog_V_xcatdebugmode_is_one
description:xcatdebugmode value is one, there should be execution outputs.
cmd:chtab key=xcatdebugmode site.value=1
check:rc==0
cmd:updatenode $$CN -P syslog -V
check:output=~$$CN: ++
cmd:chtab key=xcatdebugmode site.value=0
check:rc==0
end
start:updatenode_P_syslog_V_xcatdebugmode_is_two
description:xcatdebugmode value is two, there should be execution outputs.
cmd:chtab key=xcatdebugmode site.value=2
check:rc==0
cmd:updatenode $$CN -P syslog -V
check:output=~$$CN: ++
cmd:chtab key=xcatdebugmode site.value=0
check:rc==0
end