ctdb-tests: Move eventscript tests to UNIT/ subdirectory
[vlendec/samba-autobuild/.git] / ctdb / tests / UNIT / eventscripts / 13.per_ip_routing.004.sh
1 #!/bin/sh
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "empty config, takeip"
6
7 setup
8
9 create_policy_routing_config 0
10
11 public_address=$(ctdb_get_1_public_address)
12
13 ok_null
14 simple_test_event "takeip" $public_address
15
16 # empty configuration file should mean there are no routes
17 check_routes 0