xcat-core/xCAT-test/autotest/testcase/makeconservercf/cases0
2011-12-02 06:06:11 +00:00

34 lines
831 B
Plaintext

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