ctdb-tests: Enable SOCKET_WRAPPER_DIR_ALLOW_ORIG
authorMartin Schwenke <martin@meltin.net>
Wed, 13 May 2020 04:04:36 +0000 (14:04 +1000)
committerMartin Schwenke <martins@samba.org>
Wed, 22 Jul 2020 07:53:35 +0000 (07:53 +0000)
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>
ctdb/tests/local_daemons.sh

index 5f8bc3245ac9b364819df41eee7118ba9882bd7d..7a633950a8be9f370b00e68fd13c0fe82404646a 100755 (executable)
@@ -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
 }