2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 20:30:56 +00:00

Merge pull request #3739 from tingtli/updatenode

refine cases to reduce false error
This commit is contained in:
Weihua Hu
2017-08-23 10:01:07 +08:00
committed by GitHub

View File

@ -8,9 +8,10 @@ cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-inst
check:rc==0
cmd:updatenode $$CN -F >/tmp/updatenode.F.out
check:rc!=0
cmd:grep 'updatenode exited with code 1' /tmp/updatenode.F.out
cmd:grep '"/tmp/non-existent" failed: No such file or directory' /tmp/updatenode.F.out
check:rc==0
cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute synclists=
check:rc==0
cmd:rm -f /install/custom/install/__GETNODEATTR($$CN,os)__/booboo.synclist
cmd:rm -rf /tmp/updatenode.F.out
end