summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2021-07-23regression test for time-limited signature keysDamien Miller
2021-07-19Use SUDO when setting up hostkey.Darren Tucker
2021-07-19Increase time margin for rekey tests. Should help reliability on veryDarren Tucker
heavily loaded hosts.
2021-07-19Add test for host key verification via SSHFP records. This requiresDarren Tucker
some external setup to operate so is disabled by default (see comments in sshfp-connect.sh).
2021-07-19Add ed25519 key and test SSHFP export of it. Only test RSA SSHFP exportDarren Tucker
if we have RSA functionality compiled in.
2021-07-19Group keygen tests together.Darren Tucker
2021-07-18Add test for ssh-keygen printing of SSHFP records.Darren Tucker
2021-07-18Let the mandoc.db(5) test suite work with parallel make (make -j),Ingo Schwarze
by making sure that different tests use different directory names for their work such that they do not collide. As a side benefit, this allows keeping the complete working directories of the tests until "make cleandir" is run, which may occasionally help debugging when something breaks. The failure with make -j was detected and reported by anton@, who also reviewed, tested, and OK'ed this somewhat lengthy patch.
2021-07-17Make the mandoc.db(5) tests work with BSDOBJDIR set,Ingo Schwarze
by stripping initial parts of paths the do not matter for the features being tested from man(1) output. Problem found and reported by, solution developed together with, and OK anton@
2021-07-15Fix regress for rpki-clientjob
spotted by bluhm
2021-07-14Shrink cluster size for FAT32 to fullfil the new minimum clusterAlexander Bluhm
limit of newfs_msdos for our small 64 MB vnd disk image. suggested by jsg@
2021-07-14LibreSSL error message has changed, adapt test.Alexander Bluhm
2021-07-14Adjust expected certificate error message. Caused by recent work to supportanton
partial chains in libcrypto. ok bluhm@
2021-07-12Change the error reporting pattern throughout the tree when unveilBob Beck
fails to report the path that the failure occured on. Suggested by deraadt@ after some tech discussion. Work done and verified by Ashton Fagg <ashton@fagg.id.au> ok deraadt@ semarie@ claudio@
2021-07-12fix some broken tests; clean up outputDamien Miller
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