ctdb-event: Force script directory to be absolute
authorMartin Schwenke <martin@meltin.net>
Fri, 7 Sep 2018 03:39:49 +0000 (13:39 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 18 Dec 2018 01:02:03 +0000 (02:02 +0100)
commitba83aa9d8b20b11f1febb77d2607ee2a38456f6e
tree30d16912fe5ffb503d5115aaaf250049440852c9
parentda8aaf2aee2ff145f3001ae1fcf3626d6a9bc17d
ctdb-event: Force script directory to be absolute

If TEST_VAR_DIR is relative then symbolic link targets will be
incorrect.

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/cunit/event_script_test_001.sh