xcat-core/xCAT-test/autotest/testcase/makeconservercf/cases0
ellen56 a05837bdca new files for xCAT test
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-20 08:10:57 +00:00

32 lines
787 B
Plaintext

start:makeconservercf_null
cmd:chdef -t node -o testnode 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=~}
cmd:rmdef -t node testnode
end
start:makeconservercf_noderange
cmd:chdef -t node -o testnode cons=hmc
cmd:makeconservercf testnode
check:rc==0
cmd:cat /etc/conserver.cf
check:output=~console testnode {
check:output=~ exec /opt/xcat/share/xcat/cons/hmc testnode;
check:output=~}
cmd:rmdef -t node testnode
end
start:makeconservercf_d
cmd:chdef -t node -o testnode cons=hmc
cmd:makeconservercf testnode
check:rc==0
cmd:makeconservercf -d testnode
check:rc==0
cmd:cat /etc/conserver.cf | grep testnode
check:output!~testnode
cmd:rmdef -t node testnode
end