summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2023-11-06Mark a couple of tests as broken, now that the sysORTable is gone/empty.Martijn van Duren
Relying on the live snmpd(8) metrics is brittle and this regress test should probably move to a custom agent in a similar fashion to the custom manager from the snmpd(8) regress. Pointed out by anton@
2023-11-04With the move of SNMPv2-SMI::snmpV2 into application_internal.c, it's noMartijn van Duren
longer possible to register objects underneath this region. This effectively made a few snmp(1) regress tests unusable, which essentially don't belong here. Simply remove these tests.
2023-11-03Make netcat tests less flaky by ensuring the server has terminated beforeAnton Lindqvist
examining the outcome. ok bluhm@
2023-11-01Specify ssh binary to use instead of relying on installed one. FixesDarren Tucker
test failures in -portable when running tests prior to installation.
2023-11-01add some tests of forced commands overriding Subsystem directivesDamien Miller
2023-10-31Remove 3 expected failures those got fixed in the regress code.Claudio Jeker
2023-10-31unlink("/") just needs to error. Checking for a specific errno makesClaudio Jeker
little sense here since there are multiple possible errnos that could be returned. On OpenBSD this returns EISDIR and not EBUSY. OK mbuhl@ millert@
2023-10-31When creating a file in a directory the file gid is inherited fromClaudio Jeker
the directory and so checking against getgid() makes no sense. OK mbuhl@ millert@
2023-10-31Ignore closefrom() failure. This fails normally since fd 4 and up are allClaudio Jeker
closed. OK mbuhl@ millert@
2023-10-31Don't try to use sudo inside sshd log wrapper. We still need toDarren Tucker
check if we're using sudo since we don't want to chown unecessarily, as on some platforms this causes an error which pollutes stderr. We also don't want to unnecessarily invoke sudo, since it's running in the context of the proxycommand, on *other* platforms it may not be able to authenticate, and if we're using SUDO then it should already be privileged.
2023-10-31Only try to chmod logfile if we have sudo. If we don't have sudoDarren Tucker
then we won't need to chmod.
2023-10-30move PKCS#11 setup code to test-exec.sh so it can be reused elsewhereDamien Miller
2023-10-30tidy and refactor PKCS#11 setup codeDamien Miller
Replace the use of a perl script to delete the controlling TTY with a SSH_ASKPASS script to directly load the PIN. Move PKCS#11 setup code to functions in anticipation of it being used elsewhere in additional tests. Reduce stdout spam
2023-10-30Add support for OpenSSL 3.1 interop testsTheo Buehler
Until OpenSSL 3.1 has replaced OpenSSL 3.0 on most architectures, run both tests. Installed packages of OpenSSL 3.0 will update automatically to 3.1, so regress runners should not need to do anything.
2023-10-29Add a few tests to make sure that getnext requests on/under a registeredMartijn van Duren
instance with a registered region above cause a recursion in the tree.
2023-10-29Add a regress test to make sure that agentx responses equal toMartijn van Duren
searchrange.end are rejected.
2023-10-29Only try to chown logfiles that exist to prevent spurious errors.Darren Tucker
2023-10-27Add a test that would cause a use after free previously by sending aMartijn van Duren
protocol error-ed message and immediately followed up by a connection close. OK tb@
2023-10-27Include wait(2) status in error message, in the hopes of providing cluesAnton Lindqvist
on why this occasionally fails.
2023-10-26make use of bsd.regress.mk in extra and interop targets; ok dtucker@Anton Lindqvist
2023-10-26Skip conch interop tests when not enabled instead of fatal.Darren Tucker
2023-10-26Provide prototype for X509_ALGOR_set_md()Theo Buehler
Once we remove X509_ALGOR_set_md() we can link this test statically and use X509_ALGOR_set_evp_md() but for now make sure the documented workaround for this garbage API works.
2023-10-25ssh conch interop tests requires a controlling terminal; ok dtucker@Anton Lindqvist
2023-10-24Implement the man(7) .MR macro, a 2023 GNU extension.Ingo Schwarze
The syntax and semantics is almost identical to mdoc(7) .Xr. This will be needed for reading the groff manual pages once our port will be updated to 1.23, and the Linux Manual Pages Project is also determined to start using it sooner or later. I did not advocate for this new macro, but since we want to remain able to read all manual pages found in the wild, there is little choice but to support it. At least it is easy to do, they basically copied .Xr.
2023-10-24Add a new regression framework for snmpd.Martijn van Duren
There are still many test cases left to write, so leave snmpd.sh in place to test for cases not yet implemented by the new code.
2023-10-23once again, i forgot to update the date in the footerIngo Schwarze
2023-10-23Support some escape sequences, in particular character escape sequences,Ingo Schwarze
inside \w arguments, and skip most other escape sequences when measuring the output length in this way because most escape sequences contribute little or nothing to text width: for example, consider font escapes in terminal output. This implementation is very rudimentary. In particular, it assumes that every character has the same width. No attempt is made to detect double-width or zero-width Unicode characters or to take dependencies on output devices or fonts into account. These limitations are hard to avoid because mandoc has to interpolate \w at the parsing stage when the output device is not yet known. I really do not want the content of the syntax tree to depend on the output device. Feature requested by Paul <Eggert at cs dot ucla dot edu>, who also submitted a patch, but i chose to commit this very different patch with almost the same functionality. His input was still very valuable because complete support for \w is out of the question, and consequently, the main task is identifying subsets of the feature that are needed for real-world manual pages and can be supported without uprooting the whole forest.
2023-10-23Use private key that is allowed by sshd defaults in conch interop tests.Anton Lindqvist
ok dtucker@
2023-10-23use more natural (and new) += with REGRESSION_TESTINGMarc Espie
2023-10-22bt(5), btrace(8): execute END probe and print non-empty maps upon exit()Scott Soule Cheloha
BPFTrace's exit() statement executes the END probe (if any) and prints the contents of all non-empty maps before terminating the interpreter. Implement this in btrace(8) with a halting check after each statement. If a statement causes the program to halt, the condition bubbles up to the top-level evaluation loop and causes rules_teardown() to run immediately. btrace(8) still performs a full rules_setup() if exit() is called during the BEGIN probe, though the top-level evaluation loop is never run. One edge-like case: an exit() from the END probe is treated as an early return; END is not executed multiple times. Thread: https://marc.info/?l=openbsd-tech&m=169765169420751&w=2 ok mpi@
2023-10-22new regression test for roff.c rev. 1.270:Ingo Schwarze
infinite recursion in macro argument expansion
2023-10-22A few more testsOtto Moerbeek
2023-10-21regression test for roff.c rev. 1.269:Ingo Schwarze
recursive delayed expansion of escape sequences in macro arguments
2023-10-20Allow overriding the locations of the Dropbear binaries similar to whatDarren Tucker
we do for the PuTTY ones.
2023-10-20Add interop test with Dropbear. Right now this is only dbclient not theDarren Tucker
Dropbear server since it won't currently run as a ProxyCommand.
2023-10-19Add test for dropped messages to UDP loghost.Alexander Bluhm
2023-10-19Add missing removal of network interfaces in regress cleanup targets.Anton Lindqvist
Reducing the risk tests conflicting with each other. ok bluhm@
2023-10-19Add a few more test cases for mod_exp aliasingTheo Buehler
2023-10-19The bn_mod_exp test is no longer an expected failureTheo Buehler
2023-10-19Add test case checking aliasing of the result with other argumentsTheo Buehler
These are expected failures for BN_mod_exp_simple() and the internal BN_mod_exp_recp(), which will be fixed shortly.
2023-10-18Make libssl interop server/client tests less flaky by ensuring theAnton Lindqvist
server has terminated before examining the outcome.
2023-10-18adjust sgr0 escape sequence after ncurses update; ok nicm@Anton Lindqvist
2023-10-16Adjust lladdr test to use templates in rdomain1 (e.g. fe80::%pair11/64)Claudio Jeker
The code allready supports matching of templates with a scope id and fe80::%pair11/64 and fe80::%gif11/64 are different to session_match_mask().
2023-10-16Add regress test to verify that IPv6 link-local addresses workClaudio Jeker
2023-10-16Set fib-update no since the fib is not needed here.Claudio Jeker
2023-10-14Suppress harmless EPIPE errors during test shutdown.Anton Lindqvist
2023-10-13Use a unique mount point rooted in /mnt in order to not conflict with otherAnton Lindqvist
tests.
2023-10-13Use the idiom in cleanup target like many othersAnton Lindqvist
in regress already does.
2023-10-13Adjust regress to cope with constraintsTheo Buehler
2023-10-13Force the router-id on all bgpd instances to make the expected outputClaudio Jeker
predictable.