testprogs/blackbox: add test_trust_utils.sh
[Samba.git] / ctdb / tests / eventscripts / 13.per_ip_routing.003.sh
blobbb2c4b70fb2548f5ca125663668d412ad51df004
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "empty config, ipreallocated"
7 setup_ctdb
8 setup_ctdb_policy_routing
10 create_policy_routing_config 0
12 # ipreallocated should silently add any missing routes
13 ok_null
14 simple_test_event "ipreallocated"
16 # empty configuration file should mean there are no routes
17 check_routes 0