git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10016 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
amy0701 2011-07-06 05:53:58 +00:00
parent 35293e7209
commit 331d70a408

View File

@ -1,3 +1,9 @@
start:nodeadd_null
description:nodeadd without any flag
cmd:nodeadd
check:output=~Usage
end
start:nodeadd_noderange
cmd:nodeadd testnode1-testnode2 groups="lpar,all" nodetype.nodetype="lpar,osi"
check:rc==0
@ -13,6 +19,32 @@ check:output=~groups=lpar,all
check:output=~nodetype=lpar,osi
cmd:rmdef -t node -o testnode1-testnode2
end
start:nodeadd_noderange_nodetype
cmd:nodeadd testnode1-testnode2 groups=all,rhel5 nodetype.os=rhel5
check:rc=0
cmd:lsdef -i groups,os testnode1
check:rc=0
check:output=~testnode1
check:output=~groups=all,rhel5
check:output=~os=rhel5
cmd:lsdef -i groups,os testnode2
check:rc=0
check:output=~groups=all,rhel5
check:output=~os=rhel5
cmd:rmdef -t node -o testnode1-testnode2
end
start:nodeadd_v
cmd:nodeadd -v
check:output=~Version
end
start:nodeadd_h
cmd:nodeadd -h
check:output=~Usage
end
start:nodeadd_err_symbol
cmd:nodeadd testnode magt=unknown
check:rc!=0