xcat-core/xCAT-test/autotest/testcase/makeknownhosts/cases0
amy0701 c344013c47 update for makeknownhosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10578 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-21 05:57:36 +00:00

38 lines
766 B
Plaintext

start:makeknownhosts_h
cmd:makeknownhosts -h
check:output=~Usage
cmd:makeknownhosts --help
check:output=~Usage
end
start:makeknownhosts_node
description:Make a known_hosts file under $ROOTHOME/.ssh for input noderange
cmd:makeknownhosts $$CN -r
cmd:makeknownhosts $$CN
check:rc==0
cmd:cat ~/.ssh/known_hosts|grep $$CN
check:rc==0
check:output=~$$CN
cmd:makeknownhosts $$CN -r
end
start:makeknownhosts_node_r
description:remove known node in $ROOTHOME/.ssh
cmd:makeknownhosts $$CN
cmd:cat ~/.ssh/known_hosts|grep $$CN
check:output=~$$CN
cmd:makeknownhosts $$CN -r
check:rc==0
cmd:cat ~/.ssh/known_hosts|grep $$CN
check:rc!=0
check:output!~$$CN
end
start:makeknownhosts_node_v
description:verbose
cmd:makeknownhosts $$CN -V
check:rc==0
check:output=~$$CN
end