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:
parent
8df6243c57
commit
2caa6e9d58
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user