mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-26 10:43:02 +02:00
This (new) test sometimes fail on HW, so let's hold off a while before sending our log messages. Ths should allow the DUTs to settle. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
=== Syslog Pattern Matching
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/syslog/pattern_match]
==== Description
Verify the select-match feature: filtering syslog messages based on
pattern-match (POSIX regex) on message content. Tests both simple
substring matching and complex regex patterns.
==== Topology
image::topology.svg[Syslog Pattern Matching topology, align=center, scaledwidth=75%]
==== Sequence
. Set up topology and attach to target DUT
. Clean up old log files from previous test runs
. Configure syslog with pattern-match filters
. Send test messages with various patterns
. Verify errors log contains ERROR and CRITICAL messages
. Verify routers log contains matching router[0-9]+ pattern
. Verify all-messages log contains all test messages