diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2016-10-19 16:56:37 +0200 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2016-10-20 00:48:28 +0200 |
commit | df613eb4a1b386c3b57baf09a25511894460b9b1 (patch) | |
tree | 1262448a6a1757d96c7ea7ce58266dba7cf25ba3 /test/scripts | |
parent | 8bcf560784a5a3e55d9f33e5c4b6cbb77467f70e (diff) |
Testsuite: Add PORT_DYNAMIC (Bug 1775)
This avoids problems on OpenBSD with SO_REUSEADDR.
On OpenBSD SO_REUSEADDR only works if the IP address AND the EUID
of the bind(2) calls match. In 0562 Exim binds to 1225 as euid=0,
in 0564 runtest tries to bind to 01225 as the user running the tests.
Thanks to Kirill Miazine for working this out.
Diffstat (limited to 'test/scripts')
-rw-r--r-- | test/scripts/0000-Basic/0564 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/scripts/0000-Basic/0564 b/test/scripts/0000-Basic/0564 index 68fb607ec..26acd66d2 100644 --- a/test/scripts/0000-Basic/0564 +++ b/test/scripts/0000-Basic/0564 @@ -1,9 +1,9 @@ # testing -bw inetd wait mode need_ipv4 # -exim -DSERVER=wait:PORT_D -bw +exim -DSERVER=wait:PORT_DYNAMIC -bw **** -client 127.0.0.1 PORT_D +client 127.0.0.1 PORT_DYNAMIC ??? 220 ehlo abcd ??? 250- |