libsnmp-dev libxml2-dev \
libevent-dev libreadline-dev libbsd-dev \
check libc6-dbg libseccomp-dev \
+ electric-fence \
libpcap-dev libcap-dev systemtap-sdt-dev \
snmpd snmp \
python3-pip python3-setuptools python3-wheel
;;
Linux)
# Integration tests
+ efence="env LD_PRELOAD=/usr/lib/libefence.so EF_DISABLE_BANNER=1 EF_ALLOW_MALLOC_0=1"
cd tests/integration
- sudo $(which python3) -m pytest -n 5 -vv --boxed || \
- sudo $(which python3) -m pytest -vvv --last-failed --maxfail=5
+ sudo ${efence} $(which python3) -m pytest -n 5 -vv --boxed || \
+ sudo ${efence} $(which python3) -m pytest -vvv --last-failed --maxfail=5
;;
esac