summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/eventscripts/13.per_ip_routing.022.sh
blob: 28997e3e6cf5f7a2e7e0601cf0c4754328885326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "Invalid table ID range - reversed"

setup_ctdb
setup_ctdb_policy_routing

CTDB_PER_IP_ROUTING_TABLE_ID_LOW=9000
CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=1000

required_result 1 "error: CTDB_PER_IP_ROUTING_TABLE_ID_LOW[${CTDB_PER_IP_ROUTING_TABLE_ID_LOW}] and/or CTDB_PER_IP_ROUTING_TABLE_ID_HIGH[${CTDB_PER_IP_ROUTING_TABLE_ID_HIGH}] improperly configured"
simple_test_event "ipreallocated"