summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2021-07-10Pass expected result first when diff(1)ing for result.Martin Pieuchot
2021-07-10Add test case for single static address in configuration payload intobhe
addition to existing "config address" test that uses an address pool.
2021-07-10honor objdiranton
2021-07-10minor nits:anton
* compile the edit utility once * emit a warning during timeout
2021-07-06Make test more verbose to see commands and error messages in output.Alexander Bluhm
This makes it easier to debug if something fails. Add some ${SUDO} in a way that this tests runs as root or regular user with and without SUDO set.
2021-07-06Make use of the existing bsd.regress.mk logic to flag root only targets,anton
allowing the actual tests to become less repetitive. ok bluhm@
2021-07-06This regress checks that 400 singals are evenly distributed over 4Alexander Bluhm
threads. It works well on idle 4 CPU machines, but with load or fewer cores the distribution of the threads' signal handlers is worse. Reduce the limit of signals that each thread must receive from 75 to 50. This should prevent random test fails. from Christian Ludwig
2021-07-06alarm(3) cannot fail, remove error handling.Alexander Bluhm
suggested by millert@
2021-07-06Fix typo in comment.Alexander Bluhm
2019-09-05Test IPv6 multicast sender, receiver, router. Minimal mc6routeAlexander Bluhm
implmentation does not care about ICMPv6, it simply adds static multicast routes. Multicast routing needs at least two test machines. Otherwise only send and receive on localhost is tested. Currently receiving link-local packets via loopback does not work due to wrong scope id. Everything is mostly copied from IPv4 regress.
2021-07-05Write ktrace output files onto NFS mounted file systems.Alexander Bluhm
2021-07-03Garbage collect do_test_cipherlist().Joel Sing
This code no longer compiles and the equivalent test coverage has been added to regress/lib/libssl/ciphers (and is actually run).
2021-07-03Add test that ensures ssl3_ciphers[] is sorted by cipher id.Joel Sing
2021-07-03Rewrite get_put_test() as cipher_find_test().Joel Sing
The get_cipher_by_char() and put_cipher_by_char() pointers are no longer accessible on the SSL_METHOD (and soon will not even exist). Rewrite the test to use SSL_CIPHER_find() instead.
2021-07-03fix a bug that resulted in incomplete testing:Ingo Schwarze
end statements with ';' because ',' isn't enough
2021-07-01Just in case another developer besides anton@ and myself even wants toIngo Schwarze
look at these tests: add a comment providing a high-level picture of what is going on here, such that everyday maintenance can be performed without going down the rabbit hole of subr.sh and edit.c.
2021-07-01We already tested all corner cases for two-byte and three-byte UTF-8Ingo Schwarze
sequences, but coverage of four-byte sequences was incomplete, which contributed to the recently fixed ksh(1) emacs.c bug not being found for some time. Consequently, add some tests covering + valid sequences starting with \0360, \0361, and \0363; + incomplete sequences starting with \0360 and \0361; + invalid (too low) sequences starting with \0360. OK anton@
2021-06-30The byte \0363 is not invalid in UTF-8.Ingo Schwarze
The incorrectness of this test was exposed by the bugfix in /usr/src/bin/ksh/emacs.c rev. 1.88 and reported to me by bluhm@. This is a minimal fix replacing the incorrect test line with two correct tests involving the same byte. OK anton@
2021-06-30Disable some code that reaches into libssl internals.Joel Sing
This should be moved to a dedicated regress test.
2021-06-30Disable some tests that probably no longer make sense.Joel Sing
We'll either fix these or remove them in the near future.
2021-06-30Pull in ssl_locl.h to allow for move of struct ssl_session_st.Joel Sing
2021-06-30TLS error messages have changed slightly, adapt regex for expectedAlexander Bluhm
logs in syslogd regress.
2021-06-28delete the two pairs of extra blank lines from expected man(7) terminalIngo Schwarze
output that are no longer printed since man_term.c rev. 1.189
2021-06-27Add test coverage for TLSv1.3 client hellos.Joel Sing
This is a little bit clunky due to the number of things that vary (largely thanks to middlebox compatibility mode, along with the versions and key share extensions), however it works and can be improved at a later date.
2021-06-27Add test coverage for DTLSv1.2 client hellos.Joel Sing
2021-06-27Improve test coverage for SSL_OP_NO_DTLSv1.Joel Sing
2021-06-27Teach hexdump() how to identify differing bytes.Joel Sing
This allows differences between the received data and the test data to be more readily identified.
2021-06-27More appropriately set cipher_list_len when AES acceleration is available.Joel Sing
2021-06-27Tweak some data types and sprinkle some const.Joel Sing
2021-06-23Adjust test. You're not supposed to change errno in a signal handler andMark Kettenis
count on it being observable in the normal program flow after the signal handler returns. Such code would break code that sets errno to 0 and looks at its value later. With the recent futex(2) changes this particular aspect of the test no longer passed. ok deraadt@, bluhm@
2021-06-22Adjust expected output after the change to show more proper info in Adj-RIB-OutClaudio Jeker
2021-06-21Add GnuTLS interoperability test in appstest.shKinichiro Inoguchi
2021-06-20Adjust snmp regress to recent changesMartijn van Duren
OK sthen@
2021-06-20Adjust snmpd regress to recent changesMartijn van Duren
OK sthen@
2021-06-20use __riscv instead of __riscv64Theo de Raadt
2021-06-20Add a test case for fmt_scaled.c r1.20Theo Buehler
2021-06-19zap trailing whitespaceTheo Buehler
2021-06-19Add DTLS test cases that use non-zero initial epochs.Joel Sing
In particular, test handling of 0xfffe and 0xffff - the latter results in wrapping to zero for the next epoch. One of these tests triggers a known bug in libssl, which will be fixed following this commit.
2021-06-19Add more complex DTLS tests for delay/reordering.Joel Sing
These tests exercise the various queues and delayed processing that exists in the DTLS code.
2021-06-19Expand comment that details why two DTLS tests currently fail.Joel Sing
Two tests currently fail (and are disabled) due to a flaw in the DTLSv1.0 specification - this flaw was addressed in DTLSv1.2, however our DTLS server code still needs to support the fix. Quoting RFC 6347 section 4.2.4: "This requirement applies to DTLS 1.0 as well, and though not explicit in [DTLS1], it was always required for the state machine to function correctly." In otherwords, both the original DTLS implementation and the DTLSv1.0 specification have a broken state machine, resulting in possible dead lock.
2021-06-19Provide the ability to delay/reorder DTLS packets.Joel Sing
Add a test that delays the client CCS, resulting in it arriving after the client Finished message.
2021-06-18Remove SSL_CTX_set_read_ahead() calls - it is now the default for DTLS.Joel Sing
2021-06-18vmd diskfmt regress: don't copy source files, cleanup disk imagesdv
Previous version of the diskfmt regress tests for vmd(8) would copy source files from the tree in order to compile them. Using some of the ssh regress tests as inspiration, use the .PATH to allow building object files from other parts of the tree in place. Since 4G disk images are made as part of the test, clean those up when done by adding in a proper REGRESS_CLEANUP target. "go for it" mlarkin@
2021-06-18Limit regress libexecinfo to amd64 or llvm >=12.mortimer
Only amd64 has unwind info by default, so this regress test only works on amd64. In llvm12, more architectures have unwind info by default, so this test should work on those architectures. Found by bluhm. OK bluhm@
2021-06-17Like ARM, RISC-V does not implement floating point exceptions.Mark Kettenis
2021-06-13fix and enable diskfmt regress test for vmd(8)dv
Clean the rot in the diskfmt test, updating it to work with current vmd(8) and vmctl(8). Remove the needs to qemu since vmctl can create qcow2 images now. Now that it's a test that doesn't need a port, enable it in the parent Makefile. There's still some work needed to get "make clean" properly cleaning up after the tests. OK ori@
2021-06-12Exercise resetting of expired and unexpired timers.Visa Hankala
2021-06-11Adjust futex regress test since futex(2) now returns -1 on error and setsMark Kettenis
errno like any normal syscall. ok mpi@, bluhm@
2021-06-10Move libexecinfo regress tests under regress/gnu/libJeremie Courreges-Anglas
Discussed with mortimer@ and bluhm@
2021-06-10Use $SUDO when reading sshd's pidfile here too.Darren Tucker