summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2020-05-13 14:04:36 +1000
committerMartin Schwenke <martins@samba.org>2020-07-22 07:53:35 +0000
commit70c38d404b480c0b63621bd1faf002485faac531 (patch)
tree83237838f9ef61b6486c2a08c27406c7e4934c4d
parent066c205e5fb0e28bb5cab61a583889bb85607fb9 (diff)
downloadsamba-70c38d404b480c0b63621bd1faf002485faac531.tar.gz
ctdb-tests: Enable SOCKET_WRAPPER_DIR_ALLOW_ORIG
This will allow local daemons to be used in more contexts, especially in tests run by Jenkins where the directory names for some targets can be very long. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
-rwxr-xr-xctdb/tests/local_daemons.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/tests/local_daemons.sh b/ctdb/tests/local_daemons.sh
index 5f8bc3245ac..7a633950a8b 100755
--- a/ctdb/tests/local_daemons.sh
+++ b/ctdb/tests/local_daemons.sh
@@ -339,6 +339,7 @@ local_daemons_start_socket_wrapper ()
if [ -d "$_d" ] && [ -f "$_so" ] ; then
export SOCKET_WRAPPER_DIR="$_d"
export LD_PRELOAD="$_so"
+ export SOCKET_WRAPPER_DIR_ALLOW_ORIG="1"
fi
}