summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2023-02-02test compat_kex_proposal(); by dtucker@Damien Miller
2023-02-01Don't run session tests with openssl 3.0 - these tests aren't TLSv1.3 readyTheo Buehler
2023-02-01Hopefully the last one.Theo Buehler
2023-02-01One more openssl 1.0.2 thing missed.Theo Buehler
2023-02-01Switch from eopenssl to eopenssl30. Missed in both previous commitsTheo Buehler
for some reason.
2023-02-01Retire OpenSSL 1.0.2 interopTheo Buehler
Now that the OpenSSL 1.0.2 port is gone, there's no need to keep the interop tests anymore. anton's and bluhm's regress tests will switch to testing interoperability with OpenSSL 3.0.
2023-01-31Remove "deletetunnel" command (marked as "remove during 6.4-current").Theo Buehler
The "-tunnel" command of course remains.
2023-01-31Add bn/arch/${MACHINE_CPU} to the include path.Joel Sing
This will be needed once headers pull in bn_arch.h.
2023-01-31Add more regress tests for BN_usub().Joel Sing
This adds more tests for BN_usub(), particularly where b > a, which should be an error condition. One of these currently succeeds and produces incorrect results.
2023-01-30Extend community unittests to cover more bitsClaudio Jeker
2023-01-29Use utime in order to make benchmarks less noisy and more consistent.Joel Sing
2023-01-29Set BN_FLG_CONSTTIME on benchmark inputs.Joel Sing
The public APIs still change behaviour based on BN_FLG_CONSTTIME - set it to avoid benchmark noise.
2023-01-29Add benchmarks for BN_div()Joel Sing
2023-01-29Correct setup for BN_mul/BN_sqr benchmarks.Joel Sing
BN_rand() takes a bit length, not the top bit.
2023-01-29Rename bn_mul.c regress to bn_mul_div.c.Joel Sing
2023-01-28Switch regress to using x509_verify.h from libcrypto instead of theTheo Buehler
one in /usr/include/openssl.
2023-01-27Test the behaviour of round() on halfway values.Miod Vallat
2023-01-27Add a few more -fno-builtin to make sure we test libm, not the compiler.Miod Vallat
2023-01-27Add openssl 3.0 interop testsTheo Buehler
The plan is to retire the 1.0.2 interop tests soon so as to be able to drop the dead and dangerous OpenSSL 1.0.2 port. The cert part is extremely slow on arm64: the whole interop test on an m1 is about 10x slower (~45 min!) than on a modern amd64 laptop, so people running regress may want to wait a bit with adding OpenSSL 3 to their test boxes until this is sorted out.
2023-01-24Adjust various test results to the new bgpctl show rib output includingClaudio Jeker
ASPA validation state. OK tb@
2023-01-24Adjust the ASPA test to match the new code which is AFI independent.Claudio Jeker
OK tb@
2023-01-23more comments, space and -- nitsKlemens Nanni
2023-01-22Cope with xonly on amd64 by moving the testfly routine to the rodataAnton Lindqvist
section.
2023-01-21Provide basic benchmarks for BN_mul() and BN_sqr().Joel Sing
2023-01-20Update config regress test now that aspa-set syntax changed.Claudio Jeker
OK tb@
2023-01-19Check if we can copy sshd or need to use sudo to do so during reexecDarren Tucker
test. Skip test if neither can work. Patch from anton@, tweaks from me.
2023-01-18Add xonly tests, initially written by deraadt@. Tweaked by me to fit andAnton Lindqvist
the regress framework and allowing the expected outcome to be enumerated per architecture. Currently limited to amd64 and arm64.
2023-01-17Add a dummy stub for getmonotime(). Reminded by tb@Claudio Jeker
2023-01-17also check that an active session inhibits UnusedConnectionTimeoutDamien Miller
idea markus@
2023-01-17regression test for UnusedConnectionTimeoutDamien Miller
2023-01-17fix typo in package nameAnton Lindqvist
2023-01-17cope with ktrace "(via syscall)" changesAnton Lindqvist
2023-01-16Enable softraid(4) support in installboot(8)Klemens Nanni
riscv64 efiboot already supports booting from softraid volumes. These installboot bits make sure that the boot loader will be installed on chunk devices rather than the volume for root on softraid installations, i.e. full boot support for riscv64, just like amd64, arm64 and sparc64. regress is happy. OK kettenis
2023-01-16unbreak test: cannot access shell positional parameters past $9 withoutDamien Miller
wrapping the position in braces (i.e. need ${10}, etc.)
2023-01-15adapt to ed25519 changes in src/usr.bin/sshDamien Miller
2023-01-14Shell syntax fix. From ren mingshuai vi github PR#369.Darren Tucker
2023-01-14Instead of skipping the all-tokens test if we don't have OpenSSL (sinceDarren Tucker
we use it to compute the hash), put the hash at the end and just omit it if we don't have it. Prompted by bz#3521.
2023-01-13Move scp path setting to a helper function.Darren Tucker
The previous commit to add scp to the test sshd's path causes the t-envpass test to fail when the test scp is given using a fully qualified path. Put this in a helper function and only call it from the scp tests.
2023-01-13Add scp's path to test sshd's PATH.Darren Tucker
If the scp we're testing is fully qualified (eg it's not in the system PATH) then add its path to the under-test sshd's PATH so we can find it. Prompted by bz#3518.
2023-01-12In build_aspath() be more careful in the len == 0 case. For len == 0Claudio Jeker
aspath->data should not be touched so just exit early. While there also initalize source_as correctly in the rev case. This does not matter here but is more correct. Problem noticed by anton@ OK tb@
2023-01-11Add a somewhat extensive unittest for ASPA validation functionality.Claudio Jeker
2023-01-11make REGRESS_CLEANUP consistent with REGRESS_CLEANUP foundAlexandr Nedvedicky
in pf_state/Makefile. discussed with anton@ OK anton@
2023-01-11rewrite this test to use a multiplexed ssh session so we can controlDamien Miller
its lifecycle without risk of race conditions; fixes some of the Github integration tests for openssh-portable
2023-01-10purge unhooked wx_syscall filesAnton Lindqvist
2023-01-10Retire wx_syscall regress tests, they have been failing since theAnton Lindqvist
introduction of mimmutable(2) and also needs to cope with xonly on some architectures by now. There's already the syscallwx target in regress/usr.bin/lastcomm which does the same thing but also ensures that the expected code path is reached by looking at accounting records.
2023-01-09Whoa, that clean target is insane. If someone does a make build,Theo de Raadt
pf gets disabled. Comment it out, that will need to be rethought.
2023-01-09Fix the syscallwx target which is affected by both mimmutable(2) andAnton Lindqvist
xonly by using a new gadget routine written in assembler with the sole purpose of issuing a syscall. Since it needs to be copied to wx memory, place it in the rodata section.
2023-01-09yet another set of regression tests for pf(4). Unlike testsAlexandr Nedvedicky
found in pf_forward the tests in pf_policy use local bound traffic to provide simple testing of various pf features. The initial commit brings few tests using icmp echo to test anchor rules. anton@ helped a lot to improve pf_policy/Makefile OK anton@
2023-01-09Sanitize the inherited environment by removing LC_ALL, missed in previous.Anton Lindqvist
2023-01-08Due to xonly on arm64 it is no longer possible to read the testfly routine.Anton Lindqvist
Put it in the rodata section allowing it to be copied. Note that testfly is never executed directly but only after placing it in a separate chunk of memory allowing its permissions to be mutated.