Statistics
| Branch: | Tag: | Revision:

root / test / hs / shelltests / htools-invalid.test @ 4eb33085

History | View | Annotate | Download (1.5 kB)

1 53d4cdf1 Iustin Pop
# invalid option test
2 83846468 Iustin Pop
./test/hs/hail --no-such-option
3 53d4cdf1 Iustin Pop
>>>= 2
4 53d4cdf1 Iustin Pop
5 53d4cdf1 Iustin Pop
# invalid option test
6 83846468 Iustin Pop
./test/hs/hbal --no-such-option
7 53d4cdf1 Iustin Pop
>>>= 2
8 53d4cdf1 Iustin Pop
9 53d4cdf1 Iustin Pop
# invalid option test
10 83846468 Iustin Pop
./test/hs/hspace --no-such-option
11 53d4cdf1 Iustin Pop
>>>= 2
12 53d4cdf1 Iustin Pop
13 53d4cdf1 Iustin Pop
# invalid option test
14 83846468 Iustin Pop
./test/hs/hscan --no-such-option
15 53d4cdf1 Iustin Pop
>>>= 2
16 53d4cdf1 Iustin Pop
17 53d4cdf1 Iustin Pop
# invalid option test
18 83846468 Iustin Pop
./test/hs/hinfo --no-such-option
19 53d4cdf1 Iustin Pop
>>>= 2
20 53d4cdf1 Iustin Pop
21 165b385b Agata Murawska
# invalid option test
22 83846468 Iustin Pop
./test/hs/hcheck --no-such-option
23 165b385b Agata Murawska
>>>= 2
24 165b385b Agata Murawska
25 04cc7d3f Iustin Pop
# invalid option test
26 83846468 Iustin Pop
./test/hs/hroller --no-such-option
27 04cc7d3f Iustin Pop
>>>= 2
28 04cc7d3f Iustin Pop
29 53d4cdf1 Iustin Pop
# extra arguments
30 83846468 Iustin Pop
./test/hs/hspace unexpected-argument
31 53d4cdf1 Iustin Pop
>>>2
32 707cd3d7 Helga Velroyen
Error: This program doesn't take any arguments.
33 53d4cdf1 Iustin Pop
>>>=1
34 53d4cdf1 Iustin Pop
35 83846468 Iustin Pop
./test/hs/hbal unexpected-argument
36 53d4cdf1 Iustin Pop
>>>2
37 707cd3d7 Helga Velroyen
Error: This program doesn't take any arguments.
38 53d4cdf1 Iustin Pop
>>>=1
39 53d4cdf1 Iustin Pop
40 83846468 Iustin Pop
./test/hs/hinfo unexpected-argument
41 53d4cdf1 Iustin Pop
>>>2
42 707cd3d7 Helga Velroyen
Error: This program doesn't take any arguments.
43 53d4cdf1 Iustin Pop
>>>=1
44 165b385b Agata Murawska
45 83846468 Iustin Pop
./test/hs/hcheck unexpected-argument
46 165b385b Agata Murawska
>>>2
47 707cd3d7 Helga Velroyen
Error: This program doesn't take any arguments.
48 5b93f2ec Agata Murawska
>>>=1
49 04cc7d3f Iustin Pop
50 83846468 Iustin Pop
./test/hs/hroller unexpected-argument
51 04cc7d3f Iustin Pop
>>>2
52 04cc7d3f Iustin Pop
Error: This program doesn't take any arguments.
53 04cc7d3f Iustin Pop
>>>=1
54 04cc7d3f Iustin Pop
55 7dbe4c72 Klaus Aehlig
# hroller should notice the absence of a master node
56 83846468 Iustin Pop
./test/hs/hroller -t$TESTDATA_DIR/empty-cluster.data
57 7dbe4c72 Klaus Aehlig
>>>2/Error: No master node found/
58 7dbe4c72 Klaus Aehlig
>>>=1
59 7dbe4c72 Klaus Aehlig
60 7dbe4c72 Klaus Aehlig
# hroller fails to build a graph for an empty cluster
61 7dbe4c72 Klaus Aehlig
./test/hs/hroller -f -t$TESTDATA_DIR/empty-cluster.data
62 7dbe4c72 Klaus Aehlig
>>>2/Error: Cannot create node graph/
63 04cc7d3f Iustin Pop
>>>=1
64 a81ca843 Iustin Pop
65 754b9b1c Klaus Aehlig
# hroller should reject a configuration with more than one master,
66 754b9b1c Klaus Aehlig
# even with -f
67 754b9b1c Klaus Aehlig
./test/hs/hroller -f -t$TESTDATA_DIR/multiple-master.data
68 754b9b1c Klaus Aehlig
>>>2/Error: Found more than one master node/
69 754b9b1c Klaus Aehlig
>>>=1
70 754b9b1c Klaus Aehlig
71 a81ca843 Iustin Pop
# hbal doesn't accept invalid priority
72 a81ca843 Iustin Pop
./test/hs/hbal --priority=abc
73 a81ca843 Iustin Pop
>>>2/Unknown priority/
74 a81ca843 Iustin Pop
>>>=1