bash_completion: Enable extglob while parsing file
[ganeti-local] / test / htools-single-group.test
1 # standard single-group tests
2 ./test/hinfo -v -v -p --print-instances -t$T/simu-onegroup.standard
3 >>>= 0
4
5 ./test/hbal  -v -v -p --print-instances -t$T/simu-onegroup.standard
6 >>>= 0
7
8 # hbal should not be able to balance
9 ./test/hbal -t$T/simu-onegroup.standard
10 >>> /(Nothing to do, exiting|No solution found)/
11 >>>= 0
12
13
14 # tiered single-group tests
15 ./test/hinfo -v -v -p --print-instances -t$T/simu-onegroup.tiered
16 >>>= 0
17
18 ./test/hbal  -v -v -p --print-instances -t$T/simu-onegroup.tiered
19 >>>= 0
20
21 # hbal should not be able to balance
22 ./test/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 ./test/hcheck -t$T/simu-onegroup.tiered --machine-readable
28 >>> /HCHECK_INIT_CLUSTER_NEED_REBALANCE=0/
29 >>>= 0