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
This commit is contained in:
ligc 2010-09-21 08:44:17 +00:00
parent e5e14cd8de
commit eb1c4f6166

View File

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