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:
@ -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
|
||||
|
Reference in New Issue
Block a user