2
0
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:
Weihua Hu 2018-05-02 14:51:18 +08:00 committed by GitHub
commit f43d3593ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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