Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Postfix/   (Postfix Mailserver Version 3.11©)  Datei vom 20.1.2026 mit Größe 709 B image not shown  

Quelle  TESTING   Sprache: unbekannt

 
Testing is a work in progress.

- As of Postfix 3.11 most new code is covered by tests.

- Many Postfix tests require building with shared=yes and dynamicmaps=no.
The shared=yes is needed so that test code can overrride internal
dependencies with mocks; the dynamicmaps=no is needed until there
is an easy way way to tell dynamicmaps support to not use the system
dynamicmaps.cf file.

- Historically, many tests in src/util, src/dns, and src/smtpd
are non-hermetic: they have dependencies on DNS or on local system
configuration.

- The PTEST test framework needs to be integrated; this fixed many many
non-hermetic tests in src/util and src/dns. That development stalled
after postfix-3.8-20220816-nonprod.

[Dauer der Verarbeitung: 0.17 Sekunden, vorverarbeitet 2026-08-06]