2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-16 19:30:26 +00:00

add nodeset_errorcommand testcase for issue :3175 (#3300)

This commit is contained in:
junxiawang
2017-06-21 14:56:38 +08:00
committed by yangsong
parent 998b5ee609
commit e5dd79d55e

View File

@ -196,4 +196,11 @@ cmd:noderm testnode1
cmd:rmdef -t osimage -o "__GETNODEATTR($$CN,os)__-x86_64-install-compute"
cmd:cp -f /etc/hosts.xcattestbak /etc/hosts
end
start:nodeset_errorcommand
description:This testcase is to very nodeset osimage errorcommand could give right output
Attribute: $$CN-The operation object of nodeset command
cmd:nodeset $$CN osimage= __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute
check:rc==1
check:output=~Error: Invalid argument:
check:output=~Usage: nodeset <noderange>
end