Statistics
| Branch: | Tag: | Revision:

root / htest / shelltests / htools-single-group.test @ 04cc7d3f

History | View | Annotate | Download (1011 Bytes)

1
# standard single-group tests
2
./htest/hinfo -v -v -p --print-instances -t$T/simu-onegroup.standard
3
>>>= 0
4

    
5
./htest/hbal  -v -v -p --print-instances -t$T/simu-onegroup.standard
6
>>>= 0
7

    
8
# hbal should not be able to balance
9
./htest/hbal -t$T/simu-onegroup.standard
10
>>> /(Nothing to do, exiting|No solution found)/
11
>>>= 0
12

    
13

    
14
# tiered single-group tests
15
./htest/hinfo -v -v -p --print-instances -t$T/simu-onegroup.tiered
16
>>>= 0
17

    
18
./htest/hbal  -v -v -p --print-instances -t$T/simu-onegroup.tiered
19
>>>= 0
20

    
21
# hbal should not be able to balance
22
./htest/hbal -t$T/simu-onegroup.tiered
23
>>> /(Nothing to do, exiting|No solution found)/
24
>>>= 0
25

    
26
# hcheck should not find reason to rebalance
27
./htest/hcheck -t$T/simu-onegroup.tiered --machine-readable
28
>>> /HCHECK_INIT_CLUSTER_NEED_REBALANCE=0/
29
>>>= 0
30

    
31
# hroller should be able to print the solution
32
./htest/hroller -t$T/simu-onegroup.tiered
33
>>>= 0
34

    
35
# hroller should be able to print the solution, in verbose mode as well
36
./htest/hroller -t$T/simu-onegroup.tiered -v -v
37
>>>= 0