summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2016-08-17syslogd(8) uses new libtls certificate and key file loading. SoAlexander Bluhm
the tests behave a little bit different now.
2016-08-16Add regression tests for IP_SENDSRCADDR.Vincent Gross
2016-08-14Convert quad_t to long longPhilip Guenther
2016-08-14Convert %q to %llPhilip Guenther
2016-08-10no more armish;Jason McIntyre
2016-08-10armish handled some early-gen arm machines, which required tons ofTheo de Raadt
workarounds. Some of them will soon stand in the way of armv7. Off to the attic you go.
2016-08-10regression tests for mdoc_validate.c revisions 1.219 and 1.220Ingo Schwarze
2016-08-09When interrupted, connect() should leave the socket connecting in thePhilip Guenther
background, similar to a non-blocking socket. Return EALREADY whenever already connecting, not just for non-blocking sockets. Fix from {Free,Net}BSD Prompted by a report from Michael Reed (m.reed (at) mykolab.com) ok millert@
2016-08-06Add more tests for better code coverage:Theo Buehler
What happens if begin and end are reversed? What if they are equal? While there, add a few comments on the purpose of the tests.
2016-08-06If you see code like this, you know something's quite wrongTheo Buehler
(present in some form since r1.1, still present in r1.31): 229 case 013: 230 if (randomize) 231 begin = BEGIN_DEF; 232 else if (reps == 0) 233 errx(1, "Must specify begin if reps == 0"); 234 begin = ender - reps * s + s; Add two tests that check for the intended behavior.
2016-08-05enable the mandoc.db(5) regression suite, code is stable enough nowIngo Schwarze
2016-08-05adjust expected output after the NAME_HEAD fix in mandocdb.c rev. 1.175Ingo Schwarze
2016-08-05enable dddd regression testTheo Buehler
2016-08-04adjust database file name and version number to what was committedIngo Schwarze
2016-07-30hook up regression tests for jot(1)Theo Buehler
2016-07-30Add regression tests for jot(1).Theo Buehler
Adapted from FreeBSD's test suite by attila () stalphonsos ! com. Minor tweaks: * make tests work properly with 'make obj' and setting VERBOSE * add 10 tests checking some examples in our man page * disable the dddd test for now since it loops forever Besides dddd, the following five tests fail: dhhd dhhd2 wp3 wp4 wp5 Suggested fixes for these are on tech@ Many thanks to attila for doing the hard work!
2016-07-30test suite for the new mandoc.db(5) format;Ingo Schwarze
will be enabled after committing in src/usr.bin/mandoc
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-19Adapt test to the srp_swap() area.Martin Pieuchot
2016-07-19Update counters & unbreak now that rtrequest(RTM_ADD, ...) caches theMartin Pieuchot
gateway.
2016-07-18Remote regression tests should not run ssh with -t all the time.Alexander Bluhm
This will make it easier to automate them.
2016-07-11Add regression tests for the path MTU discovery implementation in Alexander Bluhm
the kernel. Generate TCP and TCP6 and UDP6 packets with Scapy, check the kernel's reaction to ICMP fragmentation needed and ICMP6 packet too big. OK mpi@
2016-07-14Prevent silly states via knotes on pids > 2^32 and on nonexistent signals.Philip Guenther
ok tedu@
2016-07-14Correct equal in test.Darren Tucker
2016-07-13Fix usage() output and getopt sortingPhilip Guenther
2016-07-12Link path MTU discovery regress test into build.Alexander Bluhm
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-11Add regression tests for the path MTU discovery implementation in Alexander Bluhm
the kernel. Generate TCP and TCP6 and UDP6 packets with Scapy, check the kernel's reaction to ICMP fragmentation needed and ICMP6 packet too big. OK mpi@
2016-07-07add ca cert error check and make the path configurableBrent Cook
from Kinichiro Inoguchi
2016-07-06Now libtls is always reading cert.pem during tls_config_new().Alexander Bluhm
Adapt ktrace count in syslogd test.
2016-07-05Some new tests related to bin/cat.c rev. 1.25,Ingo Schwarze
from Sevan Janiyan <venture37 at geeklan dot co dot uk>.
2016-07-05remove extra assignment of s from 1.11, fix regression testBrent Cook
2016-07-05On systems where we do not have BN_ULLONG defined (most 64-bit systems),Brent Cook
BN_mod_word() can return incorrect results if the supplied modulus is too big, so we need to fall back to BN_div_word. Now that BN_mod_word may fail, handle errors properly update the man page. Thanks to Brian Smith for pointing out these fixes from BoringSSL: https://boringssl.googlesource.com/boringssl/+/67cb49d045f04973ddba0f92fe8a8ad483c7da89 https://boringssl.googlesource.com/boringssl/+/44bedc348d9491e63c7ed1438db100a4b8a830be ok beck@
2016-07-05make less awful.. test against cloudflare tooBob Beck
2016-07-04Add a nasty little ocsp regress test in the hope pedants will make it better.Bob Beck
2016-07-04DEBUGLIBS has been broken since the gcc4 switch, so delete it. CFLAGSPhilip Guenther
contains -g by default anyway problem noted by Edgar Pettijohn (edgar (at) pettijohn-web.com) ok millert@ kettenis@ deraadt@
2016-07-01Timing changed, now a syslogd test may get EPIPE instead ofAlexander Bluhm
ECONNREFUSED error.
2016-06-30Remove flags for disabling constant-time operations.Brent Cook
This removes support for DSA_FLAG_NO_EXP_CONSTTIME, DH_FLAG_NO_EXP_CONSTTIME, and RSA_FLAG_NO_CONSTTIME flags, making all of these operations unconditionally constant-time. Based on the original patch by César Pereid. ok beck@
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-06-13Test that splicing loops are aborted with ELOOP.Alexander Bluhm
2016-06-07Replace (remaining) systrace policy files with columns of numbers forOkan Demirmen
the tab spacing regression test; from Ray Lai.
2016-06-07Adapt compat layers after recent changes: srp_swap() and the GC taskMartin Pieuchot
for ART.
2016-06-03Add a test for ssh(1)'s config file parsing.Darren Tucker