tests/eventscripts: Fix a policy routing test
authorMartin Schwenke <martin@meltin.net>
Thu, 10 May 2012 04:32:06 +0000 (14:32 +1000)
committerMartin Schwenke <martin@meltin.net>
Fri, 11 May 2012 00:33:27 +0000 (10:33 +1000)
The previous commit 55006ea8999ab3721fcde81b92692661065f0688
highlighted an error in this test.

Signed-off-by: Martin Schwenke <martin@meltin.net>
tests/eventscripts/13.per_ip_routing.002.sh

index 3198ef36ed6aa139de5cee9350cee266a64a8fc3..62a4c65d419401e39ac81c1d6e35f18887edbd6b 100755 (executable)
@@ -8,7 +8,7 @@ setup_ctdb
 setup_ctdb_policy_routing
 
 required_result 1 <<EOF
-error: CTDB_PER_IP_ROUTING_CONF=${TEST_SUBDIR}/etc-ctdb/policy_routing file not found
+error: CTDB_PER_IP_ROUTING_CONF=${CTDB_BASE}/policy_routing file not found
 EOF
 
 simple_test_event "ipreallocated"