1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

tests: update README about servers and port numbers

Closes #7242
This commit is contained in:
Daniel Stenberg 2021-06-11 11:22:46 +02:00
parent 14a2ca85ec
commit a15d146f47
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -51,17 +51,15 @@
### Test servers ### Test servers
The test suite runs simple FTP, POP3, IMAP, SMTP, HTTP and TFTP stand-alone The test suite runs stand-alone servers on random ports to which it makes
servers on the ports listed above to which it makes requests. For SSL tests, requests. For SSL tests, it runs stunnel to handle encryption to the regular
it runs stunnel to handle encryption to the regular servers. For SSH, it servers. For SSH, it runs a standard OpenSSH server. For SOCKS4/5 tests SSH
runs a standard OpenSSH server. For SOCKS4/5 tests SSH is used to perform is used to perform the SOCKS functionality and requires a SSH client and
the SOCKS functionality and requires a SSH client and server. server.
The base port number (8990), which all the individual port numbers are The listen port numbers for the test servers are picked randomly to allow
indexed from, can be set explicitly using runtests.pl' -b option to allow users to run multiple test cases concurrently and to not collide with other
running more than one instance of the test suite simultaneously on one existing services that might listen to ports on the machine.
machine, or just move the servers in case you have local services on any of
those ports.
The HTTP server supports listening on a Unix domain socket, the default The HTTP server supports listening on a Unix domain socket, the default
location is 'http.sock'. location is 'http.sock'.
@ -87,6 +85,8 @@
line). The latter is meant for local temporary disables and will be ignored line). The latter is meant for local temporary disables and will be ignored
by git. by git.
Test cases mentioned in `DISABLED` can still be run if `-f` is provided.
When `-s` is not present, each successful test will display on one line the When `-s` is not present, each successful test will display on one line the
test number and description and on the next line a set of flags, the test test number and description and on the next line a set of flags, the test
result, current test sequence, total number of tests to be run and an result, current test sequence, total number of tests to be run and an