From eb1c4f616622dd231ad3238eaa08557c17132c81 Mon Sep 17 00:00:00 2001 From: ligc Date: Tue, 21 Sep 2010 08:44:17 +0000 Subject: [PATCH] fix for chdef_null, and format the cases git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7553 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-test/autotest/testcase/chdef/cases0 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/xCAT-test/autotest/testcase/chdef/cases0 b/xCAT-test/autotest/testcase/chdef/cases0 index 0aaeb6104..6c6911024 100644 --- a/xCAT-test/autotest/testcase/chdef/cases0 +++ b/xCAT-test/autotest/testcase/chdef/cases0 @@ -1,8 +1,9 @@ start:chdef_null cmd:chdef -check:rc==0 +check:rc!=0 check:output=~Usage end + start:chdef_t_o_attr cmd:chdef -t network -o testnetwork net=111.222.33.0 mask=255.255.255.254 check:rc==0 @@ -19,6 +20,7 @@ check:output=~mask=255.255.255.254 check:output=~gateway=111.222.34.1 cmd:rmdef -t network testnetwork end + start:chdef_p_t_o_attr cmd:mkdef -t node -o testnode groups=all check:rc==0 @@ -28,6 +30,7 @@ cmd:lsdef -t node -l testnode check:output=~groups=all,aix cmd:rmdef -t node testnode end + start:chdef_m_t_o_attr cmd:mkdef -t node -o testnode groups=all,testgroup check:rc==0 @@ -37,6 +40,7 @@ cmd:lsdef -t node -l testnode check:output!~testgroup cmd:rmdef -t node testnode end + start:chdef_z cmd:mkdef -t node -o testnode groups=all check:rc==0 @@ -53,6 +57,7 @@ cmd:rm -f /tmp/testnode1.stanza cmd:rm -f /tmp/testnode.stanza cmd:rmdef -t node testnode end + start:chdef_t_o_attr_noderange cmd:chdef -t node -o orignode mgt=fsp cons=hmc pprofile=orignode groups=lpar,all check:rc==0 @@ -70,6 +75,7 @@ cmd:rm -f /tmp/testnode.stanza cmd:rmdef -t node testnode cmd:rmdef -t node orignode end + start:chdef_t_o_error cmd:chdef -t testtype -o testnode groups=all,aix check:rc!=0