blob: 3354318e023b7d3585662bb81784d1c0441bf4cb [file] [log] [blame]
# invalid option test
./test/hs/hail --no-such-option
>>>= 2
# invalid option test
./test/hs/hbal --no-such-option
>>>= 2
# invalid option test
./test/hs/hspace --no-such-option
>>>= 2
# invalid option test
./test/hs/hscan --no-such-option
>>>= 2
# invalid option test
./test/hs/hinfo --no-such-option
>>>= 2
# invalid option test
./test/hs/hcheck --no-such-option
>>>= 2
# invalid option test
./test/hs/hroller --no-such-option
>>>= 2
# extra arguments
./test/hs/hspace unexpected-argument
>>>2
Error: This program doesn't take any arguments.
>>>=1
./test/hs/hbal unexpected-argument
>>>2
Error: This program doesn't take any arguments.
>>>=1
./test/hs/hinfo unexpected-argument
>>>2
Error: This program doesn't take any arguments.
>>>=1
./test/hs/hcheck unexpected-argument
>>>2
Error: This program doesn't take any arguments.
>>>=1
./test/hs/hroller unexpected-argument
>>>2
Error: This program doesn't take any arguments.
>>>=1
# hroller should notice the absence of a master node
./test/hs/hroller -t$TESTDATA_DIR/empty-cluster.data
>>>2/Error: No master node found/
>>>=1
# hroller fails to build a graph for an empty cluster
./test/hs/hroller -f -t$TESTDATA_DIR/empty-cluster.data
>>>2/Error: Cannot create node graph/
>>>=1
# hroller should reject a configuration with more than one master,
# even with -f
./test/hs/hroller -f -t$TESTDATA_DIR/multiple-master.data
>>>2/Error: Found more than one master node/
>>>=1
# hbal doesn't accept invalid priority
./test/hs/hbal --priority=abc
>>>2/Unknown priority/
>>>=1