From b6ba3a054c0be6df375e387f3169e4d7f18faa3a Mon Sep 17 00:00:00 2001 From: downtownallday Date: Sat, 12 Sep 2020 20:07:50 -0400 Subject: [PATCH] Fix regexp: \d => [0-9] --- tests/suites/_mail-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/suites/_mail-functions.sh b/tests/suites/_mail-functions.sh index 08c77a21..6e94efa2 100644 --- a/tests/suites/_mail-functions.sh +++ b/tests/suites/_mail-functions.sh @@ -106,7 +106,7 @@ detect_syslog_error() { /status=(bounced|deferred|undeliverable)/ { exit 1 } /warning:/ && /spamhaus\.org: RBL lookup error:/ { exit 2 } !/postfix\/qmgr/ && /warning:/ { exit 1 } -/named\[\d+\]:.* receive error: .*: connection reset/ { exit 2 } +/named\[[0-9]+\]:.* receive error: .*: connection reset/ { exit 2 } /(fatal|reject|error):/ { exit 1 } /Error in / { exit 1 } /Exception on / { exit 1 }