Skip to content

Commit 7453088

Browse files
author
xuweibj
authored
Merge pull request #3539 from junxiawang/0726
modify rinv testcase
2 parents 636a24c + 2caa6e9 commit 7453088

File tree

1 file changed

+13
-0
lines changed
  • xCAT-test/autotest/testcase/rinv

1 file changed

+13
-0
lines changed

xCAT-test/autotest/testcase/rinv/cases0

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ check:rc==0
1111
check:output=~Usage
1212
check:output=~rinv
1313
end
14+
start:rinv_help
15+
description:show help information for rinv
16+
cmd:rinv --help
17+
check:rc==0
18+
check:output=~Usage
19+
check:output=~rinv
20+
end
1421
start:rinv_v
1522
description:show version for Version
1623
cmd:rinv -v
@@ -118,3 +125,9 @@ check:output=~$$CN: Error: Invalid username or password
118125
cmd:cat /tmp/testnode.stanza | chdef -z;rm -rf /tmp/testnode.stanza
119126
check:rc==0
120127
end
128+
start:rinv_errorcommand
129+
description:get right return if input error command
130+
cmd:rinv $$CN dafds
131+
check:rc==1
132+
check:output=~Unsupported command
133+
end

0 commit comments

Comments
 (0)