From: Stefan Metzmacher Date: Tue, 9 Feb 2021 15:22:37 +0000 (+0100) Subject: selftest/gdb_backtrace: use 'unset LD_PRELOAD' X-Git-Tag: tevent-0.11.0~1773 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9178e72dccc548f2e2e573f97f78a834f35b142d;p=thirdparty%2Fsamba.git selftest/gdb_backtrace: use 'unset LD_PRELOAD' 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 Reviewed-by: Andreas Schneider --- diff --git a/selftest/gdb_backtrace b/selftest/gdb_backtrace index ef02e784efc..4fe5f57353a 100755 --- a/selftest/gdb_backtrace +++ b/selftest/gdb_backtrace @@ -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