summaryrefslogtreecommitdiff
path: root/regress/sbin
AgeCommit message (Collapse)Author
2020-05-18Make ffs2 the default for newfs; change all calls to create e.g. floppyOtto Moerbeek
filesystems or ramdisks to use explicit -O 1; installer already does that. ok sthen@
2020-04-09The -6 option is ignored and will be removed in the future.tobhe
2020-04-01Properly handle multiple CERTREQ payloads in CA process. Only for thetobhe
last CERTREQ a mismatch should trigger the fallback case, otherwise the following CERTREQs are ignored. ok markus@
2020-02-21Add test for IPsec transport mode. Check not only flows but also SAs,tobhe
SA modes (tunnel/transport), and flow types (IPcomp/ESP).
2020-02-17Disable name resolution in tcpdump with -n. We always compare source andtobhe
destination addresses.
2020-02-17Generate public keys for newly generated local private keys.tobhe
2020-01-17Reset udpencap_port sysctl in cleanup in case the run-udpencap-porttobhe
test fails.
2020-01-16Add test for custom udp encapsulation port with set with '-p'.tobhe
2020-01-16Link iked live test to build. To operate it needs two remoteAlexander Bluhm
machines specified in the environment. Otherwise it is skipped.
2020-01-15Add multiple altname fields and test for different subjectAltName formatstobhe
and indices.
2020-01-15Restructure certificate generation to utilize make's build deps. Add testtobhe
with multiple CAs.
2020-01-15Rename the environment variables for ssh hosts and addressesAlexander Bluhm
consistently with other tests. OK tobhe@
2020-01-15Add automated certificate generation, psk and certificate authenticationtobhe
tests and fragmentation test.
2020-01-14Add live test for simple ikev2 handshake and encrypted ping between twotobhe
remote hosts. The hosts must be specified with SSHRIGHT and SSHLEFT, the IPsec gateway IPs with the LEFTGW and RIGHTGW environment variables. ok bluhm@
2019-12-27Since we are now parsing rDNS proposals we can check for them.Florian Obser
2019-12-27slaacctl output changed with the addition of rDNS proposals.Florian Obser
Failing regress tests noticed by bluhm.
2019-12-19spelling; from bryan stensonJason McIntyre
2019-11-30Test inet6 netmask and non-contiguous netmask in ifconfig(8).Alexander Bluhm
2019-11-19Update, max /usr has grownOtto Moerbeek
2019-11-14Fix undefined symbol for ikev2_ike_sa_setreason.tobhe
2019-10-25Add tests for ifconfig(8) with inet6 addresses.Alexander Bluhm
2019-10-24Test the old ioctl(2) for interface addresses SIOCSIFADDR,Alexander Bluhm
SIOCSIFNETMASK, SIOCSIFDSTADDR, SIOCSIFBRDADDR, and SIOCGIFADDR. Implement ifaddr.c which is a stripped down ifconfig(8) converted to the old interface.
2019-10-16Test various combinations of setting interface addresses with Alexander Bluhm
ifconfig and check the expected result. This covers the ifconfig(8) program and the SIOCAIFADDR and SIOCDIFADDR ioctl(2).
2019-10-16Link regress ifconfig to build.Alexander Bluhm
2019-10-16Test various combinations of setting interface addresses with Alexander Bluhm
ifconfig and check the expected result. This covers the ifconfig(8) program and the SIOCAIFADDR and SIOCDIFADDR ioctl(2).
2019-08-23Default layout for disklabel(8) has changed, /usr became larger.Alexander Bluhm
Adjust expected values in test. reminded by Moritz Buhl
2019-08-14Add ikev2_ikesa_info dummy definition for parser test.tobhe
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.