Migrate lib/tools/ensure_dirs.py to pathutils
[ganeti-local] / htest / shelltests / htools-text-backend.test
1 # missing resources test
2 ./htest/hbal -t $TESTDATA_DIR/missing-resources.data
3 >>>2 /node node2 is missing .* ram and .* disk/
4 >>>= 0
5 ./htest/hinfo -t $TESTDATA_DIR/missing-resources.data
6 >>>2 /node node2 is missing .* ram and .* disk/
7 >>>= 0
8
9
10 # common suffix test
11 ./htest/hbal -t $TESTDATA_DIR/common-suffix.data -v -v
12 >>>/Stripping common suffix of '\.example\.com' from names/
13 >>>= 0
14 ./htest/hinfo -t $TESTDATA_DIR/common-suffix.data -v -v
15 >>>/Stripping common suffix of '\.example\.com' from names/
16 >>>= 0
17
18
19 # invalid node test
20 ./htest/hbal -t $TESTDATA_DIR/invalid-node.data
21 >>>2 /Unknown node '.*' for instance new-0/
22 >>>= !0
23
24 ./htest/hspace -t $TESTDATA_DIR/invalid-node.data
25 >>>2 /Unknown node '.*' for instance new-0/
26 >>>= !0
27
28 ./htest/hinfo -t $TESTDATA_DIR/invalid-node.data
29 >>>2 /Unknown node '.*' for instance new-0/
30 >>>= !0