#
02c27bb4 |
| 22-May-2023 |
Dan Fandrich |
runtests: add a missing \n at the end of a log message
|
#
82fa5ca8 |
| 27-Apr-2023 |
Dan Fandrich |
runtests: remove directory from server filename variables There will soon be multiple log directories so the paths will no longer be static in runtests.pl. Also, get rid of $SERVER2IN wh
runtests: remove directory from server filename variables There will soon be multiple log directories so the paths will no longer be static in runtests.pl. Also, get rid of $SERVER2IN which was not used. Ref: #10818
show more ...
|
#
b71a0c3e |
| 27-Apr-2023 |
Dan Fandrich |
runtests: reduce package exports after refactoring Some recent refactoring made these export no longer necessary. Also, stop displaying the Unix socket paths at startup since there will
runtests: reduce package exports after refactoring Some recent refactoring made these export no longer necessary. Also, stop displaying the Unix socket paths at startup since there will soon be many of them and they're not that interesting. Ref: #10818
show more ...
|
#
189f9e23 |
| 21-Apr-2023 |
Dan Fandrich |
runtests: support buffering log messages in runner & servers Log messages generated with logmsg can now be buffered and returned from the runner as a return value. This will be needed w
runtests: support buffering log messages in runner & servers Log messages generated with logmsg can now be buffered and returned from the runner as a return value. This will be needed with parallel testing to allow all messages for one test to be displayed together instead of interspersed with messages of multiple tests. Buffering can be disabled by setting a logging callback function with setlogfunc, which is currently being done to preserve existing logging behaviour for now. Some additional output is generated in verbose and debugprotocol modes, which don't always use logmsg. These modes also impact some servers which generate extra messages. No attempt is made to buffer everything if these modes are enabled. Ref: #10818 Closes #11016
show more ...
|
#
c3453dcb |
| 21-Apr-2023 |
Dan Fandrich |
runtests: more consistently use logmsg in server control code Also, display an error when sshversioninfo returns one. Ref: #10818
|
#
b88ea272 |
| 21-Apr-2023 |
Dan Fandrich |
runtests: create runner functions for clearlocks and stopservers runtests.pl now uses runner for all server actions beyond the initial variable configuration. Ref: #10818
|
#
640f4c22 |
| 21-Apr-2023 |
Dan Fandrich |
runtests: tightened servers package exports The defaults are intended for runtests.pl, whereas runner.pm needs to explicitly specify them.
|
#
47f2e556 |
| 18-Apr-2023 |
Dan Fandrich |
runtests: spread out the port numbers used by servers The server ports are chosen randomly for each server, but the random ranges chosen were inconsistently-sized and overlapping. Now, t
runtests: spread out the port numbers used by servers The server ports are chosen randomly for each server, but the random ranges chosen were inconsistently-sized and overlapping. Now, they are spread out more so at least the first random port chosen for each server is guaranteed to not also be chosen by another server. The starting port numbers are also raised to put them in the Ephemeral Port range—not the range defined by RFC 6335 but the one used by Linux, which starts lower and gives us more room to work with. Reported-by: Daniel Stenberg
show more ...
|
#
f9e8c5f5 |
| 17-Apr-2023 |
Dan Fandrich |
runtests: don't try to stop stunnel before trying again Calling stopserver() before retrying stunnel due to an error would stop the dependent server (such as HTTP) meaning stunnel would
runtests: don't try to stop stunnel before trying again Calling stopserver() before retrying stunnel due to an error would stop the dependent server (such as HTTP) meaning stunnel would have nothing to talk to when it came up. Don't try to force a stop when it didn't actually start. Also, don't mark the server as bad for future use when it starts up on a retry. Reported-by: eaglegai at github Tested-by: eaglegai at github Fixes #10976
show more ...
|
#
2e0b70b8 |
| 17-Apr-2023 |
Dan Fandrich |
runtests: don't accidentally randomly choose the same port If a server couldn't be started on a port, a new one is randomly chosen and the server is tried again. Avoid accidentally using
runtests: don't accidentally randomly choose the same port If a server couldn't be started on a port, a new one is randomly chosen and the server is tried again. Avoid accidentally using a randomly-chosen 0 port offset by adding 1 to the random number. Found-by: Daniel Stenberg
show more ...
|
#
b1184080 |
| 17-Apr-2023 |
Dan Fandrich |
runtests: don't attempt to use a port we know is in use This reduces the startup time when there is a known conflict on the random port chosen for a server. This was already done for st
runtests: don't attempt to use a port we know is in use This reduces the startup time when there is a known conflict on the random port chosen for a server. This was already done for stunnel, but now it's done for all servers.
show more ...
|
#
707f74c0 |
| 15-Apr-2023 |
Dan Fandrich |
runtests: refactor into more packages testutil.pm now contains a few miscellaneous functions that are used in several places but have no better place to live. subvariables moves to
runtests: refactor into more packages testutil.pm now contains a few miscellaneous functions that are used in several places but have no better place to live. subvariables moves to servers.pm since most variables that it substitutes relate to servers, so this is the most appropriate place. Rename a few functions for better naming consistency. Ref: #10818 Closes #10995
show more ...
|
#
a3605d6a |
| 09-Apr-2023 |
Dan Fandrich |
runtests: make the # of server start attempts a constant
|
#
44256902 |
| 09-Apr-2023 |
Dan Fandrich |
runtests: on startup failure call displaylogs only in serverfortest This reduces the number of calls spread throughout the code. Ref: #10818 Closes #10919
|
#
f82a38e0 |
| 09-Apr-2023 |
Dan Fandrich |
runtests: return an error code with startservers() The code indicates the kind of failure encountered in starting a server, which can be used by the caller to tailor the user experience.
runtests: return an error code with startservers() The code indicates the kind of failure encountered in starting a server, which can be used by the caller to tailor the user experience. Ref: #10818
show more ...
|
#
19b062a4 |
| 08-Apr-2023 |
Dan Fandrich |
runtests: abort early if runpingpongserver is given a bad server type
|
#
f2562701 |
| 01-Apr-2023 |
Dan Fandrich |
runtests: don't use the SMB server verification time as reference %FTPTIME2 and %FTPTIME3 should be set by the FTP server only, for consistency.
|
#
d39db811 |
| 06-Apr-2023 |
Dan Fandrich |
tests: factor out the test server management code This now lives in servers.pm with some configuration variables moved to globalconfig.pm Ref: #10818
|