summaryrefslogtreecommitdiff
path: root/regress/sbin
AgeCommit message (Collapse)Author
2019-05-11Add support for IKEv2 Message Fragmentation as defined in RFC 7383.Patrick Wildt
ok sthen@
2019-05-10Simplify the detection for installed python and scapy. RefactorAlexander Bluhm
these tests to make them similar. Use the setup and cleanup variables.
2019-04-04Add an update target to regenerate the expected results.Alexander Bluhm
OK krw@
2019-04-03Update *.ok files to reflect recent modifications toKenneth R Westerback
the auto allocation tables.
2019-03-30tweak comment lines.YASUOKA Masahiko
2019-03-30Add 5 test cases forasou
- adding default route with "deault" - adding default route with "0.0.0.0/0" - adding 0.0.0.0 route - adding routes with mask ok yasuoka
2019-02-13Forgot a return in previous commit to actually skip the test.Alexander Bluhm
noticed by Moritz Buhl
2019-02-12Skip test if disk type is not in /etc/disktab. There is no floppyAlexander Bluhm
on arm. from Moritz Buhl
2018-09-27Sometimes make picked the wrong rule for the adapted disklabelAlexander Bluhm
program. An absolute path seems to fix this.
2018-09-27Actually I missed the /usr/local default size change in disklabel(8).Alexander Bluhm
Adjust expected output.
2018-09-26Split the disklabel regress into multiple tests. Move all codeAlexander Bluhm
into Makefile. Verbose testing and failing early helps debugging. Remove the disk image during cleanup to save space. OK krw@
2018-09-25disklabel(8) uses hw.physmem to calculate swap and /var sizes. ThisAlexander Bluhm
prevents reproduceable regression tests. Recompile the disklabel with a fixed memory size for this test. Also adjust expected output for recent /usr/obj and /usr/local size changes. discussed with krw@
2018-09-19Try to turn this into an actual regress test.Kenneth R Westerback
with & ok bluhm@
2018-09-07Not adding ::1 on non-default lo(4) broke regress/sbin/route.Alexander Bluhm
Adjust test's expected output files. OK mpi@
2018-07-28Use strtonum in host()kn
This is simpler than checking three cases for `q' and gives nicer error messages. While here, use `v6mask' as maximum netmask instead of hardcoding it. OK sashan
2018-07-11Some spaces have been removed from pfctl print. Adapt expectedAlexander Bluhm
output in regress.
2018-06-04Allow specifying binary via ROUTEkn
OK bluhm jca
2018-03-22The iked(8) fuzzer did not fuzz encrypted payloads. With that changedPatrick Wildt
the regression test uncovered code paths in the TS and CP payload parser that can trigger access to invalid memory locations. This changes the TS and CP payload parsing to add additional length checks. With hshoexer@ and markus@; OK sthen@
2018-02-20Test that removing a mpath RTF_CLONING route entry do not remove theMartin Pieuchot
RTF_CACHED entry of a sibling RTF_CLONING entry.
2018-02-19Correctly diff the output of test 32.Martin Pieuchot
2018-02-14Make sure lo5 is tied to rdomain 5.Martin Pieuchot
2018-02-12Always destroy all interfaces before starting a new test.Martin Pieuchot
This should make tests following a failing test pass.
2018-02-12Pass '-inet6' to the default loopback before each test.Martin Pieuchot
In order to have reproducible tests route entries must not stay. Otherwise the 'Use' counter keeps growing.
2018-02-12Now that the default loopback interface is brough UP when rdomain 5Martin Pieuchot
is created, it gets default IPv6 addresses. So reflect that change in netinet6 outputs.
2018-02-12Revert previous, the changed has been backed out and I wasn't runningMartin Pieuchot
the last snaphot.
2018-02-12Fix most outputs now that lo5 is getting 127.0.0.1 automagically.Martin Pieuchot
2018-02-08Test that next-hop L2 caches are cloned using the correct MPATH route.Martin Pieuchot
ok jmatthew@, claudio@, dlg@
2017-12-12Fix pfloadanchors tests when running with obj directory.Alexander Bluhm
Remove unused file.
2017-11-29Test invalid divert combinations and adapt error messages.Alexander Bluhm
2017-11-29- regression tests for 'load anchor ... from ...'Alexandr Nedvedicky
the test case itself comes from Leonardo Guardati
2017-11-24Use the environment variable PFCTL to specify a different executableAlexander Bluhm
for testing. Default is /sbin/pfctl. This makes test driven development easier.
2017-10-11Generate a router advertisement with scapy and check that slaacdFlorian Obser
receives it by parsing slacctl show interface. This is a first stab, more things should be checked.
2017-10-11don't create pyc filesFlorian Obser
2017-09-12Sleep for some time to avoid race reporting a different number of referenceMartin Pieuchot
count. Iterating over the routing table implies using SRP which bump the refcount of routes for a short period of time. Depending on how work is schedule the second ifconfig(8) command might run before the timer dereference the route. Should fix races on bluhm@'s test setup.
2017-09-05Test that MPATH routes with different priorities are insterted respectingMartin Pieuchot
their priority order.
2017-09-05Document new test.Martin Pieuchot
2017-09-05Test that all MPATH routes attached to an interface are taken down whenMartin Pieuchot
the link state change. Issue reported by gerhard@
2017-08-25hook up slaacd; "tests should run" bluhm@Florian Obser
2017-08-25bluhm points out that it is preferable to have this more noisy to beFlorian Obser
able to debug it.
2017-08-25regress for slaacd(8); not yet hooked to the buildFlorian Obser
2017-08-13actually add the files needed by my test. noted by bluhm@, thxSebastian Benoit
2017-08-11add option -N (no domain resolution)Sebastian Benoit
manpage wording and reminder about usage() jmc@ ok florian@ henning@
2017-08-10Use "! cmd" for commands that are expected to fail.Martin Pieuchot
Suggested by bluhm@
2017-08-10Test that 'route change' has no effect on a RTF_LOCAL route.Martin Pieuchot
2017-08-07In pf.conf the icmp6-type notnbr-unr has been renamed to beyond-unr.Alexander Bluhm
Adapt regress test.
2017-07-27Work around for rttest8 that some times fail due to a reference countMartin Pieuchot
race in the kernel.
2017-07-20Fixup pf109.ok and rewrite pf110Mike Belopuhov
2017-07-19Regression tests asserting various HFSC and FQ-CoDel functionalityMike Belopuhov
2017-07-15regress/sbin/pfctl - use -n for pfcmd groupAdam Wolk
Passing in the -n which just results in the rules being parsed. The definition for the pfctlcmd testing group in the Makefile is: # pfcmd: test pfctl command line parsing This test passeed only because pfctl didn't exit with an error when it was asked to clear tables from a non existing anchor. with the -n flag we still test if the anchor command can be combined with -Fa but don't actually attempt to run the clearing code. OK mikeb@, sashan@
2017-07-07Remove all references to "make depend" from regress.Alexander Bluhm