ldb: Release ldb 1.3.0
[Samba.git] / ctdb / tests / eventscripts / 13.per_ip_routing.018.sh
blobce919890c0b60bc7fd4657e371d5d23d357a91cf
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "1 IP configured, ipreallocated, more routes, reconfigure"
7 setup_ctdb
8 setup_ctdb_policy_routing
10 create_policy_routing_config 1
12 # no takeip, but ipreallocated should add any missing routes
13 ok_null
14 simple_test_event "ipreallocated"
16 create_policy_routing_config 1 default
18 # reconfigure should update routes even though rules are unchanged
19 ok "Reconfiguring service \"${service_name}\"..."
20 simple_test_event "reconfigure"
22 check_routes 1 default