1#!/bin/sh 2 3. "${TEST_SCRIPTS_DIR}/unit.sh" 4 5define_test "1 IP configured, takeip" 6 7setup 8 9# Configuration for 1 IP 10create_policy_routing_config 1 default 11 12# takeip should add routes for the given address 13ctdb_get_1_public_address | 14while read dev ip bits ; do 15 ok_null 16 simple_test_event "takeip" $dev $ip $bits 17done 18 19# Should have routes for 1 IP 20check_routes 1 default 21