testprogs/blackbox: add test_trust_utils.sh
[Samba.git] / ctdb / tests / eventscripts / 13.per_ip_routing.007.sh
blob096bc96d99697e7db1eddbefc7c5d10b64a39576
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "1 IP configured, ipreallocated"
7 setup_ctdb
8 setup_ctdb_policy_routing
10 # create config for 1 IP
11 create_policy_routing_config 1 default
13 # no takeip, but ipreallocated should add any missing routes
14 ok_null
15 simple_test_event "ipreallocated"
17 # should have routes for 1 IP
18 check_routes 1 default