Statistics
| Branch: | Tag: | Revision:

root / test / hs / shelltests / htools-invalid.test @ dde85e1e

History | View | Annotate | Download (1.2 kB)

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

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

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

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

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

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

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

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

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

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

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

    
50
./test/hs/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
./test/hs/hroller -t$TESTDATA_DIR/empty-cluster.data
57
>>>2
58
Error: Cannot create node graph
59
>>>=1
60

    
61
# hbal doesn't accept invalid priority
62
./test/hs/hbal --priority=abc
63
>>>2/Unknown priority/
64
>>>=1