From a301b0ac25d40d5f51037542e2c4aab226c2911a Mon Sep 17 00:00:00 2001 From: amy0701 Date: Mon, 18 Mar 2013 06:03:04 +0000 Subject: [PATCH] update testcase for servicenode installation git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- .../testcase/installation/linux_sn_installation_x86_64 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64 b/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64 index 43ab4a684..053a77831 100644 --- a/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64 +++ b/xCAT-test/autotest/testcase/installation/linux_sn_installation_x86_64 @@ -1,5 +1,5 @@ #first define -start:Linux_sn_installation_flat_x86_64 +start:Linux_sn_installation_flat_x86_64_redhat os:Linux cmd:makedns check:rc==0 @@ -27,9 +27,9 @@ cmd:chdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install check:rc==0 cmd:mkdir -p /install/post/otherpkgs/rhels6.3/x86_64/xcat/ check:rc==0 -cmd:cp -rf /xcat-core /install/post/otherpkgs/rhels6.3/x86_64/xcat/ +cmd:cp -rf /xcat-core /install/post/otherpkgs/__GETNODEATTR($$CN,os)__/x86_64/xcat/ check:rc==0 -cmd:createrepo /install/post/otherpkgs/rhels6.3/x86_64/xcat/xcat-core +cmd:createrepo /install/post/otherpkgs/__GETNODEATTR($$CN,os)__/x86_64/xcat/xcat-core check:rc==0 cmd:for i in mysql-server mysql mysql-bench mysql-devel mysql-connector-odbc; do cat /opt/xcat/share/xcat/install/rh/service.rhels6.x86_64.pkglist|grep "$i$";if [ $? -ne 0 ] ; then echo "$i" >> /opt/xcat/share/xcat/install/rh/service.rhels6.x86_64.pkglist; fi done cmd:chtab node=service postscripts.postscripts="servicenode,odbcsetup"