add testcases for psh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f13ee60357
commit
c59c0683e5
25
xCAT-test/autotest/testcase/psh/cases0
Normal file
25
xCAT-test/autotest/testcase/psh/cases0
Normal file
@ -0,0 +1,25 @@
|
||||
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
|
||||
cmd:psh $$CN 'pwd'
|
||||
check:rc==0
|
||||
check:output=~$$CN
|
||||
check:output=~/root
|
||||
end
|
Loading…
Reference in New Issue
Block a user