add addkit test cases

This commit is contained in:
litingt 2014-10-23 19:25:37 -07:00
parent 851094e6a1
commit f1a75b17d3

View File

@ -56,66 +56,66 @@ end
start:addkit_multikit
os:Linux
cmd:rm -rf /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prodkit
cmd:rm -rf /opt/xcat/share/xcat/tools/autotest/testcase/addkit/testkit
cmd:rm -rf /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prod2kit
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit;buildkit create prodkit
check:rc==0
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prodkit;buildkit buildrepo all
check:rc==0
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prodkit;buildkit buildtar
check:rc==0
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit;buildkit create testkit
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit;buildkit create prod2kit
check:rc==0
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit/testkit;buildkit buildrepo all
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prod2kit;buildkit buildrepo all
check:rc==0
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit/testkit;buildkit buildtar
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prod2kit;buildkit buildtar
check:rc==0
cmd:addkit /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prodkit/prodkit-1.0-1.tar.bz2,/opt/xcat/share/xcat/tools/autotest/testcase/addkit/testkit/testkit-1.0-1.tar.bz2
cmd:addkit /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prodkit/prodkit-1.0-1.tar.bz2,/opt/xcat/share/xcat/tools/autotest/testcase/addkit/prod2kit/prod2kit-1.0-1.tar.bz2
check:rc==0
check:output=~Adding Kit prodkit-1.0-1
check:output=~Adding Kit testkit-1.0-1
check:output=~Kit prodkit-1.0-1,testkit-1.0-1 was successfully added
check:output=~Adding Kit prod2kit-1.0-1
check:output=~Kit prodkit-1.0-1,prod2kit-1.0-1 was successfully added
cmd:tabdump kit|grep prodkit-1.0-1
check:rc==0
cmd:tabdump kit|grep testkit-1.0-1
cmd:tabdump kit|grep prod2kit-1.0-1
check:rc==0
cmd:rmkit prodkit-1.0-1
cmd:rmkit testkit-1.0-1
cmd:rmkit prod2kit-1.0-1
cmd:rm -f /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prodkit/prodkit-1.0-1.tar.bz2
cmd:rm -f /opt/xcat/share/xcat/tools/autotest/testcase/addkit/testkit/testkit-1.0-1.tar.bz2
cmd:rm -f /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prod2kit/prod2kit-1.0-1.tar.bz2
cmd:rm -rf /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prodkit
cmd:rm -rf /opt/xcat/share/xcat/tools/autotest/testcase/addkit/testkit
cmd:rm -rf /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prod2kit
end
start:addkit_p
os:Linux
cmd:rm -rf /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prodkit
cmd:rm -rf /opt/xcat/share/xcat/tools/autotest/testcase/addkit/testkit
cmd:rm -rf /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prod2kit
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit;buildkit create prodkit
check:rc==0
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prodkit;buildkit buildrepo all
check:rc==0
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prodkit;buildkit buildtar
check:rc==0
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit;buildkit create testkit
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit;buildkit create prod2kit
check:rc==0
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit/testkit;buildkit buildrepo all
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prod2kit;buildkit buildrepo all
check:rc==0
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit/testkit;buildkit buildtar
cmd:cd /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prod2kit;buildkit buildtar
check:rc==0
cmd:mkdir -p /install/test
cmd:addkit -p /install/test /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prodkit/prodkit-1.0-1.tar.bz2,/opt/xcat/share/xcat/tools/autotest/testcase/addkit/testkit/testkit-1.0-1.tar.bz2
cmd:addkit -p /install/test /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prodkit/prodkit-1.0-1.tar.bz2,/opt/xcat/share/xcat/tools/autotest/testcase/addkit/prod2kit/prod2kit-1.0-1.tar.bz2
check:rc==0
check:output=~Adding Kit prodkit-1.0-1
check:output=~Adding Kit testkit-1.0-1
check:output=~Kit prodkit-1.0-1,testkit-1.0-1 was successfully added
check:output=~Adding Kit prod2kit-1.0-1
check:output=~Kit prodkit-1.0-1,prod2kit-1.0-1 was successfully added
cmd:tabdump kit|grep prodkit-1.0-1
check:rc==0
cmd:tabdump kit|grep testkit-1.0-1
cmd:tabdump kit|grep prod2kit-1.0-1
cmd:rmkit prodkit-1.0-1
cmd:rmkit testkit-1.0-1
cmd:rmkit prod2kit-1.0-1
cmd:rm -f /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prodkit/prodkit-1.0-1.tar.bz2
cmd:rm -f /opt/xcat/share/xcat/tools/autotest/testcase/addkit/testkit/testkit-1.0-1.tar.bz2
cmd:rm -rf /opt/xcat/share/xcat/tools/autotest/testcase/addkit/testkit
cmd:rm -f /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prod2kit/prod2kit-1.0-1.tar.bz2
cmd:rm -rf /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prod2kit
cmd:rm -rf /opt/xcat/share/xcat/tools/autotest/testcase/addkit/prodkit
end