update for makeconservercf testcase

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11109 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
amy0701 2011-12-02 06:06:11 +00:00
parent 374b6abd59
commit 6da6adfade

View File

@ -1,33 +1,33 @@
start:makeconservercf_null
cmd:chdef -t node -o testnode cons=hmc
cmd:chdef -t node -o testnodetmp cons=hmc
cmd:makeconservercf
check:rc==0
cmd:cat /etc/conserver.cf
check:output=~console testnode {
check:output=~ exec /opt/xcat/share/xcat/cons/hmc testnode;
check:output=~console testnodetmp {
check:output=~ exec /opt/xcat/share/xcat/cons/hmc testnodetmp;
check:output=~}
cmd:rmdef -t node testnode
end
start:makeconservercf_noderange
cmd:chdef -t node -o testnode cons=hmc
cmd:makeconservercf testnode
cmd:chdef -t node -o testnodetmp cons=hmc
cmd:makeconservercf testnodetmp
check:rc==0
cmd:cat /etc/conserver.cf
check:output=~console testnode {
check:output=~ exec /opt/xcat/share/xcat/cons/hmc testnode;
check:output=~console testnodetmp {
check:output=~ exec /opt/xcat/share/xcat/cons/hmc testnodetmp;
check:output=~}
cmd:rmdef -t node testnode
cmd:rmdef -t node testnodetmp
end
start:makeconservercf_d
cmd:chdef -t node -o testnode cons=hmc
cmd:makeconservercf testnode
cmd:chdef -t node -o testnodetmp cons=hmc
cmd:makeconservercf testnodetmp
check:rc==0
cmd:makeconservercf -d testnode
cmd:makeconservercf -d testnodetmp
check:rc==0
cmd:cat /etc/conserver.cf | grep testnode
check:output!~testnode
cmd:rmdef -t node testnode
cmd:cat /etc/conserver.cf | grep testnodetmp
check:output!~testnodetmp
cmd:rmdef -t node testnodetmp
end