2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

enhance chdef testcase for postscripts

This commit is contained in:
bybai 2018-05-02 02:05:33 -04:00
parent 44dada4033
commit 36cc903f36

View File

@ -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