selftest/gdb_backtrace: use 'unset LD_PRELOAD'
authorStefan Metzmacher <metze@samba.org>
Tue, 9 Feb 2021 15:22:37 +0000 (16:22 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 10 Feb 2021 14:00:32 +0000 (14:00 +0000)
We may have bugs in socket_wrapper and others, we don't want
to inject these bugs into the debugger.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
selftest/gdb_backtrace

index ef02e784efc926277ab88664f588b3a2a587f97a..4fe5f57353a5e58ea8a509d7c6660d694f90a84d 100755 (executable)
@@ -2,6 +2,8 @@
 
 BASENAME=`basename $0`
 
+unset LD_PRELOAD
+
 if [ -n "$VALGRIND" -o -n "$SMBD_VALGRIND" ]; then
        echo "${BASENAME}: Not running debugger under valgrind"
        exit 1