From 8271bafb85f75b927f0ea15ec73fc0b1e714665e Mon Sep 17 00:00:00 2001 From: EW Date: Tue, 6 Jun 2023 10:09:24 +0000 Subject: [PATCH 1/4] t/lib.perl: FreeBSD: ignore accf_* messages Testers may not have accf_http loaded nor the permissions to run `kldload accf_http', thus we must ignore these messages. --- t/lib.perl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/lib.perl b/t/lib.perl index 2685c3b4..fe3404ba 100644 --- a/t/lib.perl +++ b/t/lib.perl @@ -22,6 +22,8 @@ sub check_stderr () { my @log = slurp("$tmpdir/err.log"); diag("@log") if $ENV{V}; my @err = grep(!/NameError.*Unicorn::Waiter/, grep(/error/i, @log)); + @err = grep(!/failed to set accept_filter=/, @err); + @err = grep(!/perhaps accf_.*? needs to be loaded/, @err); is_deeply(\@err, [], 'no unexpected errors in stderr'); is_deeply([grep(/SIGKILL/, @log)], [], 'no SIGKILL in stderr'); }