4 ./test/hinfo -v -v -p --print-instances $BACKEND_BAL_STD
6 ./test/hbal -v -v -v -p --print-instances $BACKEND_BAL_STD -G group-01
7 >>> !/(Nothing to do, exiting|No solution found)/
8 >>>2 !/(Nothing to do, exiting|No solution found)/
12 ./test/hbal $BACKEND_BAL_STD -G group-01 -C -S $T/simu-rebal.standard
13 >>> /gnt-instance (failover|migrate|replace-disks)/
16 # test saving commands
17 ./test/hbal $BACKEND_BAL_STD -G group-01 -C$T/rebal-cmds.standard
19 # and now check the file (depends on previous test)
20 cat $T/rebal-cmds.standard
21 >>> /gnt-instance (failover|migrate|replace-disks)/
24 # state saved before rebalancing should be identical; depends on the
26 diff -u $T/simu-rebal-merged.standard $T/simu-rebal.standard.original
30 # no double rebalance; depends on previous test
31 ./test/hbal -t $T/simu-rebal.standard.balanced -G group-01
32 >>> /(Nothing to do, exiting|No solution found)/
38 ./test/hinfo -v -v -p --print-instances $BACKEND_BAL_TIER
40 ./test/hbal -v -v -v -p --print-instances $BACKEND_BAL_TIER -G group-01
41 >>> !/(Nothing to do, exiting|No solution found)/
42 >>>2 !/(Nothing to do, exiting|No solution found)/
46 ./test/hbal $BACKEND_BAL_TIER -G group-01 -C -S $T/simu-rebal.tiered
47 >>> /gnt-instance (failover|migrate|replace-disks)/
50 # test saving commands
51 ./test/hbal $BACKEND_BAL_TIER -G group-01 -C$T/rebal-cmds.tiered
53 # and now check the file (depends on previous test)
54 cat $T/rebal-cmds.tiered
55 >>> /gnt-instance (failover|migrate|replace-disks)/
58 # state saved before rebalancing should be identical; depends on the
60 diff -u $T/simu-rebal-merged.tiered $T/simu-rebal.tiered.original
64 # no double rebalance; depends on previous test
65 ./test/hbal -t $T/simu-rebal.tiered.balanced -G group-01
66 >>> /(Nothing to do, exiting|No solution found)/