summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2021-11-01Rework SNI hostname regress to be table driven.Joel Sing
Also adjust for the changes to tlsext_sni_is_valid_hostname() and include tests for IPv4 and IPv6 literals. ok beck@
2021-11-01Rework x509attribute regress test in such a way that it doesn't needTheo Buehler
to reach into opaque structs.
2021-10-31Also remove pcap files during make clean.Alexander Bluhm
2021-10-31Make this test compile again after the damage done in libcryptoTheo Buehler
2021-10-31Prepare regress for opaque structs in x509*.hTheo Buehler
2021-10-29If the test fails, do not hang forever. Abort with a 10 secondsAlexander Bluhm
timeout.
2021-10-29Hook poll tests.Martin Pieuchot
2021-10-29Test that poll(2) returns POLLNVAL for an already closed fd.Martin Pieuchot
poll(2) rewrite on top of kqueue is currently blocking instead of returning. Regression reported by Larry Hynes with a reproducer from Leah Neukirchen, thanks a lot!
2021-10-29sshsig: add tests for signing key validity and find-principalsDamien Miller
- adds generic find-principals tests (this command had none before) - tests certs with a timeboxed validity both with and without a restriced lifetime for the CA - test for a revoked CA cert by Fabian Stelzer
2021-10-29avoid signedness warning; spotted in -portableDamien Miller
2021-10-28openssl-ruby tests: rework for x509_alt.c r1.3 and r1.5.Theo Buehler
ruby can no longer generate certs with bogus wildcards in it to check that they will fail to verify when creating TLS connections. It will throw an error. This change needs openssl-ruby-tests-20211024p0 or later to work.
2021-10-28increment SSH_SK_VERSION_MAJOR to match last changeDamien Miller
2021-10-26Adjust regress to the new BIO-free world order.Claudio Jeker
2021-10-26Free memory on text exit to make asan quieterBob Beck
ok tb@
2021-10-26Revise regress for removal of SSL_SESSION_INTERNAL.Joel Sing
2021-10-25- add regression tests for pfctl '$rn' macro expansionAlexandr Nedvedicky
OK @bluhm
2021-10-25open() flags never contain O_CREAT, so variatic mode_t can be removed here alsoTheo de Raadt
2021-10-25Drop two uses of the terrible asn1 kludge spotted by antonTheo Buehler
2021-10-25Use EXPECTED_FAIL instead of DISABLED.mbuhl
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which might lead future people to copy this broken idiom, and perhaps even believe this parameter has some meaning or implication or application. Delete them all. This comes out of a conversation where tb@ noticed that a strange (but intentional) pledge behaviour is to always knock-out high-bits from mode_t on a number of system calls as a safety factor, and his bewilderment that this appeared to be happening against valid modes (at least visually), but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef. ok millert
2021-10-24Use the print.c file which is now shipped in rpki-client to printClaudio Jeker
the cert, gbr, mft, roa and tal file contents. No real functional change. OK tb@
2019-11-19Import NetBSD system call regression tests. They were written withAlexander Bluhm
ATF (Automated Testing Framework), so we use a small wrapper to map it to our bsd.regress.mk framework. Only half of the 80 NetBSD tests have been taken, the others need more work to adapt. Of them 34 syscall tests pass. Moritz Buhl ported the tests to OpenBSD.
2021-10-24Anther day another broken test-http.c report from anton@Claudio Jeker
Adjust code again.
2021-10-23For testing snmpd, use rc script to stop any running snmpd on machineAlexander Bluhm
and restart it afterwards.
2021-10-23Fixup test-http.c after big io change before anton@ complainsClaudio Jeker
2021-10-23Add a regress test for TLS client/server.Joel Sing
This currently exercises various combinations of TLS versions and their associated key exchange mechanisms. Note that this currently fails for TLSv1.0/TLSv1.1 with RSA KEX (to be fixed shortly). Over time all of the ssl regress should be moved into the dtls and tls regress tests.
2021-10-23Unbreak test-http after the last io.c changesClaudio Jeker
Report from anton@
2021-10-23Revise regress test for tls13_buffer rename.Joel Sing
2021-10-23Revise regress for tlsext_tick_lifetime_hint changing type.Joel Sing
2021-10-22oops.mbuhl
2021-10-22add missing FreeBSD libm tests, update the othersmbuhl
2021-10-22After deleting hifn(4) the only provider for the LZS compressionAlexander Bluhm
algorithm is gone. Reomve all LZS references from the tree. The v42bis in isakmpd also looks unsupported. OK mvs@ patrick@ sthen@
2021-10-22knf nitsAnton Lindqvist
2021-10-22add pipe select hangup test case; ok mpi@Anton Lindqvist
2021-10-15Pull in ssl_locl.h so that we can keep reaching into libssl internals.Joel Sing
2021-10-13Sending live tcpdump output over SSH while running tests may dropAlexander Bluhm
bpf logs in the kernel. Better write pcap files onto remote machine's disk and collect and convert after testing with live packets has finished. Move the TCP path MTU tests to the end. Otherwise TCP packets floating around could affect the packet counters of the subsequent tests.
2021-10-13ssltest.c does not need param.hTheo Buehler
From Jonas Termansen
2021-10-13Remove __dead from usage() to reduce the diff needed to build LibreSSLTheo Buehler
on sortix. Prompted by a diff by Jonas Termansen
2021-10-13Fix regress test after changing the way bgpsec pubkeys are shown and processed.Claudio Jeker
Reported by anton@
2021-10-12Relax test regex, read or write error is possible.Alexander Bluhm
2021-10-12quote sudo and handle argumentsAnton Lindqvist
2021-10-11Fold bgpsec cert & traditional certs into same testJob Snijders
2021-10-11Improve BGpsec regress testJob Snijders
2021-10-11quote sudo and handle argumentsAnton Lindqvist
2021-10-11Invoke ${SUDO} before env(1) and not the other way around. Otherwise,Anton Lindqvist
the OBJDIR environment variable will not necesarily be preserved.
2021-10-11Replace poor man's synchronization primitive (i.e. sleep) with aAnton Lindqvist
wait-until-condition-is-true loop in the hopes of making these tests less flaky. ok benno@
2021-10-09delete unneccessary arpa/nameser.h includesTheo de Raadt
ok millert
2021-10-07honor objdirAnton Lindqvist
2021-10-07Replace the ugly openssl11 hack for the missing ASN1_time_parse() andClaudio Jeker
ASN1_time_tm_cmp() functions with another hack that is considerably more horrible but also less intrusive.
2021-10-06This regress uses vnd devices to create a softraid volume. Raid levelsAlexander Bluhm
RAID 0, RAID 1, RAID 5, CRYPTO, CONCAT, RAID 1 + CRYPTO are created. The volume disk is then mounted and stressed a little bit.