htools-text-backend.test 837 Bytes
Newer Older
1
# missing resources test
2
./htest/hbal -t $TESTDATA_DIR/missing-resources.data
3
4
>>>2 /node node2 is missing .* ram and .* disk/
>>>= 0
5
./htest/hinfo -t $TESTDATA_DIR/missing-resources.data
6
7
8
9
10
>>>2 /node node2 is missing .* ram and .* disk/
>>>= 0


# common suffix test
11
./htest/hbal -t $TESTDATA_DIR/common-suffix.data -v -v
12
13
>>>/Stripping common suffix of '\.example\.com' from names/
>>>= 0
14
./htest/hinfo -t $TESTDATA_DIR/common-suffix.data -v -v
15
16
17
18
19
>>>/Stripping common suffix of '\.example\.com' from names/
>>>= 0


# invalid node test
20
./htest/hbal -t $TESTDATA_DIR/invalid-node.data
21
22
23
>>>2 /Unknown node '.*' for instance new-0/
>>>= !0

24
./htest/hspace -t $TESTDATA_DIR/invalid-node.data
25
26
27
>>>2 /Unknown node '.*' for instance new-0/
>>>= !0

28
./htest/hinfo -t $TESTDATA_DIR/invalid-node.data
29
30
>>>2 /Unknown node '.*' for instance new-0/
>>>= !0