summaryrefslogtreecommitdiffstats
path: root/tests/daqueue-persist.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/daqueue-persist.sh')
-rwxr-xr-xtests/daqueue-persist.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/daqueue-persist.sh b/tests/daqueue-persist.sh
new file mode 100755
index 0000000..9499a06
--- /dev/null
+++ b/tests/daqueue-persist.sh
@@ -0,0 +1,19 @@
+#!/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 under GPLv3
+echo ===============================================================================
+echo \[daqueue-persist.sh\]: test data persisting at shutdown
+echo TEST is currently DISABLE because it is unstable
+exit 77
+echo mode linkedList
+$srcdir/daqueue-persist-drvr.sh LinkedList
+echo mode fixedArray
+$srcdir/daqueue-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
+echo Disk
+$srcdir/daqueue-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?)