From dcc721a95bef6f0d8e6d8775b8efe33e5aecd562 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 18:28:20 +0200 Subject: Adding upstream version 8.2402.0. Signed-off-by: Daniel Baumann --- tests/imbatchreport_errmsg_regex.match.rename.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 tests/imbatchreport_errmsg_regex.match.rename.sh (limited to 'tests/imbatchreport_errmsg_regex.match.rename.sh') diff --git a/tests/imbatchreport_errmsg_regex.match.rename.sh b/tests/imbatchreport_errmsg_regex.match.rename.sh new file mode 100755 index 0000000..5ec40ac --- /dev/null +++ b/tests/imbatchreport_errmsg_regex.match.rename.sh @@ -0,0 +1,16 @@ +#!/bin/bash +# add 2019-02-26 by Rainer Gerhards, released under ASL 2.0 +. ${srcdir:=.}/diag.sh init +generate_conf +add_conf ' +module(load="../contrib/imbatchreport/.libs/imbatchreport") + +input(type="imbatchreport" tag="t" rename=".done$ .s.done .r" reports="./*.done") +action(type="omfile" file="'$RSYSLOG_OUT_LOG'") +' +startup +shutdown_when_empty +wait_shutdown +content_check "Normal renaming leaves files in glob scope: Instance ignored to avoid loops." + +exit_test -- cgit v1.2.3