Merge branch 'master' of ctdb into 'master' of samba
[samba.git] / ctdb / tests / eventscripts / 13.per_ip_routing.003.sh
1 #!/bin/sh
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "empty config, ipreallocated"
6
7 setup_ctdb
8 setup_ctdb_policy_routing
9
10 create_policy_routing_config 0
11
12 # ipreallocated should silently add any missing routes
13 ok_null
14 simple_test_event "ipreallocated"
15
16 # empty configuration file should mean there are no routes
17 check_routes 0