summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/UNIT/eventscripts/13.per_ip_routing.003.sh
blob: 4eac9635ce6e3afa99fa384dbe963a547b9ec7e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "empty config, ipreallocated"

setup

create_policy_routing_config 0

# ipreallocated should silently add any missing routes
ok_null
simple_test_event "ipreallocated"

# empty configuration file should mean there are no routes
check_routes 0