wafsamba: fix pidl dependencies to rebuild on pidl changes
[Samba.git] / ctdb / tests / eventscripts / 13.per_ip_routing.008.sh
blob889b4c4a7b6a77f85967f618e5dc885d07c9327b
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "1 IP configured, takeip twice"
7 setup
9 # create config for 1 IP
10 create_policy_routing_config 1 default
12 ctdb_get_1_public_address |
13 while read dev ip bits ; do
14 ok_null
15 simple_test_event "takeip" $dev $ip $bits
17 # 2nd takeip event for the same IP should be a no-op
18 ok_null
19 simple_test_event "takeip" $dev $ip $bits
20 done
22 # should be routes for 1 IP
23 check_routes 1 default