summaryrefslogtreecommitdiff
path: root/regress/sbin
AgeCommit message (Collapse)Author
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
2017-07-05Implement the generated dependency with a stamp file to avoid needlessAlexander Bluhm
recompiling of the test programs. Add some RCS ids.
2017-07-04Do not add isakmpd obj directory to .PATH. We must compile someAlexander Bluhm
fake objects from regress ourselves.
2017-07-03Generate source and header files for regress on demand.Alexander Bluhm
OK espie@
2017-05-30Organize iked parser regress Makefile similar to mandoc dbm_dump.Alexander Bluhm
When object files from other parts of the tree are needed, build them there and symlink them into the regress obj directory. OK markus@
2017-05-30Link iked test to build so that obj directories are created.Alexander Bluhm
2017-05-30Remove the .INTERRUPT target, it prevented to terminate the testAlexander Bluhm
with Ctrl-C in some situations.
2017-05-29fuzz the iked payload parser using the openssh unit-test frameworkMarkus Friedl
from hshoexer
2017-05-29*** empty log message ***Markus Friedl
2017-04-19SA group has been renamed to bundle. Adapt test.Alexander Bluhm
2017-04-14Add tests with the ipsec.conf SA bundle keyword.Alexander Bluhm
2017-03-23Add tests for SA grouped in bundles.Alexander Bluhm
2017-03-23Allow to override location of ipsecctl tool with IPSECCTL environment.Alexander Bluhm
Useful for development testing without make install.
2017-02-28Reflect recent net/route.c change. Adding a conflicting route noMartin Pieuchot
longer increment a 'use' counter.
2016-12-06Update to match recent changes.Martin Pieuchot
IPv6 multicast "All Nodes Address" and "All Routers Address" routes are now attached to the corresponding interface. ok bluhm@
2016-11-23Test that af-to cannot be used together with route-to, reply-to, dup-to.Alexander Bluhm
2016-09-30also copy pf103.include to obj dirOtto Moerbeek
2016-09-04Link isakmpd regress to the build.Alexander Bluhm
OK mpi@
2016-09-04Fix use after freeMike Belopuhov