summaryrefslogtreecommitdiffstats
path: root/tests/queue-persist.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-05-27 12:00:14 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-05-27 12:00:14 +0200
commit33316de49b7775ac40dd0ec0f4b7ff6256ccde78 (patch)
treeedeec9b609baf2011838f7dbfcb6fc3bd82f29e7 /tests/queue-persist.sh
parentaa9426f683fa6af9280bc63050ee0187ba4c57e1 (diff)
parent35ea061f62cf0cbae074b2df47dc6b462da4fd20 (diff)
downloadrsyslog-33316de49b7775ac40dd0ec0f4b7ff6256ccde78.tar.gz
rsyslog-33316de49b7775ac40dd0ec0f4b7ff6256ccde78.tar.bz2
rsyslog-33316de49b7775ac40dd0ec0f4b7ff6256ccde78.zip
Merge branch 'master' into ultra-reliable
Conflicts: tests/Makefile.am tests/diskqueue.sh tests/imtcp-multiport.sh tests/manytcp.sh tests/memq-persist.sh
Diffstat (limited to 'tests/queue-persist.sh')
-rwxr-xr-xtests/queue-persist.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/queue-persist.sh b/tests/queue-persist.sh
new file mode 100755
index 00000000..999655b1
--- /dev/null
+++ b/tests/queue-persist.sh
@@ -0,0 +1,11 @@
+# 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
+source $srcdir/queue-persist-drvr.sh LinkedList
+source $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
+source $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?)