mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
selftest: preforkrestartdc doesn't need gdb-backtraces
There are tests in this environment that kill processes with SEGV signals, which causes a backtrace that is entirely spurious from a debugging point of view. We can turn that off, saving processor time and moments of developer confusion. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: David Mulder <dmulder@suse.com>
This commit is contained in:
parent
80faba100d
commit
9e19b148f6
@ -2743,6 +2743,11 @@ sub setup_preforkrestartdc
|
|||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# We treat processes in this environment cruelly, sometimes
|
||||||
|
# sending them SIGSEGV signals. We don't need gdb_backtrace
|
||||||
|
# dissecting these fake crashes in precise detail.
|
||||||
|
$env->{PLEASE_NO_GDB_BACKTRACE} = '1';
|
||||||
|
|
||||||
$env->{NSS_WRAPPER_MODULE_SO_PATH} = undef;
|
$env->{NSS_WRAPPER_MODULE_SO_PATH} = undef;
|
||||||
$env->{NSS_WRAPPER_MODULE_FN_PREFIX} = undef;
|
$env->{NSS_WRAPPER_MODULE_FN_PREFIX} = undef;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user