rsyslog/tests/daqueue-persist.sh
Rainer Gerhards b17476af8d testbench: fix only partially executed test
this is a regression from some month ago, when we changed
the shell calls. Only the first of three tests was executed.
2016-10-11 14:31:25 +02:00

18 lines
793 B
Bash
Executable File

#!/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 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?)