Skip to content

Conversation

@LukeShu
Copy link

@LukeShu LukeShu commented Oct 29, 2025

Hi, I'm the packager for the Parabola GNU/Linux-libre distro. These are the changes we have to apply that I figured I should clean up and push upstream.

  • test.py: Have exit status reflect whether tests were successful

    This is based on the not-networking-related part at the end of pymitler-check.patch. But it uses rc.wasSuccessful() instead of rc.failures, because there are other non-success conditions than "failure" (such as "error"), and wasSuccessful() captures those.

  • Rename pymilter-check.patch to test-nonet.patch

    (ok, I don't really apply this in Parabola, but after the above it seemed like I should throw it in)

    1. This way the filename tells us a bit about what it does, instead of having to stumble upon a comment in pymilter.spec.

    2. After the previous commit, it now really does nothing but remove network-needing tests.

  • testpolicy: Don't rely on an external makemap command

    The only makemap Arch/Parabola have is from extra/opensmtpd, which is non-functional because it was compiled without --with-table-db.

This is based on the not-networking-related part at the end of
pymitler-check.patch.  But it uses rc.wasSuccessful() instead of
rc.failures, because there are other non-success conditions than
"failure" (such as "error"), and wasSuccessful() captures those.
 1) This way the filename tells us a bit about what it does, instead
    of having to stumble upon a comment in pymilter.spec.

 2) After the previous commit, it now really does nothing but remove
    network-needing tests.
The only `makemap` Arch/Parabola have is from extra/opensmtpd, which is
non-functional because it was compiled without --with-table-db.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant