summaryrefslogtreecommitdiffstats
path: root/regress/usr.sbin/relayd/Proc.pm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make relayd test slow-consumer more reliable. Set SO_SNDTIMEObluhm2016-08-251-2/+6
| | | | | | sockopt correctly with Perl pack on i386. Make it possible to grep in each others client and server logfile. Client does not simply sleep but waits for short write at server.
* Fix some Perl statements perlcritic was bitching about: Variablebluhm2016-05-031-2/+3
| | | | declared in conditional statement.
* Make the perl modules consistent for the multiple regression tests.bluhm2014-08-181-6/+6
| | | | | This includes coding style, better error messages and variable naming.
* Add a time.log file that accumulates timing information about thebluhm2014-07-111-2/+13
| | | | | executed tests. This allows to micro benchmark relayd. based on a diff from andre@; OK reyk@
* Implement non-persistent connections in a cleaner way. Every testbluhm2014-07-101-4/+6
| | | | | | | | | | that offers multiple requets per HTTP connection is run twice. First all requests are run over a single TCP connection. Then for each requests a separate TCP connection is established. If a requests during a persistent connection fails, a reconnect is done as relayd cancels the whole connection. This allows stricter tests for filters. OK reyk@
* Refactors "dummyrun" flag as "dryrun" with an approach similar to the one usedandre2014-05-121-2/+2
| | | | | | | | for client/server processes checks through $self->{down} state control variable, while here, do not instantiate a client when noclient is defined, reflecting server object instantiation behaviour. ok bluhm
* Adds $relayd->{dummyrun} and $client->{noclient} flags to relayd testsandre2014-05-091-2/+2
| | | | | | | | | framework. These flags can be set from test file which eases performing dry-runs of relayd long enough to do relayd.conf parsing, thus enabling the grammar/parser-only tests. While here, fix and improves args-http-mark.pl to a correct use-case. ok reyk
* Autoflush the log file of the child process.bluhm2013-01-081-2/+4
|
* Sync relayd tests with socket splicing tests.bluhm2013-01-041-2/+2
|
* Allow the relayd regression tests to run the relayd on a differentbluhm2012-12-281-8/+26
| | | | | host from client and server. Real TCP connections not running on localhost provide a different timing uncovering more bugs.
* Add tests for relayd protocol http 1.0 and 1.1.bluhm2011-09-021-3/+3
|
* Add regression tests for relaying connections through relayd. Thisbluhm2011-09-011-0/+167
is useful to ensure that socket splicing is working correctly. Server, relayd, client with different config are started for each subtest. Data must pass unmodified.