summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/eventscripts/13.per_ip_routing.021.sh
blob: 609ecadb0630e3fd0354b50b6b3b612287bb8f94 (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 - includes system tables"

setup_ctdb
setup_ctdb_policy_routing

CTDB_PER_IP_ROUTING_TABLE_ID_LOW=100
CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=500

required_result 1 "error: range CTDB_PER_IP_ROUTING_TABLE_ID_LOW[${CTDB_PER_IP_ROUTING_TABLE_ID_LOW}]..CTDB_PER_IP_ROUTING_TABLE_ID_HIGH[${CTDB_PER_IP_ROUTING_TABLE_ID_HIGH}] must not include 253-255"
simple_test_event "ipreallocated"