xcat-core/xCAT-test/autotest/testcase/lskit/case0
2014-10-23 19:17:35 -07:00

116 lines
4.3 KiB
Plaintext

start:lskit_v
os:Linux
cmd:lskit -v
check:rc==0
check:output=~lskit
check:output=~kitframework
check:output=~compatible_frameworks
cmd:lskit --version
check:rc==0
check:output=~lskit
check:output=~kitframework
check:output=~compatible_frameworks
end
start:lskit_h
os:Linux
cmd:lskit -h
check:rc==0
check:output =~ Usage
cmd:lskit --help
check:rc==0
check:output=~ Usage
end
start:lskit_F
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:lskit -F /opt/xcat/share/xcat/tools/autotest/testcase/lskit/mykits/mykits-1.0-1.tar.bz2
check:rc==0
check:output=~Extracting the kit.conf file from /opt/xcat/share/xcat/tools/autotest/testcase/lskit/mykits/mykits-1.0-1.tar.bz2
check:output=~kitframework
check:output=~compatible_kitframeworks
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:lskit_K
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: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:lskit_R
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 -R kitrepodir mykits-1.0-1
check:rc==0
check:output=~kitrepodir
cmd:lskit -R kitreponame mykits-1.0-1
check:rc==0
check:output=~kitreponame
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:lskit_C
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 -C kitcompname mykits-1.0-1
check:rc==0
check:output=~kitcompname
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