2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 03:00:26 +00:00

Merge pull request #4447 from robin2008/disjoint-testcase

Modify the nodeset disjoint test case accordingly for #4426
This commit is contained in:
Weihua Hu
2017-12-11 14:13:02 +08:00
committed by GitHub

View File

@@ -411,8 +411,9 @@ check:rc==0
cmd:nodeset testnode1 osimage=rhels7.99-ppc64le-install-compute
#Ignore the exit code check as nonexistenode is fake and dispatching always fail
#check:rc==0
#nodeset will be always run on MN (#4426)
cmd:test -f /tftpboot.1/petitboot/testnode1
check:rc!=0
check:rc==0
cmd:xdsh $$SN 'test -f /tftpboot.1/petitboot/testnode1'
check:rc!=0
cmd:nodeset testnode1 offline
@@ -435,6 +436,8 @@ cmd:chdef -t site tftpdir=/tftpboot
check:rc==0
cmd:rm -rf /tftpboot.1
cmd:xdsh $$SN 'rm -rf /tftpboot.1'
cmd:makedns -d testnode1
check:rc==0
cmd:chdef -t node -o testnode1 ip=
check:rc==0
cmd:cp -f /etc/hosts.xcattestbak /etc/hosts