mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-18 18:00:41 +01:00
21 lines
778 B
Bash
Executable File
21 lines
778 B
Bash
Executable File
#!/bin/bash
|
|
# added 2016-09-17 by singh.janmejay
|
|
# This file is part of the rsyslog project, released under ASL 2.0
|
|
echo ===============================================================================
|
|
echo \[omprog-cleanup-when-unresponsive.sh\]: test for cleanup in omprog when child-process is not responding
|
|
. $srcdir/diag.sh init
|
|
. $srcdir/diag.sh startup omprog-cleanup-unresponsive.conf
|
|
. $srcdir/diag.sh wait-startup
|
|
. $srcdir/diag.sh injectmsg 0 5
|
|
sleep 1
|
|
. $srcdir/diag.sh wait-queueempty
|
|
. $srcdir/diag.sh content-check "msgnum:00000000:"
|
|
. $srcdir/diag.sh getpid
|
|
|
|
echo doing shutdown
|
|
. $srcdir/diag.sh shutdown-when-empty
|
|
echo wait on shutdown
|
|
. $srcdir/diag.sh wait-shutdown
|
|
. $srcdir/diag.sh ensure-no-process-exists term-ignoring-script.sh
|
|
. $srcdir/diag.sh exit
|