mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
Merge pull request #5156 from bybai/chdef_t
enhance chdef testcase for postscripts
This commit is contained in:
commit
f43d3593ed
@ -18,6 +18,16 @@ check:rc==0
|
||||
cmd:lsdef -t node -l testnode
|
||||
check:rc==0
|
||||
check:output=~groups=linux
|
||||
cmd:chdef -t node -o testnode postscripts="syslog,remoteshell,syncfiles"
|
||||
check:rc==0
|
||||
check:output!~Error
|
||||
check:output=~Warning: testnode: postscripts 'syslog' is already included
|
||||
check:output=~Warning: testnode: postscripts 'remoteshell' is already included
|
||||
check:output=~Warning: testnode: postscripts 'syncfiles' is already included
|
||||
cmd:chdef -t node -o testnode postbootscripts=otherpkgs
|
||||
check:rc==0
|
||||
check:output!~Error
|
||||
check:output=~Warning: testnode: postbootscripts 'otherpkgs' is already included
|
||||
cmd:rmdef -t node testnode
|
||||
check:rc==0
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user