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@gmail.com>
Tue, 18 Dec 2018 02:36:47 +0000 (13:36 +1100)
commit723b69783bed98b8c22dea7b93438e374fbd25c3
tree30d16912fe5ffb503d5115aaaf250049440852c9
parent82bc27f62eb44396523e4511e268a3008e9b13b7
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