summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2020-07-09New regression tests for integral type conversionsIngo Schwarze
and for their modifiers, written from scratch.
2020-07-08New regression tests for character and string conversionsIngo Schwarze
and for their modifiers, written from scratch.
2020-07-07Remove temporary RSA keys/callbacks code.Joel Sing
This was removed from libssl a very long time ago...
2020-07-07Test TLSv1.3 ciphersuites now that TLS_method() supports TLSv1.3.Joel Sing
2020-07-07Add support for set -o pipefailJeremie Courreges-Anglas
With the pipefail option set, the exit status of a pipeline is 0 if all commands succeed, or the return status of the rightmost command that fails. This can help stronger error checking, but is not a silver bullet. For example, commands will exhibit a non-zero exit status if they're killed by a SIGPIPE when writing to a pipe. Yet pipefail was considered useful enough to be included in the next POSIX standard. This implementation remembers the value of the pipefail option when a pipeline is started, as described as option 1) in https://www.austingroupbugs.net/view.php?id=789#c4102 Requested by ajacoutot@, ok millert@
2020-07-06Add a few ${.CURDIR} to make the new RCS tests work with obj/ and obj@.Theo Buehler
ok stsp
2020-07-06Add support for timeconting in userland.Paul Irofti
This diff exposes parts of clock_gettime(2) and gettimeofday(2) to userland via libc eliberating processes from the need for a context switch everytime they want to count the passage of time. If a timecounter clock can be exposed to userland than it needs to set its tc_user member to a non-zero value. Tested with one or multiple counters per architecture. The timing data is shared through a pointer found in the new ELF auxiliary vector AUX_openbsd_timekeep containing timehands information that is frequently updated by the kernel. Timing differences between the last kernel update and the current time are adjusted in userland by the tc_get_timecount() function inside the MD usertc.c file. This permits a much more responsive environment, quite visible in browsers, office programs and gaming (apparently one is are able to fly in Minecraft now). Tested by robert@, sthen@, naddy@, kmos@, phessler@, and many others! OK from at least kettenis@, cheloha@, naddy@, sthen@
2020-07-06Make this build on powerpc64.Mark Kettenis
2020-07-06Make this build on powerpc/powerpc64. Only test on powerpc64 for nowMark Kettenis
since this is expected to fail on most 32-bit PowerPC CPUs given the lack of a proper permission bit.
2020-07-05Fix rpki-client regress test after -f removal.Theo Buehler
ok job
2020-07-04Add a missing circular_init() call in the TLS ordering test.Joel Sing
This makes the regress work correctly again - this was previously masked by the fact that tls_close() (and hence SSL_shutdown()) was draining the circular buffer, whereas now we're leaving data behind from a previous test, resulting in the ordering test failing.
2020-07-03Rename IN6_IFF_PRIVACY to IN6_IFF_TEMPORARY.Florian Obser
This is the name the other BSDs use for this, there is no reason to be different, the IPv6 RFCs call these addresses temporary, and some software in ports wants to use this as well. Most recently pointed out for firefox by landry. OK claudio, sthen
2020-07-03tlsexttest: pass message type to the extension functionsTheo Buehler
ok beck jsing
2020-07-03adjust alpn extension test to new argument orderTheo Buehler
2020-07-03adjust tlsexttest to new argument orderTheo Buehler
2020-06-29add a test covering the by now fixed regression during pipe closeanton
2020-06-26Provide an optimized implementation of ffs(3) in libc onChristian Weisgerber
aarch64/powerpc/powerpc64, making use of the count leading zeros instruction. Also add a brief regression test. ok deraadt@ kettenis@
2020-06-26Add an OpenRCS regression test for merging files which lack newlines.Stefan Sperling
2020-06-26regress test for ssh-add -d; ok dtucker@Damien Miller
2020-06-24add test for mux w/-Oproxy; ok djmMarkus Friedl
2020-06-24enable test-tls13-keyshare-omitted.pyTheo Buehler
2020-06-24Add test-ffdhe-expected-params.pyTheo Buehler
2020-06-22add support for verification of webauthn sshsig signature, andDamien Miller
example HTML/JS to generate webauthn signatures in SSH formats (also used to generate the testdata/* for the test).
2020-06-19Enable lucky 13 test.Theo Buehler
2020-06-19Test that ssh-agent exits when running as as subprocess of a specifiedDarren Tucker
command (ie "ssh-agent command"). Would have caught bz#3181.
2020-06-19run sshsig unit testsDamien Miller
2020-06-19basic unit test for sshsig.[ch], including FIDO keysDamien Miller
verification only so far
2020-06-19basic unit test for FIDO kep parsingDamien Miller
2020-06-18Add test that splicing inet and unix sockets. This test should be abortedmvs
with EPROTONOSUPPORT. ok mpi@
2020-06-12Add test for passive interfacesdenis
2020-06-10Add lucky13 and bleichenbacher-timing testsTheo Buehler
2020-06-06Implement a rolling hash of the ClientHello message, Enforce RFC 8446Bob Beck
section 4.1.2 to ensure subsequent ClientHello messages after a HelloRetryRequest messages must be unchanged from the initial ClientHello. ok tb@ jsing@
2020-06-04When X509_ATTRIBUTE_create() receives an invalid NID (e.g., -1), returnIngo Schwarze
failure rather than silently constructing a broken X509_ATTRIBUTE object that might cause NULL pointer accesses later on. This matters because X509_ATTRIBUTE_create() is used by documented API functions like PKCS7_add_attribute(3) and the NID comes straight from the user. This fixes a bug found while working on documentation. OK tb@ and "thanks" bluhm@
2020-06-03Enable the record layer limits test and mark two finished test cases asTheo Buehler
xfail for now. Arguably, the expected decode_error is more appropriate than the decrypt_error that we send at the moment.
2020-06-01Enable the test-tls13-zero-length-data.py test, skipping theTheo Buehler
three tests that fail due to a BIO_gets() bug.
2020-06-01Enable test-dhe-rsa-key-exchange-with-bad-messages.pyTheo Buehler
2020-05-31Fix printing long doubles on architectures with hm and lm bits.mortimer
Issue reported with initial patch by enh@google.com. ok deraadt@
2020-05-29Add checks for SH downgrade sentinel and HRR hash in appstest.shKinichiro Inoguchi
2020-05-29Add regression and unit tests for ${ENV} style environment variableDarren Tucker
expansion in various keywords (bz#3140). ok djm@
2020-05-29Unit test for convtime. ok djm@Darren Tucker
2020-05-27two new tests for Include in sshd_config, checking whether PortDamien Miller
directives are processed correctly and handling of Include directives that appear before Match. Both tests currently fail. bz#3122 and bz#3169 - patch from Jakub Jelen
2020-05-27more tests after getopt_long.c rev. 1.32;Ingo Schwarze
OK martijn@
2020-05-25The unmount-nested test creates 15 partitions with file systems.Alexander Bluhm
Use FFS1 for newfs as the file system size is below the FFS2 minimum.
2020-05-25Test that syslogd closes the UDP sockets only if not configured toAlexander Bluhm
send UDP packets.
2020-05-24Previous commit caught a few errx() cases by accident. undo them.Theo Buehler
2020-05-24include newlines in FAIL messagesTheo Buehler
2020-05-24address some nits from jsingTheo Buehler
2020-05-24The version detection doesn't work on bluhm's test machine, causingTheo Buehler
the test to fail. Neuter it for now and just assume we do TLSv1.3. I have been intending to purge this version detection hack once I'm sure we can leave the 1.3 server enabled but I'll leave it here for now.
2020-05-23Define REGRESS_TARGETS explicitly.Theo Buehler
2020-05-23Enforce that SNI hostnames be correct as per rfc 6066 and 5980.Bob Beck
Correct SNI alerts to differentiate between illegal parameter and an unknown name. ok tb@`