summaryrefslogtreecommitdiff
path: root/regress/usr.sbin
AgeCommit message (Collapse)Author
2016-09-22Call setsockopt(2) before listen(2) in relayd tests and adjust someAlexander Bluhm
error messages.
2016-09-21Test syslogd TLS client certificate validation.Alexander Bluhm
2016-09-18Test should print SKIPPED if a package is missing.Alexander Bluhm
2016-09-13First stab at acme-client regress test.Florian Obser
Someone who actually knows how this works please improve it :)
2016-09-10Cleanup commented lines, and only print the DN of entriesLandry Breuil
2016-09-10Improve Makefile by using ${.OBJDIR} and stop creating files inLandry Breuil
${.CURDIR}. Don't start the server in .BEGIN - make obj should only create the symlink. Add CLEANFILES for proper cleaning.
2016-09-05ldapd regress is creating files during make obj; comment out until fixedTheo de Raadt
2016-09-05link ldapd regress to the buildLandry Breuil
2016-09-05Add purge to the all: target and comment out cpan for nowLandry Breuil
2016-09-02Print SKIPPED if a regress test cannot be executed for some reason.Alexander Bluhm
This allows to identify such tests by looking at their output.
2016-09-01Add basic regress tests for ldapd.Landry Breuil
- first pass of tests adding a DIT, then searching in it - second pass of tests runs Net::LDAP regress suite against ldapd (not all tests are passing, and that requires Net::LDAP installed and distfiles present on the system)
2016-09-01Fix regress test, server returns 400 instead of 500 nowReyk Floeter
2016-08-29Syslogd tls config error messages have changed, adapt tests.Alexander Bluhm
2016-08-25Set relayd socket buffer size to reasonable value to make test passAlexander Bluhm
in different environments.
2016-08-25Make relayd test slow-consumer more reliable. Set SO_SNDTIMEOAlexander Bluhm
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.
2016-08-23Some syslogd tests failed to report errors. Make these tests moreAlexander Bluhm
strict and adapt the check patterns.
2016-08-19Reorder entries to match current multipath ordering.Martin Pieuchot
2016-08-17syslogd(8) uses new libtls certificate and key file loading. SoAlexander Bluhm
the tests behave a little bit different now.
2016-07-27Improve parsing of the Host by following RFC 7230 Section 5.4 more strictly:Reyk Floeter
- Respond with a 400 (Bad Request) if there is more than one Host: header to prevent ambiguities. - Make sure that the host in the optional absolute form of request-target (eg. GET http://www.target.com/ HTTP/1.1) matches the Host: value. Proxies are supposed to ignore the Host: value if the request-target exists, but relayd used to ignore the absolute request-target form instead. In HTTP terminology, relayd is a gateway and not a proxy, but it has to make sure that the host is validated consistently. OK benno@ bluhm@
2016-07-22add a regression testSebastian Benoit
2016-07-22Fix generated Perl headers.Reyk Floeter
With input from bluhm@
2016-07-20s/sudo/doas/Sebastian Benoit
2016-07-19Add two more tests that use traffic that was captured with tcpdump.Reyk Floeter
These files serve as an example, no more .pcap files should be added here (especially not large ones).
2016-07-19Add simple OpenFlow tests for switchd.Reyk Floeter
2016-07-12Allow to run the syslogd tests as root without SUDO also if theAlexander Bluhm
libevent method environment is set.
2016-07-12Add regression tests for syslogd TLS client certificates.Alexander Bluhm
2016-07-11Revert previous adaption of the test. The behavior change in libtlsAlexander Bluhm
has been backed out.
2016-07-06Now libtls is always reading cert.pem during tls_config_new().Alexander Bluhm
Adapt ktrace count in syslogd test.
2016-07-01Timing changed, now a syslogd test may get EPIPE instead ofAlexander Bluhm
ECONNREFUSED error.
2016-06-22Syslogd can send messages to a user, test what happens if theAlexander Bluhm
terminal is blocking to receive messages. Stop the fake user terminal and look for a delayed write debug message from syslogd. This makes the test more reliable.
2016-05-29When connecting to a non existing tcp listen socket on localhost,Alexander Bluhm
connect(2) does no longer fail immediately. It reports EINPROGRESS first, an ECONNREFUSED or EPIPE error follows later. Allow this changed behavior in syslogd(8) regression tests.
2016-05-03Fix some Perl statements perlcritic was bitching about: VariableAlexander Bluhm
declared in conditional statement.
2016-05-03To test syslogd compatibility rsyslog is used as remote server.Alexander Bluhm
New rsyslog has other options and debug output, adapt test.
2016-03-29Kdump contains LOG_CONS now. TLS error message changes.Alexander Bluhm
Adapt grep regex in syslogd tests.
2016-03-24Check that only one published entry can be added.Martin Pieuchot
2016-03-23arp(8) regression tests, some of which are currently failing with ART.Martin Pieuchot
2016-03-21System call sendsyslog2 is gone, adapt tests.Alexander Bluhm
2016-01-22Replace a (broken) test for @option explicit-update (the code has beenLandry Breuil
removed 2 years ago) by a (working) test for @ask-update
2016-01-07When syslogd is not running, check that no syslog priority or droppedAlexander Bluhm
message is logged to the console by the kernel.
2015-12-30Test logging to console by redirecting the system's console into aAlexander Bluhm
file. All subtests get an additional /dev/console entry in syslog.conf, then check that messages appear in the console file. Add a test that stops syslogd, calls sendsyslog2() with LOG_CONS and checks that the message appears in the console file.
2015-12-04Add tests that call the syscalls sendsyslog(2) and sendsyslog2(2)Alexander Bluhm
directly.
2015-11-04replace setbuf with setvbuf, from Frederic NowakTed Unangst
2015-11-04Generating the self-signed syslogd test certificate does not dependAlexander Bluhm
on the CA certificate. Found by Jan Klemkow.
2015-11-02Test that rsyslogd can send over TLS to OpenBSD syslogd.Alexander Bluhm
2015-10-31As syslog(3) in libc no longer inserts the timestamp, the maximumAlexander Bluhm
message length that may be generated by syslogd got longer. Adapt the test.
2015-10-24Handling of bogus CA file has changed in syslogd. Adapt tests toAlexander Bluhm
new error messages.
2015-10-23Test syslogd with empty or non existing server certificates andAlexander Bluhm
keys.
2015-10-23Check that syslogd delays a blocking write to tty and that that allAlexander Bluhm
messages still appear on the tty.
2015-10-19Test syslogd logging to a tty which belongs to a user. This isAlexander Bluhm
done with a utmp entry for a pty fake login. All messages are read from the pty and written into a log file.
2015-10-09Keep relayd test certificate names in sync with syslogd.Alexander Bluhm