rsyslog/tests/imudp_thread_hang.sh
2014-11-25 10:53:29 +01:00

13 lines
540 B
Bash
Executable File

# the whole point of this test is just to check that imudp
# does not block rsyslog termination. This test was introduced
# after we had a regression where imudp's worker threads were
# not properly terminated.
# Copyright 2014 by Rainer Gerhards, licensed under ASL 2.0
echo \[imudp_thread_hang\]: a situation where imudp caused a hang
source $srcdir/diag.sh init
source $srcdir/diag.sh startup imudp_thread_hang.conf
./msleep 1000
source $srcdir/diag.sh shutdown-immediate
source $srcdir/diag.sh wait-shutdown
source $srcdir/diag.sh exit