mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-16 20:20:41 +01:00
FreeBSD is not able to run all tests, therefore all tests that can't be run will be disabled.
25 lines
1.0 KiB
Bash
Executable File
25 lines
1.0 KiB
Bash
Executable File
#!/bin/bash
|
|
# added 2016-03-30 by singh.janmejay
|
|
# This file is part of the rsyslog project, released under ASL 2.0
|
|
|
|
uname
|
|
if [ `uname` = "FreeBSD" ] ; then
|
|
echo "This test currently does not work on FreeBSD."
|
|
exit 77
|
|
fi
|
|
|
|
echo ===============================================================================
|
|
echo \[stats-cee-vg.sh\]: test for verifying stats are reported correctly cee format with valgrind
|
|
. $srcdir/diag.sh init
|
|
. $srcdir/diag.sh startup-vg stats-cee.conf
|
|
. $srcdir/diag.sh injectmsg-litteral $srcdir/testsuites/dynstats_input_1
|
|
. $srcdir/diag.sh wait-queueempty
|
|
. $srcdir/diag.sh wait-for-stats-flush 'rsyslog.out.stats.log'
|
|
echo doing shutdown
|
|
. $srcdir/diag.sh shutdown-when-empty
|
|
echo wait on shutdown
|
|
. $srcdir/diag.sh wait-shutdown-vg
|
|
. $srcdir/diag.sh check-exit-vg
|
|
. $srcdir/diag.sh custom-content-check '@cee: { "name": "an_action_that_is_never_called", "origin": "core.action", "processed": 0, "failed": 0, "suspended": 0, "suspended.duration": 0, "resumed": 0 }' 'rsyslog.out.stats.log'
|
|
. $srcdir/diag.sh exit
|