Statistics
| Branch: | Tag: | Revision:

root / htest / shelltests / htools-invalid.test @ 04cc7d3f

History | View | Annotate | Download (1 kB)

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

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

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

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

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

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

    
25
# invalid option test
26
./htest/hroller --no-such-option
27
>>>= 2
28

    
29
# extra arguments
30
./htest/hspace unexpected-argument
31
>>>2
32
Error: This program doesn't take any arguments.
33
>>>=1
34

    
35
./htest/hbal unexpected-argument
36
>>>2
37
Error: This program doesn't take any arguments.
38
>>>=1
39

    
40
./htest/hinfo unexpected-argument
41
>>>2
42
Error: This program doesn't take any arguments.
43
>>>=1
44

    
45
./htest/hcheck unexpected-argument
46
>>>2
47
Error: This program doesn't take any arguments.
48
>>>=1
49

    
50
./htest/hroller unexpected-argument
51
>>>2
52
Error: This program doesn't take any arguments.
53
>>>=1
54

    
55
# hroller fails to build a graph for an empty cluster
56
./htest/hroller -t$TESTDATA_DIR/empty-cluster.data
57
>>>2
58
Error: Cannot create node graph
59
>>>=1