mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
Merge pull request #1192 from tingtli/test
delete invalid test case file and fix #1152
This commit is contained in:
commit
567f44c25f
@ -1,63 +0,0 @@
|
||||
start:Linux_sn_installation_ppc64_redhat
|
||||
os:Linux
|
||||
cmd:chdef -t node -p $$SN groups=lpar,all
|
||||
check:rc==0
|
||||
cmd:chdef -t group -o service arch=PPC64 os=$$SNOS nodetype=osi profile=service netboot=yaboot installnic=mac primarynic=mac setupnfs=1 setupdhcp=1 setuptftp=1 setupnameserver=1 setupconserver=1
|
||||
check:rc==0
|
||||
cmd:chdef -t group -p service postscripts=servicenode,odbcsetup
|
||||
check:rc==0
|
||||
cmd:makedns -n
|
||||
check:rc==0
|
||||
cmd:makeconservercf
|
||||
check:rc==0
|
||||
cmd:cat /etc/conserver.cf | grep $$SN
|
||||
check:output=~$$SN
|
||||
cmd:sleep 20
|
||||
cmd:getmacs -D $$SN
|
||||
check:rc==0
|
||||
cmd:makedhcp -n
|
||||
check:rc==0
|
||||
cmd:makedhcp -a
|
||||
check:rc==0
|
||||
cmd:cat /var/lib/dhcpd/dhcpd.leases| grep $$SN
|
||||
check:output=~$$SN
|
||||
cmd:chdef -t site clustersite installloc="/install"
|
||||
check:rc==0
|
||||
cmd:mkdir -p /install/post/otherpkgs/$$SNOS/ppc64/xcat
|
||||
check:rc==0
|
||||
cmd:cp -r $$XCATCORE /install/post/otherpkgs/$$SNOS/ppc64/xcat
|
||||
check:rc==0
|
||||
cmd:cp -r $$XCATDEP /install/post/otherpkgs/$$SNOS/ppc64/xcat
|
||||
check:rc==0
|
||||
cmd:cd /install/post/otherpkgs/$$SNOS/ppc64/xcat/xcat-core && createrepo .
|
||||
check:rc==0
|
||||
cmd:cd /install/post/otherpkgs/$$SNOS/ppc64/xcat/xcat-dep/rh6/ppc64 && createrepo .
|
||||
check:rc==0
|
||||
cmd:cd /install/$$SNOS/ppc64/Server/repodata && createrepo -g *comps-rhel6-Server.xml.gz .
|
||||
check:rc==0
|
||||
cmd:nodeset service osimage=__GETNODEATTR($$SN,os)__-__GETNODEATTR($$SN,arch)__-install-service
|
||||
check:rc==0
|
||||
cmd:rnetboot service
|
||||
check:rc==0
|
||||
cmd:sleep 1200
|
||||
cmd:ping $$SN -c 3
|
||||
check:output=~64 bytes from $$SN
|
||||
cmd:lsdef -l $$CN | grep status
|
||||
check:output=~booted
|
||||
cmd:xdsh $$SN date
|
||||
check:rc==0
|
||||
check:output=~\d\d:\d\d:\d\d
|
||||
cmd:xdsh $$SN "ps -ef |grep xcatd"
|
||||
check:rc==0
|
||||
check:output=~xcatd:
|
||||
cmd:xdsh $$SN "lsdef"
|
||||
check:rc==0
|
||||
check:output=~$$SN: $$SN
|
||||
cmd:xdsh $$SN "mount"
|
||||
check:rc==0
|
||||
check:output=~/install on /install
|
||||
cmd:xdsh $$SN "mount"
|
||||
check:rc==0
|
||||
check:output=~/tftpboot on /tftpbootl
|
||||
end
|
||||
|
@ -72,7 +72,7 @@ check:rc==0
|
||||
cmd:cat /etc/bind/named.conf
|
||||
check:rc==0
|
||||
check:output~=zone "100.100.100.IN-ADDR.ARPA."
|
||||
cmd:nslookup dnstestnode
|
||||
cmd:nslookup dnstestnode $$MN
|
||||
check:output~=Server: $$MN
|
||||
check:output!~(server can't find dnstestnode)
|
||||
cmd:rm -f /etc/hosts
|
||||
|
Loading…
x
Reference in New Issue
Block a user