diff --git a/xCAT-test/autotest/testcase/chdef/cases0 b/xCAT-test/autotest/testcase/chdef/cases0 index 8b4e6d4ee..c301f2ff4 100644 --- a/xCAT-test/autotest/testcase/chdef/cases0 +++ b/xCAT-test/autotest/testcase/chdef/cases0 @@ -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