mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
Netcat's behaviour after seeing EOF from stdin seems to not be very portable or consistent, even under the same platform. This has caused t-05-null_address to break recently under some conditions, for example depending on the particular Debian version of netcat-openbsd used, and the current situation is unclear. See https://bugs.debian.org/854292 and https://bugs.debian.org/849192 for more details. To stop depending on this brittle behaviour, this patch unfortunately introduces a simple python3-based netcat for our tests to use.
25 lines
723 B
Plaintext
25 lines
723 B
Plaintext
|
|
This directory holds end to end tests, written usually in a combination of
|
|
shell and some Python.
|
|
|
|
They're not expected to be portable, as that gets impractical very quickly.
|
|
They also have some dependencies, listed below.
|
|
|
|
|
|
## Dependencies
|
|
|
|
The tests depend on the following things being installed on the system (listed
|
|
as Debian package, for consistency):
|
|
|
|
- msmtp
|
|
- util-linux (for /usr/bin/setsid)
|
|
|
|
For t-02-exim (Exim interaction tests):
|
|
- gettext-base (for /usr/bin/envsubst)
|
|
- The exim binary available somewhere, but it doesn't have to be installed.
|
|
There's a script "get-exim4-debian.sh" to get it from the archives.
|
|
|
|
For some tests, python >= 3.5 is required; they will be skipped if it's not
|
|
available.
|
|
|