KCC: explicit None check in refresh_failed_links_connections()
[Samba.git] / ctdb / tests / eventscripts / 13.per_ip_routing.002.sh
blobd6320c65d894962f53db714953493aec7f992eb0
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "missing config file"
7 setup_ctdb
8 setup_ctdb_policy_routing
10 # Error because policy routing is configured but the configuration
11 # file is missing.
12 required_result 1 <<EOF
13 error: CTDB_PER_IP_ROUTING_CONF=${CTDB_BASE}/policy_routing file not found
14 EOF
16 for i in "startup" "ipreallocated" "monitor" ; do
17 simple_test_event "$i"
18 done