about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEW <bofh@yhbt.net>2023-06-06 10:09:24 +0000
committerEW <bofh@yhbt.net>2023-06-20 10:38:47 +0000
commitf594a1dedbcd34457f490131909ccf7f2eb73c85 (patch)
tree1869af8be7e55d7792880b838d3c98d356686ca8
parent63c85c4282d15e22bd32a905883d2d0e149619d1 (diff)
downloadunicorn-f594a1dedbcd34457f490131909ccf7f2eb73c85.tar.gz
Testers may not have accf_http loaded nor the permissions
to run `kldload accf_http', thus we must ignore these messages.
-rw-r--r--t/lib.perl2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/lib.perl b/t/lib.perl
index 2685c3b..fe3404b 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');
 }