ctdb-event: Force EVENTSCRIPTS_TESTS_VAR_DIR to be absolute
authorMartin Schwenke <martin@meltin.net>
Fri, 7 Sep 2018 06:02:25 +0000 (16:02 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 18 Dec 2018 02:36:47 +0000 (13:36 +1100)
commit42da7fe4fac4492a5d17f35a50fbb6ec0b75ecf0
tree91b8742b5aff9c8e457fa0f75fd4573e81382af0
parent723b69783bed98b8c22dea7b93438e374fbd25c3
ctdb-event: Force EVENTSCRIPTS_TESTS_VAR_DIR to be absolute

Event scripts (well, statd_callout) can change directory, causing
stubs to be unable to locate EVENTSCRIPTS_TESTS_VAR_DIR if it is
relative.

Don't force TEST_VAR_DIR to be absolute because this can result in
Unix domain socket names that are too long.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/eventscripts/scripts/local.sh