summaryrefslogtreecommitdiff
path: root/regress/usr.sbin
AgeCommit message (Collapse)Author
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
2023-10-16Set fib-update no since the fib is not needed here.Claudio Jeker
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.
2023-10-12Test retry after DNS lookup failure.Alexander Bluhm
2023-10-12Let vnconfig select an unused device as opposed of unconditionallyAnton Lindqvist
assume vnd0 is available.
2023-10-12Add a fairly minimal ixp setup generated by arouteserverClaudio Jeker
This does a lot of community manipulation and also tests a few other bits of code (prepends, roa, prefix-set).
2023-10-11put "stub" within grasp of -DREGRESSION_TESTING.Marc Espie
Extend it slightly: do not stub quirks, so that caching mechanisms work as usual even when using stubs.
2023-10-11Extend rde_community_test to check various aspects of non-transitiveClaudio Jeker
extended communities. Mainly that the non-transitive communities are properly stripped. Test fails without rev 1.14 of rde_community.c
2023-10-06prepare for adding a value for REGRESSION_TESTING, so that I can testMarc Espie
more funky situations eventually
2023-09-27Cope with progname now being present in vmd errors messages.Anton Lindqvist
2023-09-26Update APNIC's TA cert.Theo Buehler
The old one expired last night. noted by anton
2023-09-25Adjust regress for *_parse changeTheo Buehler
2023-09-11Regressions for tuples and evaluating variables.Martin Pieuchot
2023-09-02btrace(8): allow empty statements in probes.Dave Voutila
Allows for probes like `BEGIN {}`, in parity with bpftrace. Also fixes an incorrect syntax error parsing argN builtins in subsequent probes after an empty BEGIN block. ok mpi@
2023-09-02btrace(8): fix probe builtin in BEGIN/END.Dave Voutila
Resolves segfaults when using probe within BEGIN or END. ok mpi@
2023-08-28btrace(8): prohibit use of argN builtins in BEGIN/END.Dave Voutila
The argN builtins are undefined for BEGIN and END special probes. Similar to bpftrace, produce an error from the parser. Adds a regress test, as well. ok mpi@
2023-08-21most tests need root, add targets using ${SUDO} to REGRESS_ROOT_TARGETSKlemens Nanni
2023-08-20stricter devname match on bioctl(8) output avoids false positives on failureKlemens Nanni
2023-08-16Cosmetic fix for copy-pastoTheo Buehler
2023-08-16The per-AFI madness in ASPA was removed. So adjust this test here.Claudio Jeker
2023-08-16Per-AFI ASPA provider was removed. Adjust expected result.Claudio Jeker