From f1a75b17d3ae66abbebf38515ddbf40beed88a7c Mon Sep 17 00:00:00 2001 From: litingt Date: Thu, 23 Oct 2014 19:25:37 -0700 Subject: [PATCH] add addkit test cases --- xCAT-test/autotest/testcase/addkit/cases0 | 44 +++++++++++------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/xCAT-test/autotest/testcase/addkit/cases0 b/xCAT-test/autotest/testcase/addkit/cases0 index 22cfb4998..0ee49701a 100644 --- a/xCAT-test/autotest/testcase/addkit/cases0 +++ b/xCAT-test/autotest/testcase/addkit/cases0 @@ -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