Revision 189b51fa htest/shelltests/htools-invalid.test

b/htest/shelltests/htools-invalid.test
1 1
# invalid option test
2
./test/hail --no-such-option
2
./htest/hail --no-such-option
3 3
>>>= 2
4 4

  
5 5
# invalid option test
6
./test/hbal --no-such-option
6
./htest/hbal --no-such-option
7 7
>>>= 2
8 8

  
9 9
# invalid option test
10
./test/hspace --no-such-option
10
./htest/hspace --no-such-option
11 11
>>>= 2
12 12

  
13 13
# invalid option test
14
./test/hscan --no-such-option
14
./htest/hscan --no-such-option
15 15
>>>= 2
16 16

  
17 17
# invalid option test
18
./test/hinfo --no-such-option
18
./htest/hinfo --no-such-option
19 19
>>>= 2
20 20

  
21 21
# invalid option test
22
./test/hcheck --no-such-option
22
./htest/hcheck --no-such-option
23 23
>>>= 2
24 24

  
25 25
# extra arguments
26
./test/hspace unexpected-argument
26
./htest/hspace unexpected-argument
27 27
>>>2
28 28
Error: this program doesn't take any arguments.
29 29
>>>=1
30 30

  
31
./test/hbal unexpected-argument
31
./htest/hbal unexpected-argument
32 32
>>>2
33 33
Error: this program doesn't take any arguments.
34 34
>>>=1
35 35

  
36
./test/hinfo unexpected-argument
36
./htest/hinfo unexpected-argument
37 37
>>>2
38 38
Error: this program doesn't take any arguments.
39 39
>>>=1
40 40

  
41
./test/hcheck unexpected-argument
41
./htest/hcheck unexpected-argument
42 42
>>>2
43 43
Error: this program doesn't take any arguments.
44 44
>>>=1

Also available in: Unified diff