htools-dynutil.test 591 Bytes
Newer Older
1
echo a > $T/dynu; ./htest/hbal -U $T/dynu $BACKEND_DYNU
2
3
4
>>>2 /Cannot parse line/
>>>= !0

5
echo a b c d e f g h > $T/dynu; ./htest/hbal -U $T/dynu $BACKEND_DYNU
6
7
8
>>>2 /Cannot parse line/
>>>= !0

9
echo inst cpu mem dsk net >$T/dynu; ./htest/hbal -U $T/dynu $BACKEND_DYNU
10
11
12
13
>>>2 /cannot parse string '(cpu|mem|dsk|net)'/
>>>= !0

# unknown instances are currently just ignored
14
echo no-such-inst 2 2 2 2 > $T/dynu; ./htest/hbal -U $T/dynu $BACKEND_DYNU
15
16
17
>>>= 0

# new-0 is the name of the first instance allocated by hspace
18
echo new-0 2 2 2 2 > $T/dynu; ./htest/hbal -U $T/dynu $BACKEND_DYNU
19
>>>= 0