2011-09-20 06:01:21 +00:00
|
|
|
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
|
|
|
|
|
2011-12-02 06:40:42 +00:00
|
|
|
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'
|
2011-09-20 06:01:21 +00:00
|
|
|
check:rc==0
|
|
|
|
check:output=~$$CN
|
|
|
|
check:output=~/root
|
|
|
|
end
|
2011-12-02 06:40:42 +00:00
|
|
|
|