1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-01-22 19:55:55 +00:00

test: Use our own netcat implementation :(

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.
This commit is contained in:
Alberto Bertogli
2017-02-26 01:13:33 +00:00
parent 700539876b
commit c2ea8a8ef0
4 changed files with 56 additions and 3 deletions

View File

@@ -11,7 +11,6 @@ They also have some dependencies, listed below.
The tests depend on the following things being installed on the system (listed
as Debian package, for consistency):
- netcat (nc)
- msmtp
- util-linux (for /usr/bin/setsid)