trusteddomainproject / OpenDKIM

Other
97 stars 52 forks source link

Test failures #225

Open deepakpn opened 2 months ago

deepakpn commented 2 months ago

I'm getting a few test failures when I try "make check". How can I fix them?

Here's a snippet from the log.

=======================================================
   OpenDKIM 2.11.0: libopendkim/tests/test-suite.log
=======================================================

# TOTAL: 161
# PASS:  135
# SKIP:  0
# XFAIL: 0
# FAIL:  26
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: t-test04
==============

t-test04: t-test04.c:152: main: Assertion `status == DKIM_STAT_OK' failed.
FAIL t-test04 (exit status: 134)
futatuki commented 2 months ago

Perhaps there is not enough information to get help.

What version of OpenDKIM in detail did you build (git tag, branch, commit hash)? What version of OpenSSL, LibreSSL, or GNUTLS do you link? What is your OS environment? How did you configure and what is the results? ... etc.

As libopendkim/tests/t-test04.c has not been modified since Tue Aug 7 14:36:57 2012 -0700, the assertion that cause the failure is a check of return value of dkim_eom(dkim, NULL). If the status value can be seen, it would help to solve the problem. (And then dive into the code that causes the result ...)