Convert manual shell tests to shelltestrunner
[ganeti-local] / test / htools-invalid.test
1 # invalid option test
2 ./test/hail --no-such-option
3 >>>= 2
4
5 # invalid option test
6 ./test/hbal --no-such-option
7 >>>= 2
8
9 # invalid option test
10 ./test/hspace --no-such-option
11 >>>= 2
12
13 # invalid option test
14 ./test/hscan --no-such-option
15 >>>= 2
16
17 # invalid option test
18 ./test/hinfo --no-such-option
19 >>>= 2
20
21 # extra arguments
22 ./test/hspace unexpected-argument
23 >>>2
24 Error: this program doesn't take any arguments.
25 >>>=1
26
27 ./test/hbal unexpected-argument
28 >>>2
29 Error: this program doesn't take any arguments.
30 >>>=1
31
32 ./test/hinfo unexpected-argument
33 >>>2
34 Error: this program doesn't take any arguments.
35 >>>=1