xcat-core/xCAT-test/autotest/testcase/makeconservercf/cases0
2014-12-24 01:43:29 -05:00

34 lines
834 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 testnodetmp
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