summaryrefslogtreecommitdiff
path: root/regress/usr.sbin
AgeCommit message (Collapse)Author
2021-07-15Fix regress for rpki-clientjob
spotted by bluhm
2021-07-14LibreSSL error message has changed, adapt test.Alexander Bluhm
2021-07-06alarm(3) cannot fail, remove error handling.Alexander Bluhm
suggested by millert@
2021-06-30TLS error messages have changed slightly, adapt regex for expectedAlexander Bluhm
logs in syslogd regress.
2021-06-22Adjust expected output after the change to show more proper info in Adj-RIB-OutClaudio Jeker
2021-06-20Adjust snmpd regress to recent changesMartijn van Duren
OK sthen@
2021-06-18vmd diskfmt regress: don't copy source files, cleanup disk imagesdv
Previous version of the diskfmt regress tests for vmd(8) would copy source files from the tree in order to compile them. Using some of the ssh regress tests as inspiration, use the .PATH to allow building object files from other parts of the tree in place. Since 4G disk images are made as part of the test, clean those up when done by adding in a proper REGRESS_CLEANUP target. "go for it" mlarkin@
2021-06-13fix and enable diskfmt regress test for vmd(8)dv
Clean the rot in the diskfmt test, updating it to work with current vmd(8) and vmctl(8). Remove the needs to qemu since vmctl can create qcow2 images now. Now that it's a test that doesn't need a port, enable it in the parent Makefile. There's still some work needed to get "make clean" properly cleaning up after the tests. OK ori@
2021-05-27With the update of tha as4byte code to RFC 6793 a 0 AS num in the AS4_PATHClaudio Jeker
results in a attribute delete and so the prefix is now visible. Adjust expected file to match this.
2021-05-27File missed in a previous commit. Should fix the error on the eval_all test.Claudio Jeker
2021-05-21Ignore return value of execve(2) in ktrace output. It is meaningless.Alexander Bluhm
This fixes syslogd regress on powerpc64. discussed with kettenis@
2021-05-10Extend eval_all test a little bit.Claudio Jeker
2021-05-10Better way to detect the double new lines the API issues from time to time.Claudio Jeker
This way done lines now will have a newline.
2021-05-06Add an 'expires' column to CSV & JSON outputjob
The 'expires' value contains a reasonable earliest moment a VRP would expire, in light of the currently available set of CAs and CRLs. The 'expires' value can be used to avoid route selection based on stale data when generating VRP sets, when faced with loss of communication between consumer and valdiator, or validator and CA repository. OK claudio@
2021-05-05Improve the rde evaluate all test case by doing a withdraw of a prefixClaudio Jeker
that is hidden (but sent to one system because of rde evaluate all).
2021-05-05All exabgp configs changed to the c code version of the api-exabgp code.Claudio Jeker
2021-04-21Test local variables, boolean and print() of variables other than maps.Martin Pieuchot
2021-04-19Fix TLS error message race. Due to less handshakes in TLS 1.3 anAlexander Bluhm
EPIPE error may be reported instead of a TLS alert.
2021-04-15On powerpc64 regress/usr.sbin/bgpd/config failed. It parses aAlexander Bluhm
config file, writes bgpd's config to stdout and compares it with an expected output. On big endian machines the order of the set of communities is different. The parser used memcmp(3) to sort a struct of integers. This depends of the endianess. The correct way is to compare the integer fields in native byte order. With this change, the resulting order is the same on i386 and powerpc64. OK claudio@
2021-04-13Automated regress cannot connect to servers in internet. CheckAlexander Bluhm
whether jigsaw.w3.org is reachable and skip rpki client http test if not. OK claudio@
2021-04-13Fix rde_decide_test regress testClaudio Jeker
2021-04-13Add a basic regress test to test the 'rde evaluate all' feature.Claudio Jeker
2021-04-13Use tee(1) so that the bgpctl output is visible during the run.Claudio Jeker
2021-04-09Add a minimal regress test for the http client code.Claudio Jeker
This currently uses some external website to do redirect test and to check both regular and chunked downloads. Only for libressl because you can't mix openssl 1.1 and libtls on OpenBSD.
2021-04-01Add encoding.c to the various build targetsClaudio Jeker
2021-03-29Add a pretty_key_id() which reinserts colons into the hex string.Claudio Jeker
This way the AKI and SKI printed in the tests tools look the same as before. Requested by job@, OK job@ tb@
2021-03-28Add some restrictions to manifest object profilejob
OK tb@, feedback from claudio@
2021-03-24test HEAD requests, from niklas@Sebastian Benoit
2021-03-15add a check for system-version, since I tend to reverse comparisonsMarc Espie
2021-03-09Kernel drops fewer messages in sendsyslog(2), adapt syslogd(8)Alexander Bluhm
tests. Kernel stashes logs temporarily, test it. Fix some races in existing tests.
2021-03-05Fix regress tests after changes to tal.c, mft.c, and cert.c.Claudio Jeker
2021-02-16Print AIA in rpki-client test utilityjob
2021-02-10Add med test, this no longer fails in -currentClaudio Jeker
2021-02-08Also print the recently added caRepository URI alongside rpkiManifestClaudio Jeker
and rpkiNotify SIA.
2021-02-03Remove rsync.c from the test tool builds, nothing depends on that anymoreClaudio Jeker
2021-01-29Adjust regress test, the hash argument to the parse functions was removed.Claudio Jeker
2021-01-22Extend test with an full depth search of all possible prefix_evaluations.Claudio Jeker
This currently fails because the MED is not handled properly. Fix for this will follow shortly.
2021-01-22Cleanup and document the code a bitClaudio Jeker
2021-01-22Adjust for traphandler process removal commit.Martijn van Duren
OK denis@, rob@
2021-01-20Cleanup, fix and add a few more test cases. Make sure that the decisionClaudio Jeker
flags work (by checking the same routes with and without the flag).
2021-01-19First bits of a regress test that ensures that the decision processClaudio Jeker
works.
2021-01-13Extend med test with a withdraw that causes a flip in the order.Claudio Jeker
2021-01-12rpki-client started using the ibuf API, so link against libutil.Theo Buehler
2021-01-12Totally rework the exabgp integration tests. Instead of a simple shellClaudio Jeker
script to talk to exabgp api use a small c programm. Use a fifo to send commands to this program. While exabgp includes a cli tool exactly for that it is impossible to use. Use a single config file for multiple sessions and make sure exabgp is properly killed on exit (pkill exabgp fails since it is a python script). Introduce a med target to test the route decision process handling med path. This test currently fails and is not hooked up yet.
2021-01-04Adjust to new sort order of roa-set.Claudio Jeker
2021-01-04Fix linking of regress tests after 'bgpctl show sets' addition.Theo Buehler
ok claudio
2020-12-29Add another rde_trie_test to the unit tests.Claudio Jeker
2020-12-29Adjut the roa-set unittest to the new way roas are added into a trie.Claudio Jeker
2020-12-29Adjust the roa-set config test. Overlapping ROAs are no longer merged byClaudio Jeker
the parser so more ROAs are visible in the config printed.
2020-12-27Use GBR that adheres to the restricted vcard profile defined in RFC 6493job