summaryrefslogtreecommitdiff
path: root/regress/usr.sbin
AgeCommit message (Collapse)Author
2024-09-10Include CLUSTER_LIST in the bad attribute tests. Also add a 2nd sessionClaudio Jeker
which is iBGP so we can test both CLUSTER_LIST behaviours.
2024-09-06Regression for '%c'.Martin Pieuchot
From Christian Ludwig.
2024-09-04Missing RCSIDTheo Buehler
2024-09-04Remove openssl 1.1 regressTheo Buehler
2024-09-04Unlink OpenSSL 1.1 regressTheo Buehler
2024-09-04Link openssl 3.2 regress to buildTheo Buehler
2024-09-04Add regress against OpenSSL 3.2Theo Buehler
OpenSSL 1.1 is dead. This directory will use the default version in ports (currently 3.2) for regress testing.
2024-08-28Extend maxprefix and maxprefixout tests to also check that the limitsClaudio Jeker
are checked during reload.
2024-08-23Remove unwanted trailing newlines from err/warn format strings.Anton Lindqvist
2024-08-15Regen some OK files since the bgpctl rib header changed.Claudio Jeker
Friendly reminder by anton@
2024-07-01Explicit TLS handshake with syslog client.Alexander Bluhm
Add a new TLS handshake callback for incoming connections. This will allow to inspect the client certificate later. For now only print a debug message and check it in regress. with and OK henning@
2024-06-14Replace deprecated given/when and smartmatch operator in Perl scripts.Alexander Bluhm
2024-04-22Sprinkle experimental into regress so they compileClaudio Jeker
Reported by anton@
2024-04-21Remove file without the now mandatory signing-time attributeTheo Buehler
2024-04-09Add a capability enforcement integration test.Claudio Jeker
This should ensure that no / yes and enforce work the way we want.
2024-04-09Add capability announce enforcement test and fixup some other result filesClaudio Jeker
since the role capability is now shown in more cases.
2024-04-03Switch one of the tcpmd5 passwords over to use the hex key instead.Claudio Jeker
This way both modes are tested.
2024-04-02Remove unused fileClaudio Jeker
2024-03-30Implement else branching logic including 'else if'.Martin Pieuchot
Statement lists for if & else conditions are now wrapped in a new 'struct bt_cond'. Handling B_AC_TEST statements moved to stmt_eval() to handle nested conditional statements. From Christian Ludwig christian_ludwig at genua.de
2024-03-20Run most of regress explicitly in filemode to avoid hitting location checksJob Snijders
with tb@
2024-03-12Add regress for cross-origin HTTP redirectionJob Snijders
2024-02-27Printing large tuples require more than 64 chars, bump the string limit.Martin Pieuchot
2024-02-22Add regress for Signed Prefix List objectsJob Snijders
2024-02-14Adjust test after the change to struct bgpd_addr.Claudio Jeker
Noticed by anton@
2024-02-08Add tests to make sure that snmpd adheres to the RFC2578 section 7.1Martijn van Duren
octet string primitive limitations. The integer based ones are restricted by the AgentX protocol and can't be tested.
2024-02-08No that we load MIB files at snmpd start-up chances that the sleep buildMartijn van Duren
into the regress test don't suffice anymore for slow regress machines. (Ab)use the agentx socket (which gets created after all the MIB files have been parsed) to detect if snmpd is available. For now we poll at 0.1s intervals for a total of 100 tries. found by and earlier diff tested by and OK anton@
2024-02-07Infer rdomains from environment variables N1 and N2 like many others inAnton Lindqvist
regress/sys/net already does. No functional change as the defaults remains the same.
2024-02-05Increase interval's rate to speed up tests.Martin Pieuchot
2024-02-05Regress test for undefined probe arguments fixed in in btrace.c,v 1.83.Martin Pieuchot
Adapted from a submission from Christian Ludwig.
2024-02-05Adapt map regress test to cover associated arrays fixed in btrace.c r1.82.Martin Pieuchot
From Christian Ludwig.
2024-01-28Use the wait until construct in ixp.sh in the hopes of making it moreAnton Lindqvist
stable.
2024-01-24Adjust community regress test after the switch to ibuf in bgpd.Claudio Jeker
OK tb@
2024-01-08Fix regress build since the reacharounds are fragileTheo Buehler
noted by anton
2023-12-20btrace: add support for hex and octal values.Dave Voutila
Changes number tokenizing and parsing to support hex & octal values. Does not address other lexer issues (e.g. $0x1) to close gaps with bpftrace. OK claudio@
2023-12-01Add tests to exercise the recent bug fixes.Todd C. Miller
2023-11-20Add a couple of tests for handling of tcp connections.Martijn van Duren
2023-11-16Add 3 tests for when getbulk reaches EOMV.Martijn van Duren
2023-11-13Add 2 tests to make sure getbulkrequests return the correct error index.Martijn van Duren
2023-11-10Add an initial SNMPv3 regression test.Martijn van Duren
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-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-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-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-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-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-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