Statistics
| Branch: | Tag: | Revision:

root / test / hs / shelltests / htools-dynutil.test @ 83846468

History | View | Annotate | Download (601 Bytes)

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