summaryrefslogtreecommitdiffstats
path: root/tests/queue-persist.sh
blob: 519aa0b6418e3c8ae0c86984f75edf51948d9597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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?)