Fix Haskell compatibility tests with disabled file storage
[ganeti-local] / test / hs / shelltests / htools-excl.test
1 ./test/hs/hbal $BACKEND_EXCL --exclude-instances no-such-instance
2 >>>2 /Unknown instance/
3 >>>= !0
4
5 ./test/hs/hbal $BACKEND_EXCL --select-instances no-such-instances
6 >>>2 /Unknown instance/
7 >>>= !0
8
9 ./test/hs/hbal $BACKEND_EXCL --exclude-instances new-0 --select-instances new-1
10 >>>= 0
11
12 # Test exclusion tags too (both from the command line and cluster tags).
13 ./test/hs/hbal -t $TESTDATA_DIR/hbal-excl-tags.data --exclusion-tags test
14 >>> /Cluster score improved/
15 >>>= 0