Additional test case for wildcard not matching any chars in the end

This commit is contained in:
Heikki Hannikainen 2015-09-06 10:46:26 +03:00
parent 890b3c0497
commit 097e542e00
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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",