CVE-2016-0771: tests/dns: Remove dependencies on env variables
[Samba.git] / ctdb / tests / eventscripts / 13.per_ip_routing.010.sh
blobd11585ec51068851af12d1c8b6fad6ea3642de6d
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "All IPs configured, takeip on all nodes"
7 setup_ctdb
8 setup_ctdb_policy_routing
10 # create config for all IPs
11 create_policy_routing_config all default
13 ctdb_get_my_public_addresses |
14 while read dev ip bits ; do
15 ok_null
16 simple_test_event "takeip" $dev $ip $bits
17 done
19 # should have routes for all IPs
20 check_routes all default