mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-21 05:25:32 +00:00
complete
This commit is contained in:
@ -1,16 +1,22 @@
|
||||
start:prsync_h
|
||||
description: prsync -h
|
||||
os:Linux
|
||||
cmd:prsync -h
|
||||
check:rc==0
|
||||
check:output=~Usage
|
||||
end
|
||||
|
||||
start:prsync_v
|
||||
description: prsync -v
|
||||
os:Linux
|
||||
cmd:prsync -v
|
||||
check:rc==0
|
||||
check:output=~Version
|
||||
end
|
||||
|
||||
start:prsync_dir_node
|
||||
description: run prsync -o to copy files in dir from MN to CN
|
||||
os:Linux
|
||||
cmd: mkdir -p /tmp/pscp
|
||||
check:rc==0
|
||||
cmd:echo "test" > /tmp/pscp/pscp.tmp
|
||||
@ -34,6 +40,8 @@ check:rc==0
|
||||
end
|
||||
|
||||
start:prsync_file_node
|
||||
description: run prsync -o to copy file from MN to CN
|
||||
os:Linux
|
||||
cmd: echo "prsync-test" > prsync.test
|
||||
check:rc==0
|
||||
cmd:prsync prsync.test $$CN:/tmp/
|
||||
|
@ -1,4 +1,6 @@
|
||||
start:psh_h
|
||||
description: psh -h and psh -help
|
||||
os:Linux
|
||||
cmd:psh -h
|
||||
check:rc==0
|
||||
check:output=~Usage
|
||||
@ -8,17 +10,16 @@ check:output=~Usage
|
||||
end
|
||||
|
||||
start:psh_v
|
||||
description: psh -v
|
||||
os:Linux
|
||||
cmd:psh -v
|
||||
check:rc==0
|
||||
end
|
||||
|
||||
start:psh_i
|
||||
cmd:psh -i __GETNODEATTR($$CN,mgtifname)__ $$CN 'uptime'
|
||||
check:output=~Version
|
||||
check:rc==0
|
||||
end
|
||||
|
||||
start:psh_node_cmd_linux
|
||||
os:Aix
|
||||
description: psh CN 'pwd' in linux
|
||||
os:Linux
|
||||
cmd:psh $$CN 'pwd'
|
||||
check:rc==0
|
||||
check:output=~$$CN
|
||||
@ -26,7 +27,8 @@ check:output=~/
|
||||
end
|
||||
|
||||
start:psh_node_cmd_aix
|
||||
os:Linux
|
||||
description: psh CN 'pwd' in AIX
|
||||
os:Aix
|
||||
cmd:psh $$CN 'pwd'
|
||||
check:rc==0
|
||||
check:output=~$$CN
|
||||
|
Reference in New Issue
Block a user