diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-04-20 10:21:57 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-04-20 22:38:05 +0200 |
commit | 018dd775c868a53c15fdaba7c67aaae6c5fd35c1 (patch) | |
tree | ef9f251a8f7030745d81c9020fc38e006deefbcd /tests/FILEFORMAT.md | |
parent | 093a9e00142de95f6530830bf7b57d56df586b00 (diff) |
tests: add %NOLISTENPORT and use it
The purpose with this variable is to provide a port number that is
reasonably likely to not have a listener on the local host so that tests
can try connect failures against it. It uses port 47 - "reserved"
according to IANA.
Updated six tests to use it instead of the previous different ports.
Assisted-by: Emil Engler
Closes #5270
Diffstat (limited to 'tests/FILEFORMAT.md')
-rw-r--r-- | tests/FILEFORMAT.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/FILEFORMAT.md b/tests/FILEFORMAT.md index 586b84b74..034b1a73c 100644 --- a/tests/FILEFORMAT.md +++ b/tests/FILEFORMAT.md @@ -365,6 +365,7 @@ Available substitute variables include: - `%IMAPPORT` - Port number of the IMAP server - `%MQTTPORT` - Port number of the MQTT server - `%NEGTELNETPORT` - Port number of the telnet server +- `%NOLISTENPORT` - Port number where no service is listening - `%POP36PORT` - IPv6 port number of the POP3 server - `%POP3PORT` - Port number of the POP3 server - `%POSIX_PWD` - Current directory somewhat mingw friendly |