mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
refine some test cases
This commit is contained in:
parent
c1f57348e7
commit
75521c33bf
@ -41,7 +41,7 @@ cmd:chdef $$CN -p postscripts=test
|
||||
check:rc==0
|
||||
cmd:lsdef -l $$CN
|
||||
check:rc==0
|
||||
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/commoncmd/retry_install.sh $$CN __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute
|
||||
cmd:rinstall $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute
|
||||
check:rc==0
|
||||
check:output=~Provision node\(s\)\: $$CN
|
||||
|
||||
|
@ -47,7 +47,7 @@ cmd:rm -rf /tmp/mountoutput
|
||||
cmd:packimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
|
||||
check:rc==0
|
||||
|
||||
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/commoncmd/retry_install.sh $$CN __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
|
||||
cmd:rinstall $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
|
||||
check:rc==0
|
||||
check:output=~Provision node\(s\)\: $$CN
|
||||
|
||||
|
@ -94,7 +94,6 @@ cmd:rm -rf /tmp/xcatconfig.test
|
||||
check:rc==0
|
||||
end
|
||||
|
||||
|
||||
start:xcatconfig_c
|
||||
description:To regenerate cretials
|
||||
label:mn_only
|
||||
@ -117,7 +116,7 @@ check:rc!=0
|
||||
#step4:restore test environment
|
||||
cmd:rm -rf /tmp/xcatconfig.test
|
||||
check:rc==0
|
||||
cmd:mv -f /etc/xcat/cabak /etc/xcat/ca ;mv -f /etc/xcat/certbak /etc/xcat/cert
|
||||
cmd:rm -rf /etc/xcat/cabak /etc/xcat/certbak
|
||||
check:rc==0
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user