a05837bdca
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
30 lines
804 B
Plaintext
30 lines
804 B
Plaintext
start:chtab_null
|
|
cmd:chtab
|
|
check:rc!=0
|
|
check:output=~Usage
|
|
end
|
|
start:chtab_delete
|
|
cmd:chtab key=rsh_test site.value=/opt/xcat/bin/rcp site.comments="the rcp command" site.disable=no
|
|
check:rc==0
|
|
cmd:tabdump site | grep rsh_test
|
|
check:output=~/opt/xcat/bin/rcp
|
|
cmd:chtab -d key=rsh_test site
|
|
check:rc==0
|
|
cmd:tabdump site | grep rsh_test
|
|
check:output!=rsh_test
|
|
end
|
|
start:chtab_modify
|
|
cmd:chtab key=rsh_test site.value=/opt/xcat/bin/rcp site.comments="the rcp command" site.disable=no
|
|
check:rc==0
|
|
cmd:tabdump site | grep rsh_test
|
|
check:output=~/opt/xcat/bin/rcp
|
|
check:output=~no
|
|
check:output=~the rcp command
|
|
cmd:chtab key=rsh_test site.value=/opt/xcat/bin/scp site.disable=yes
|
|
check:rc==0
|
|
cmd:tabdump site | grep rsh_test
|
|
check:output=~/opt/xcat/bin/scp
|
|
check:output=~yes
|
|
cmd:chtab -d key=rsh_test site
|
|
end
|