summaryrefslogtreecommitdiff
path: root/regress/usr.sbin
AgeCommit message (Collapse)Author
2016-11-28To test the pipe feature, a dd is started and writing into a logAlexander Bluhm
file as user _syslogd. Since /usr/obj is 0770 now, user _syslogd cannot access this file there anymore. Create pipe.log in temporary directory in /tmp instead.
2016-11-17Add support for OpenFlow 1.3.5 tests and make jumbo test use the newRafael Zalamena
version. ok reyk@
2016-11-16Add support for big reads in perl and fix the jumbo test, also removeRafael Zalamena
message type specific code from OFP encode. ok reyk@
2016-11-16Remove code duplication for receiving/sending OFP packets and simplifyRafael Zalamena
packet-in building. ok reyk@
2016-11-15Create the sys/syscall.ph header file on demand for the sendsyslog(2)Alexander Bluhm
tests since Perl headers are not installed by default anymore.
2016-11-11Fix regress after moving ofp.h to sys/net/Reyk Floeter
2016-10-13In rare cases the number of dropped messages changes a bit more.Alexander Bluhm
Make regex less strict.
2016-10-12Fix races during syslogd startup and shutdown in privsep tests.Alexander Bluhm
2016-10-10The TLS error message depends on the generated fake certificate.Alexander Bluhm
Make the test's expectation less strict.
2016-10-06Check that syslogd priv process does exec on itself.Alexander Bluhm
2016-10-06Add millisecond precision to expected timestamp.Alexander Bluhm
2016-10-05Bump the sizes of generated jumbo frames up to the max.Reyk Floeter
2016-10-04Add test for syslogd(8) -Z ISO timestamp format.Alexander Bluhm
2016-09-28The ldap regression test should behave more like the other tests.Alexander Bluhm
So use REGRESS_TARGETS provided by bsd.regress.mk. OK landry@
2016-09-28The tun interface has been renamed to tap(4). Adapt ospfd test.Alexander Bluhm
2016-09-28An unintened 65536 size change slipped in, revert to 65535Reyk Floeter
2016-09-28Fix length calculation of PACKET_IN (I forget the 10 byte packet_in header).Reyk Floeter
2016-09-28Bump buffer size to 64k, the max OFP packet sizeReyk Floeter
2016-09-28I wrote a perfect regress test: a test that never fails. CorrectlyReyk Floeter
populate the die() from code within eval to make failed tests fail.
2016-09-23Check wether sudo or doas is working once at the beginning of theAlexander Bluhm
test.
2016-09-23Remove leftovers from relayd tests.Alexander Bluhm
2016-09-23The TCP socket buffer size for syslogd has changed. Adapt testsAlexander Bluhm
where we count the dropped messages. A different number gets stuck in the kernel buffers now which is not included in the syslogd statistics.
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.