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

Merge pull request #3539 from junxiawang/0726

modify rinv testcase
This commit is contained in:
xuweibj
2017-07-26 16:05:04 +08:00
committed by GitHub

View File

@ -11,6 +11,13 @@ check:rc==0
check:output=~Usage
check:output=~rinv
end
start:rinv_help
description:show help information for rinv
cmd:rinv --help
check:rc==0
check:output=~Usage
check:output=~rinv
end
start:rinv_v
description:show version for Version
cmd:rinv -v
@ -118,3 +125,9 @@ check:output=~$$CN: Error: Invalid username or password
cmd:cat /tmp/testnode.stanza | chdef -z;rm -rf /tmp/testnode.stanza
check:rc==0
end
start:rinv_errorcommand
description:get right return if input error command
cmd:rinv $$CN dafds
check:rc==1
check:output=~Unsupported command
end