mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-18 16:50:42 +01:00
This is required to support parallel test runs. Among others, make thise files dynamic: * test-spool * rsyslog.input * rsyslog.out*.log * tmp.in Also: * convert presort test statement to function * cleanup imfile truncation test * cleanup imfile-growing-file-id test some cruft was left due to copy and paste error * serialize mysql tests
21 lines
632 B
Bash
Executable File
21 lines
632 B
Bash
Executable File
#!/bin/bash
|
|
# 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
|
|
. $srcdir/diag.sh init
|
|
generate_conf
|
|
add_conf '
|
|
$WorkDirectory '$RSYSLOG_DYNNAME'.spool
|
|
|
|
module(load="../plugins/imudp/.libs/imudp" threads="3")
|
|
input(type="imudp" Address="127.0.0.1" Port="20514")
|
|
'
|
|
startup
|
|
./msleep 1000
|
|
. $srcdir/diag.sh shutdown-immediate
|
|
wait_shutdown
|
|
exit_test
|