rsyslog/tests/gzipwr_hup-vg.sh
Rainer Gerhards e00580534b
core bugfix: potential race during HUP
when rsyslog is HUPed immediately after startup and before it is fully
initialized, there is a potential race with the list of loaded modules.

This patch ensures no bad things can happen in that case.

Detected by LLVM TSAN, not seen in practice.

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2020-01-20 08:22:15 +01:00

5 lines
131 B
Bash
Executable File

#!/bin/bash
export USE_VALGRIND="YES"
export NUMMESSAGES=200000 # reduce for slower valgrind run
source ${srcdir:-.}/gzipwr_hup.sh