wafsamba: fix pidl dependencies to rebuild on pidl changes
[Samba.git] / ctdb / tests / eventscripts / 13.per_ip_routing.013.sh
blob226208323b04508438324cc574ed2e5537202e3b
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "1 IP configured, releaseip of unassigned"
7 setup
9 create_policy_routing_config 1 default
11 ctdb_get_1_public_address |
12 while read dev ip bits ; do
13 ok <<EOF
14 WARNING: Failed to delete policy routing rule
15 Command "ip rule del from $ip pref $CTDB_PER_IP_ROUTING_RULE_PREF table ctdb.$ip" failed:
16 RTNETLINK answers: No such file or directory
17 EOF
19 simple_test_event "releaseip" $dev $ip $bits
20 done
22 # there should be no routes
23 check_routes 0