2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 17:46:38 +00:00

Merge pull request #6005 from tingtli/taskcase

refine some test cases
This commit is contained in:
Weihua Hu 2019-02-15 17:03:42 +08:00 committed by GitHub
commit 52d0233e19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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,11 @@ 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
cmd:if lsdef service > /dev/null 2>&1; then updatenode service -P servicenode;fi
check:rc==0
cmd:if lsdef service > /dev/null 2>&1; then xdsh $$CN date;fi
check:rc==0
end