summaryrefslogtreecommitdiffstats
path: root/tests/daqueue-persist-drvr.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/daqueue-persist-drvr.sh')
-rwxr-xr-xtests/daqueue-persist-drvr.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/daqueue-persist-drvr.sh b/tests/daqueue-persist-drvr.sh
index d95991fc..7934eb2b 100755
--- a/tests/daqueue-persist-drvr.sh
+++ b/tests/daqueue-persist-drvr.sh
@@ -5,9 +5,12 @@
# added 2009-05-27 by Rgerhards
# This file is part of the rsyslog project, released under GPLv3
# uncomment for debugging support:
-echo testing memory daqueue persisting to disk, mode $1
+echo \[daqueue-persist-drvr.sh\]: testing memory daqueue persisting to disk, mode $1
source $srcdir/diag.sh init
+#export RSYSLOG_DEBUG="debug nologfuncflow nostdout noprintmutexaction"
+#export RSYSLOG_DEBUGLOG="log"
+
# prepare config
echo \$MainMsgQueueType $1 > work-queuemode.conf
echo "*.* :omtesting:sleep 0 1000" > work-delay.conf
@@ -19,7 +22,9 @@ $srcdir/diag.sh shutdown-immediate
$srcdir/diag.sh wait-shutdown
source $srcdir/diag.sh check-mainq-spool
-#exit
+echo "Enter phase 2, rsyslogd restart"
+
+exit
# restart engine and have rest processed
#remove delay
@@ -27,5 +32,5 @@ echo "#" > work-delay.conf
source $srcdir/diag.sh startup queue-persist.conf
source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
$srcdir/diag.sh wait-shutdown
-source $srcdir/diag.sh seq-check 0 4999
+source $srcdir/diag.sh seq-check 0 99999
source $srcdir/diag.sh exit