xcat-core/xCAT-test/autotest/testcase/psh/cases0

36 lines
444 B
Plaintext
Raw Normal View History

start:psh_h
cmd:psh -h
check:rc==0
check:output=~Usage
cmd:psh --help
check:rc==0
check:output=~Usage
end
start:psh_v
cmd:psh -v
check:rc==0
end
start:psh_i
cmd:psh -i __GETNODEATTR($$CN,mgtifname)__ $$CN 'uptime'
check:rc==0
end
start:psh_node_cmd_linux
os:Aix
cmd:psh $$CN 'pwd'
check:rc==0
check:output=~$$CN
check:output=~/
end
start:psh_node_cmd_aix
os:Linux
cmd:psh $$CN 'pwd'
check:rc==0
check:output=~$$CN
check:output=~/root
end