mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 23:10:41 +01:00
function modules add functions to rainerscript dynamically, change http_request into such a module (enabled by default). This module can be used as a sample for future function modules.
15 lines
574 B
Bash
Executable File
15 lines
574 B
Bash
Executable File
#!/bin/bash
|
|
# added 2015-09-29 by singh.janmejay
|
|
# This file is part of the rsyslog project, released under ASL 2.0
|
|
echo ===============================================================================
|
|
echo \[rscript_re_match.sh\]: test re_match rscript-fn
|
|
. $srcdir/diag.sh init
|
|
. $srcdir/diag.sh startup rscript_re_match.conf
|
|
. $srcdir/diag.sh tcpflood -m 1 -I $srcdir/testsuites/date_time_msg
|
|
echo doing shutdown
|
|
. $srcdir/diag.sh shutdown-when-empty
|
|
echo wait on shutdown
|
|
. $srcdir/diag.sh wait-shutdown
|
|
. $srcdir/diag.sh content-check "*Matched*"
|
|
. $srcdir/diag.sh exit
|