mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-24 16:33:40 +00:00
tests: Set vm.mmap_rnd_bits for topotests docker foobar
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
2484793bc5
commit
6eb3a60289
@ -20,6 +20,11 @@ cd "${FRR_BUILD_DIR}/tests/topotests"
|
||||
log_info "Setting permissions on /tmp so we can generate logs"
|
||||
chmod 1777 /tmp
|
||||
|
||||
# This is a MUST, otherwise we have:
|
||||
# AddressSanitizer:DEADLYSIGNAL
|
||||
# Segmentation fault
|
||||
sysctl -w vm.mmap_rnd_bits=28
|
||||
|
||||
if [ $# -eq 0 ] || ([[ "$1" != /* ]] && [[ "$1" != ./* ]]); then
|
||||
export TOPOTESTS_CHECK_MEMLEAK=/tmp/memleak_
|
||||
export TOPOTESTS_CHECK_STDERR=Yes
|
||||
|
Loading…
Reference in New Issue
Block a user