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@samba.org>
Tue, 18 Dec 2018 01:02:04 +0000 (02:02 +0100)
commit45f96c73463a1f17e48610e88a6e103f845fb0c1
tree91b8742b5aff9c8e457fa0f75fd4573e81382af0
parentba83aa9d8b20b11f1febb77d2607ee2a38456f6e
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