From 097e542e006574fed25e2135080374c3ff9c9fe6 Mon Sep 17 00:00:00 2001 From: Heikki Hannikainen Date: Sun, 6 Sep 2015 10:46:26 +0300 Subject: [PATCH] Additional test case for wildcard not matching any chars in the end --- tests/cfg-aprsc/basic | 2 +- tests/t/11misc-drops.t | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cfg-aprsc/basic b/tests/cfg-aprsc/basic index 8684dd1..71cb2fe 100644 --- a/tests/cfg-aprsc/basic +++ b/tests/cfg-aprsc/basic @@ -85,6 +85,6 @@ WorkerThreads 3 FileLimit 10000 # Additional callsigns blocked -DisallowSourceCall N7CALL N8CALL *DROP DRG* OH?DRU O*ZZZ +DisallowSourceCall N7CALL N8CALL* *DROP DRG* OH?DRU O*ZZZ DisallowLoginCall LOGINB LOGINC diff --git a/tests/t/11misc-drops.t b/tests/t/11misc-drops.t index 648f066..e93cae8 100644 --- a/tests/t/11misc-drops.t +++ b/tests/t/11misc-drops.t @@ -87,8 +87,8 @@ my @pkts = ( "NOCALL-1>DST,DIGI,qAR,$login:>should drop, N0CALL-1 as source callsign", "SERVER>DST,DIGI,qAR,$login:>should drop, SERVER as source callsign", # additionally configured disallowed source callsigns: N7CALL N8CALL - "N7CALL>DST,DIGI,qAR,$login:>should drop, N7CALL as source callsign", - "N8CALL>DST,DIGI,qAR,$login:>should drop, N8CALL as source callsign", + "N7CALL>DST,DIGI,qAR,$login:>should drop, N7CALL as source callsign matches N7CALL", + "N8CALL>DST,DIGI,qAR,$login:>should drop, N8CALL as source callsign matches N8CALL*", "GLDROP>DST,DIGI,qAR,$login:>should drop, GLDROP as source callsign matches *DROP", "DRGLOB>DST,DIGI,qAR,$login:>should drop, DRGLOB as source callsign matches DRG*", "OH7DRU>DST,DIGI,qAR,$login:>should drop, OH7DRU as source callsign matches OH?DRUP",