Bug 14407: Follow up to add test case and clean noise
authorMark Tompsett <mtompset@hotmail.com>
Tue, 27 Mar 2018 14:28:06 +0000 (14:28 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 10 May 2019 11:39:50 +0000 (11:39 +0000)
commita4f5cc4d66d5374dcbc32b402417ac770e8a695d
treed74bc42eeec310a66bb6977be70e967c5944d90f
parent9f25d1d003d099dcdca803c3385ecfb0f7fdbb49
Bug 14407: Follow up to add test case and clean noise

Comment #28 has a /36 which is invalid CIDR.
This triggers a crash and noise.
This cleans up the crash and noise, and adds
test cases to check for them.

prove t/Auth.t
-- before missing null case, and /36 case.
-- after null case, and /36 with/without warnings.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Auth.pm
t/Auth.t