3 .
"${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test
"1 IP configured, takeip twice"
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
15 simple_test_event
"takeip" $dev $ip $bits
17 # 2nd takeip event for the same IP should be a no-op
19 simple_test_event
"takeip" $dev $ip $bits
22 # should be routes for 1 IP
23 check_routes
1 default