Revision 9915fb20 htools/offline-test.sh
b/htools/offline-test.sh | ||
---|---|---|
60 | 60 |
grep -q "Error: Only one of the rapi, luxi, and data files options should be given." |
61 | 61 |
echo OK |
62 | 62 |
|
63 |
echo Checking text file loading |
|
64 |
hbal -t $TESTDATA_DIR/missing-resources.data 2>&1 | \ |
|
65 |
grep "node node2 is missing .* ram and .* disk" >/dev/null |
|
66 |
hbal -t $TESTDATA_DIR/common-suffix.data -v 2>&1 | \ |
|
67 |
grep "Stripping common suffix of '.example.com' from names" >/dev/null |
|
68 |
(! hbal -t $TESTDATA_DIR/invalid-node.data 2>&1 ) | \ |
|
69 |
grep "Unknown node '.*' for instance new-0" >/dev/null |
|
70 |
echo OK |
|
71 |
|
|
63 | 72 |
echo Checking hspace machine-readable mode |
64 | 73 |
hspace --simu p,4,8T,64g,16 --machine-readable \ |
65 | 74 |
--disk-template drbd -l 8 >$T/capacity |
Also available in: Unified diff