2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 17:46:38 +00:00

modify rinv testcase

This commit is contained in:
junxiawang 2017-07-26 07:52:00 -04:00
parent 8df6243c57
commit 2caa6e9d58

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