diff options
author | EW <bofh@yhbt.net> | 2023-06-06 10:09:24 +0000 |
---|---|---|
committer | EW <bofh@yhbt.net> | 2023-06-20 10:38:47 +0000 |
commit | f594a1dedbcd34457f490131909ccf7f2eb73c85 (patch) | |
tree | 1869af8be7e55d7792880b838d3c98d356686ca8 | |
parent | 63c85c4282d15e22bd32a905883d2d0e149619d1 (diff) | |
download | unicorn-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.perl | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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'); } |