root / test / htools-dynutil.test @ 53d4cdf1
History | View | Annotate | Download (586 Bytes)
1 | 53d4cdf1 | Iustin Pop | echo a > $T/dynu; ./test/hbal -U $T/dynu $BACKEND_DYNU |
---|---|---|---|
2 | 53d4cdf1 | Iustin Pop | >>>2 /Cannot parse line/ |
3 | 53d4cdf1 | Iustin Pop | >>>= !0 |
4 | 53d4cdf1 | Iustin Pop | |
5 | 53d4cdf1 | Iustin Pop | echo a b c d e f g h > $T/dynu; ./test/hbal -U $T/dynu $BACKEND_DYNU |
6 | 53d4cdf1 | Iustin Pop | >>>2 /Cannot parse line/ |
7 | 53d4cdf1 | Iustin Pop | >>>= !0 |
8 | 53d4cdf1 | Iustin Pop | |
9 | 53d4cdf1 | Iustin Pop | echo inst cpu mem dsk net >$T/dynu; ./test/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 | 53d4cdf1 | Iustin Pop | echo no-such-inst 2 2 2 2 > $T/dynu; ./test/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 | 53d4cdf1 | Iustin Pop | echo new-0 2 2 2 2 > $T/dynu; ./test/hbal -U $T/dynu $BACKEND_DYNU |
19 | 53d4cdf1 | Iustin Pop | >>>= 0 |