smbd: Simplify validate_lock_entries
[Samba.git] / ctdb / tests / eventscripts / 13.per_ip_routing.009.sh
blobcbea1ade61cf96f0cc2c9741db9c4f19e7720110
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "All IPs configured, takeip 1 address"
7 setup_ctdb
8 setup_ctdb_policy_routing
10 # configure all addresses
11 create_policy_routing_config all default
13 # add routes for all 1 IP
14 ctdb_get_1_public_address |
15 while read dev ip bits ; do
16 ok_null
17 simple_test_event "takeip" $dev $ip $bits
18 done
20 # for 1 IP
21 check_routes 1 default