smbd: Simplify validate_lock_entries
[Samba.git] / ctdb / tests / eventscripts / 13.per_ip_routing.021.sh
blob609ecadb0630e3fd0354b50b6b3b612287bb8f94
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "Invalid table ID range - includes system tables"
7 setup_ctdb
8 setup_ctdb_policy_routing
10 CTDB_PER_IP_ROUTING_TABLE_ID_LOW=100
11 CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=500
13 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"
14 simple_test_event "ipreallocated"