summaryrefslogtreecommitdiff
path: root/regress/sys
AgeCommit message (Collapse)Author
2017-01-18Do not unconfigure mount points, vnd devices and NFS daemons duringAlexander Bluhm
"make clean". "make build" does a recursive "make cleandir" and there this behavior is undesired unexpected. reported by naddy@
2017-01-16SIGTERM does not reliably terminate mountd(8), use -KILL for cleanup.Alexander Bluhm
2017-01-16Somewhere between 5.9 and current gen_traffic started to produce oneFlorian Obser
packet more. It is a bit unclear when and why this happened but it's not a regression in pflow (verified with tcpdump), so adjust expected counters accordingly.
2017-01-16remove duration, it depends too much on the specific setupFlorian Obser
2017-01-14It's not longer a syntax error to provide a flowdst without a portFlorian Obser
number. Drop argument altogether to provoke a syntax error.
2017-01-14Remove priority line, ifconfig(8) prints the interface index on theFlorian Obser
same line and that changes on every interface creation, messing up the diff to ifconfig.ok
2017-01-13Let these hppa-specific tests print "SKIPPED" on non-hppa architectures.Mark Kettenis
Include some missing header files while I'm there.
2017-01-13Make mount points and makefiles for file system tests consistent.Alexander Bluhm
Link tests to the build.
2017-01-13Run the existing tests for FFS also on a NFS mount point.Alexander Bluhm
2017-01-13Use a NFS mount via loopback for testing file system operations.Alexander Bluhm
By changing files directly on the server and accessing them on the client or vice versa, specific kernel behavior can be triggered. Especially using file mmap(2) over NFS is tested.
2017-01-11Add a test that creates a nested tree of mount points. All partitionsAlexander Bluhm
of a vnd(4) device are mounted under /mnt. A single umount(8) of /mnt should unmount all of them.
2017-01-12Print the test description before running each subtest.Alexander Bluhm
2017-01-12Fix typo in expect.Alexander Bluhm
2017-01-12Fix trailing whitespace.Alexander Bluhm
2017-01-12The program to create hard links is called ln(1) and not link.Alexander Bluhm
2017-01-12Test the non-existing system-call lchflags(2) by using chflagsat(2)Alexander Bluhm
with AT_SYMLINK_NOFOLLOW instead.
2017-01-12Do not suppress error messages to stderr, but remove unnecessaryAlexander Bluhm
debug prints. This gives better hints why the tests are failing.
2017-01-11Add a test that creates a nested tree of mount points. All partitionsAlexander Bluhm
of a vnd(4) device are mounted under /mnt. A single umount(8) of /mnt should unmount all of them.
2017-01-11Make test more verbose when it fails.Alexander Bluhm
2017-01-11Fix trailing whitespace.Alexander Bluhm
2017-01-10Cleanup the mount point and vnd devices before and after the test.Alexander Bluhm
Use objdir and curdir correctly. Link ffs regress to the build.
2016-12-13Print better error messages in case an expected packet is missing.Alexander Bluhm
2016-12-12Set promiscuous mode during srp1() to receive the arp reply directedAlexander Bluhm
to the ethernet multicast address. This fixes the test on my hardware setup, it was only passing in qemu before. At least scapy 2.3.3p1 is needed to support the promisc=1 parameter here.
2016-11-30Fix typosVincent Gross
2016-11-28Enable the pmtu and traceroute subtests with af-to. pf has beenAlexander Bluhm
fixed now.
2016-11-28The setuid regression test builds and runs a binary that is setuidAlexander Bluhm
or setgid nobody. Since /usr/obj is 0770, user nobody cannot access other files there anymore. Install all programs into a temporary directory and run them there. Check that /tmp is mounted without nosuid.
2016-11-21Print better error message if test fails.Alexander Bluhm
2016-11-21Test that IPv6 framents with invalid length or more-fragment bitAlexander Bluhm
drop the whole fragment cache.
2016-11-20SRPL_FIRST() and SRPL_FOLLOW().Martin Pieuchot
2016-11-17Put all make targets in a loop and print a little more what eachAlexander Bluhm
IPv6 fragment header test is doing.
2016-11-17Send fragment with Hop-by-Hop extension header after the fragmentAlexander Bluhm
header. I must not be processed.
2016-11-16Test multiple combinations of divert connections. The socket cleanupAlexander Bluhm
of the first connection must remove the pf state so that the second connection can succeed. Disable two raw IP tests that do not work with the current implementation in the kernel.
2016-11-15Mark pf states created by this regress test with a label. RemoveAlexander Bluhm
all such states before basic testing to make sure that these subtests are independent.
2016-11-15Sync rdomain_is_used()Martin Pieuchot
2016-11-15rtable_init() now creates the default routing table.Martin Pieuchot
2016-11-15Fix rdomain_is_used() now that lo(4) is created automagically.Martin Pieuchot
2016-11-15Check for correct flags now that ::1 is set automagically.Martin Pieuchot
2016-11-14Regression test for creating a rdomain default loopback interface.Martin Pieuchot
Even if a lo(4) interface will now be created for every rdomain, we must ensure that condiguring such interface via netstart(8) still work, for example: $ cat /etc/hostname.lo1 rdomain 1 127.0.0.1 inet6 ::1/128 alias 88.76.0.3/32
2016-11-09Remove the path MTU workaround in the af-to tcp test. This subtestAlexander Bluhm
passes without it. For ping with af-to the expected mtu is special. Adapt although pf is still broken here and this subtest is disabled.
2016-11-09Split the pf forwarding test into more subtests to make debuggingAlexander Bluhm
specific failures easier.
2016-11-09Use netstat -n in target check-setup to avoid DNS timeout.Alexander Bluhm
Requested by mpi@
2016-11-09Use variable REMOTE_SSH to check the setup of the remote machine.Alexander Bluhm
This was a copy & paste bug from another test. Found by mpi@.
2016-11-05Add regress tests for multicasts and dynamic vxlansVincent Gross
2016-10-26In addition to forwarding and path MTU discovery with pf, checkAlexander Bluhm
that ICMP Time Exceeded packets are generated. Traceroute output from packets forwarded through pf and a router must contain 3 hops and every hop must respond. Do not test with af-to and reply-to rules as this does not work right now.
2016-10-26Cleanup pflow test before fixing it. Be more verbose to makeAlexander Bluhm
debugging easier. Handle EINPROGRESS connect(2) error correctly. Perl pack Q fails on 32 bit machines, add workaround. Restore interfaces in END block, works also if script dies. OK florian@
2016-10-24Add regress tests for carp(4).YASUOKA Masahiko
2016-10-20During sniffing filter strictly on icmp6 "packet too big" to avoidAlexander Bluhm
that "neighbor discovery" confuses the test.
2016-10-20By removing all the sleeps I created a race in the pf tests. TheAlexander Bluhm
packet was sent and its reply received before the sniffer was up and running. So sleep a second after starting the sniffer thread but before sending the packet. With pf_forward 0m51.54s, pf_fragment 1m33.59s, pf_state 0m03.64s the test are still faster than with forking.
2016-10-20Replace fork() and sleep() with a Python thread for sniffing packets.Alexander Bluhm
This reduces test execution time from 2m21.95s to 1m09.80s.
2016-10-20Replace fork() and sleep() with a Python thread for sniffing packets.Alexander Bluhm
This reduces test execution time from 1m20.34s to 0m37.32s.