89 lines
2.7 KiB
Plaintext
89 lines
2.7 KiB
Plaintext
|
start:lskitdeployparam_v
|
||
|
os:Linux
|
||
|
cmd:lskitdeployparam -v
|
||
|
check:rc==0
|
||
|
check:output=~lskitdeployparam
|
||
|
check:output=~kitframework
|
||
|
check:output=~compatible_frameworks
|
||
|
cmd:lskitdeployparam --version
|
||
|
check:rc==0
|
||
|
check:output=~lskitdeployparam
|
||
|
check:output=~kitframework
|
||
|
check:output=~compatible_frameworks
|
||
|
end
|
||
|
|
||
|
start:lskitdeployparam_h
|
||
|
os:Linux
|
||
|
cmd:lskitdeployparam -h
|
||
|
check:rc==0
|
||
|
check:output =~ Usage
|
||
|
cmd:lskitdeployparam --help
|
||
|
check:rc==0
|
||
|
check:output=~ Usage
|
||
|
end
|
||
|
|
||
|
start:lskitdeployparam_no_param
|
||
|
os:Linux
|
||
|
cmd:lskitdeployparam
|
||
|
check:rc==1
|
||
|
check:output=~Error
|
||
|
check:output=~ Usage
|
||
|
end
|
||
|
|
||
|
|
||
|
start:lskitdeployparam_k_1
|
||
|
os:Linux
|
||
|
cmd:rm -rf /opt/xcat/share/xcat/tools/autotest/testcase/lskit/mykits
|
||
|
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/lskit;buildkit create mykits
|
||
|
check:rc==0
|
||
|
check:output=~Kit template for mykits created in /opt/xcat/share/xcat/tools/autotest/testcase/lskit/mykits directory
|
||
|
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/lskit/mykits;buildkit buildrepo all
|
||
|
check:rc==0
|
||
|
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/lskit/mykits;buildkit buildtar
|
||
|
check:rc==0
|
||
|
cmd:addkit /opt/xcat/share/xcat/tools/autotest/testcase/lskit/mykits/mykits-1.0-1.tar.bz2
|
||
|
check:rc==0
|
||
|
check:output=~Kit mykits-1.0-1 was successfully added
|
||
|
cmd:lskit -K basename mykits-1.0-1
|
||
|
check:rc==0
|
||
|
check:output=~basename
|
||
|
cmd:lskitdeployparam -k mykits-1.0-1
|
||
|
check:rc==0
|
||
|
cmd:rmkit mykits-1.0-1
|
||
|
check:rc==0
|
||
|
check:output=~Kit mykits-1.0-1 was successfully removed
|
||
|
cmd:rm -f /opt/xcat/share/xcat/tools/autotest/testcase/lskit/mykits/mykits-1.0-1.tar.bz2
|
||
|
cmd:rm -rf /opt/xcat/share/xcat/tools/autotest/testcase/lskit/mykits
|
||
|
end
|
||
|
|
||
|
start:lskitdeployparam_c_1
|
||
|
os:Linux
|
||
|
cmd:rm -rf /opt/xcat/share/xcat/tools/autotest/testcase/lskit/mykits
|
||
|
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/lskit;buildkit create mykits
|
||
|
check:rc==0
|
||
|
check:output=~Kit template for mykits created in /opt/xcat/share/xcat/tools/autotest/testcase/lskit/mykits directory
|
||
|
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/lskit/mykits;buildkit buildrepo all
|
||
|
check:rc==0
|
||
|
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/lskit/mykits;buildkit buildtar
|
||
|
check:rc==0
|
||
|
cmd:addkit /opt/xcat/share/xcat/tools/autotest/testcase/lskit/mykits/mykits-1.0-1.tar.bz2
|
||
|
check:rc==0
|
||
|
check:output=~Kit mykits-1.0-1 was successfully added
|
||
|
cmd:lskit -K basename mykits-1.0-1
|
||
|
check:rc==0
|
||
|
check:output=~basename
|
||
|
cmd:kitcompname=`lskit mykits-1.0-1 |grep kitcompname|awk -F= '{print $2}'`;lskitdeployparam -c $kitcompname
|
||
|
check:rc==0
|
||
|
cmd:rmkit mykits-1.0-1
|
||
|
check:rc==0
|
||
|
check:output=~Kit mykits-1.0-1 was successfully removed
|
||
|
cmd:rm -f /opt/xcat/share/xcat/tools/autotest/testcase/lskit/mykits/mykits-1.0-1.tar.bz2
|
||
|
cmd:rm -rf /opt/xcat/share/xcat/tools/autotest/testcase/lskit/mykits
|
||
|
end
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|