summaryrefslogtreecommitdiffstats
path: root/tests/queue-persist.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 16:28:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 16:28:20 +0000
commitdcc721a95bef6f0d8e6d8775b8efe33e5aecd562 (patch)
tree66a2774cd0ee294d019efd71d2544c70f42b2842 /tests/queue-persist.sh
parentInitial commit. (diff)
downloadrsyslog-dcc721a95bef6f0d8e6d8775b8efe33e5aecd562.tar.xz
rsyslog-dcc721a95bef6f0d8e6d8775b8efe33e5aecd562.zip
Adding upstream version 8.2402.0.upstream/8.2402.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/queue-persist.sh')
-rwxr-xr-xtests/queue-persist.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/queue-persist.sh b/tests/queue-persist.sh
new file mode 100755
index 0000000..519aa0b
--- /dev/null
+++ b/tests/queue-persist.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+# Test for queue data persisting at shutdown. We use the actual driver
+# to carry out multiple tests with different queue modes
+# added 2009-05-27 by Rgerhards
+# This file is part of the rsyslog project, released ASL 2.0
+. ${srcdir:=.}/diag.sh init
+. $srcdir/queue-persist-drvr.sh LinkedList
+. $srcdir/queue-persist-drvr.sh FixedArray
+# the disk test should not fail, however, the config is extreme and using
+# it more or less is a config error
+. $srcdir/queue-persist-drvr.sh Disk
+# we do not test Direct mode because this absolute can not work in direct mode
+# (maybe we should do a fail-type of test?)