tests/eventscripts: $CTDB_BASE needs to be in $TEST_VAR_DIR
authorMartin Schwenke <martin@meltin.net>
Thu, 10 May 2012 04:16:45 +0000 (14:16 +1000)
committerMartin Schwenke <martin@meltin.net>
Fri, 11 May 2012 00:33:27 +0000 (10:33 +1000)
commit61c80f58a8cfbaca7e669ef8cd95b4f6b5dc66c7
tree356854a85f5e0979d663b83e7d85f70181f5d033
parente7ba0a30e7b7fe78e83e493128b349708cf0038a
tests/eventscripts: $CTDB_BASE needs to be in $TEST_VAR_DIR

The policy routing tests write the configuration file into $CTDB_BASE,
as per rcommended practice.  Unless this is in $TEST_VAR_DIR this
won't work sensible when the tests are installed.

Things are done slightly different than for /etc.  Here we use
symlinks and we want them to be dereferenced.

Signed-off-by: Martin Schwenke <martin@meltin.net>
tests/eventscripts/scripts/local.sh