Statistics
| Branch: | Tag: | Revision:

root / htest / shelltests / htools-dynutil.test @ 570274e4

History | View | Annotate | Download (591 Bytes)

1 189b51fa Iustin Pop
echo a > $T/dynu; ./htest/hbal -U $T/dynu $BACKEND_DYNU
2 53d4cdf1 Iustin Pop
>>>2 /Cannot parse line/
3 53d4cdf1 Iustin Pop
>>>= !0
4 53d4cdf1 Iustin Pop
5 189b51fa Iustin Pop
echo a b c d e f g h > $T/dynu; ./htest/hbal -U $T/dynu $BACKEND_DYNU
6 53d4cdf1 Iustin Pop
>>>2 /Cannot parse line/
7 53d4cdf1 Iustin Pop
>>>= !0
8 53d4cdf1 Iustin Pop
9 189b51fa Iustin Pop
echo inst cpu mem dsk net >$T/dynu; ./htest/hbal -U $T/dynu $BACKEND_DYNU
10 53d4cdf1 Iustin Pop
>>>2 /cannot parse string '(cpu|mem|dsk|net)'/
11 53d4cdf1 Iustin Pop
>>>= !0
12 53d4cdf1 Iustin Pop
13 53d4cdf1 Iustin Pop
# unknown instances are currently just ignored
14 189b51fa Iustin Pop
echo no-such-inst 2 2 2 2 > $T/dynu; ./htest/hbal -U $T/dynu $BACKEND_DYNU
15 53d4cdf1 Iustin Pop
>>>= 0
16 53d4cdf1 Iustin Pop
17 53d4cdf1 Iustin Pop
# new-0 is the name of the first instance allocated by hspace
18 189b51fa Iustin Pop
echo new-0 2 2 2 2 > $T/dynu; ./htest/hbal -U $T/dynu $BACKEND_DYNU
19 53d4cdf1 Iustin Pop
>>>= 0