summaryrefslogtreecommitdiff
path: root/regress/sys
AgeCommit message (Collapse)Author
2017-09-07Get IPv4 and IPv6 fragment tests into common shape. Some chunksAlexander Bluhm
were forgotten in previous commit.
2017-09-07Link regress/sys/netinet/frag to build. Get IPv4 and IPv6 fragmentAlexander Bluhm
tests into common shape. Add some missing test cases.
2017-09-07Copy IPv6 fragment test cases to IPv4 and adapt to the different Alexander Bluhm
behavior. All tests are run once with pf fragment reassembly and once with pf disabled and IP input reassembly. Three sub tests are currently disabled as the IP stack behaves differently than pf.
2017-09-06Fix declarationsPhilip Guenther
ptrace(PT_IO) memory protection faults return EACCES, not EFAULT
2017-09-04Run divert-packet tests also for IPv6.Alexander Bluhm
2017-09-04Before mounting NFS, wait until mountd(8) has exported the directory.Alexander Bluhm
Fixes a race in the test setup. OK mpi@.
2017-09-01Increase timeout, otherwise test may fail on slow machines.Alexander Bluhm
2017-08-16ENTRY() requires END()Theo de Raadt
2017-08-15Add test cases for msdosfs bugStefan Fritsch
Add a test that writes a big file, reads it again, and compares the result. This detects the bug that briefly was in msdosfs. Also add tests that create lots of files in a directory. Do this in the root dir and a subdir because these work completely differently on msdosfs. Need to enlarge the used disk images for this test. ok bluhm@
2017-08-15Add tests for pf divert-packet. Currently UDP packets are testedAlexander Bluhm
with in and out rules. A single packet, the initial packet or the response packet are diverted and reinjected.
2017-07-27Compile and test MPATH code.Martin Pieuchot
2017-07-27fcntl(F_DUPFD) needs an argument. Otherwise it fails with EINVALAlexander Bluhm
when compiled with clang.
2017-07-25Do not remove files from CVS tree during make clean.Alexander Bluhm
2017-07-22Tolerate imprecise fault address on sparc64 where the hardware doesn't provideMark Kettenis
tho low order bits. ok deraadt@, visa@
2017-07-20Accessing a mmap(2)ed file behind its end should result in a SIGBUSAlexander Bluhm
according to POSIX. Bring regression test and kernel in line for amd64 and i386. Other architectures have to follow. OK deraadt@ kettenis@
2017-07-18The function getaddr() compares the stack address of the callerAlexander Bluhm
with its own local variable. This way it detects the direction of stack growth. This does not work if the functions gets inlined. Pass -fno-inline to the compiler to avoid sporadic tests fails.
2017-07-13Round VM_MAXUSER_ADDRESS down to next page to make mmap_hint regressAlexander Bluhm
pass on sparc64.
2017-07-13Improve error messages of siginfo-fault regress to make clear whichAlexander Bluhm
tests fail. First run all checks and report problmes, finally exit with the total number of failures. Unfortunately it still fails.
2017-07-12We cannot mmap(2) memory at VM_MAXUSER_ADDRESS as the full allocatedAlexander Bluhm
page must be below that address. Subtract PAGE_SIZE from the hint address, then regress passes.
2017-07-11Rewrite regress sendsrcaddr so that is uses UDP sockets on localhost,Alexander Bluhm
does not try to connect to google and avoids BPF programming.
2017-07-10ld.so and nfs regress were using PROGS variable before it was addedAlexander Bluhm
to bsd.prog.mk. Remove local additions and use global rules.
2017-07-07Remove useless make depend targets.Alexander Bluhm
2017-07-07Make mmap_hint.c compile on i386 by adding includes. UnfortunatelyAlexander Bluhm
test is still failing.
2017-07-06Initialize the return value and do not use garbage as exit status.Alexander Bluhm
Then the test passes.
2017-07-03Add more checks and debug info to identify the sporadic test failures.Alexander Bluhm
2017-06-22Do not skip any crypto tests. Remove useless make code, use defaultsAlexander Bluhm
where appropriate. OK mikeb@
2017-06-22Pick rijndael.c lost after backout; requested by bluhm@Mike Belopuhov
2017-06-07To test IPv6 fragements with extension header, the pf pass rulesAlexander Bluhm
need an allow-opts. Otherwise pf blocks packets with option header.
2017-06-06Update stubs to work with radix tree.Martin Pieuchot
2017-05-31As pf blocks packets with IPv6 options header, the tests needs anAlexander Bluhm
allow-opts rule.
2017-05-30fileops test: Also run on ext2fsStefan Fritsch
Also sort subdirs in makefile
2017-05-29Minor regress test cleanup.Alexander Bluhm
OK sf@
2017-05-29Re-add line continuation \ that went missing in the previous commitStefan Fritsch
2017-05-29Regress test for sparse files & mmap with different FSsStefan Fritsch
This test creates a file with a hole in the middle and then checks that when reading or mmaping the whole file, the data is correct. This catches the bug introduced by the "Implement VFS read clustering for MSDOSFS" commit that hat to be reverted. For now, we run the test with FAT16, FAT32, FFS With much advice from bluhm@
2017-05-29Regress test for sparse files & mmap with different FSsStefan Fritsch
This test creates a file with a hole in the middle and then checks that when reading or mmaping the whole file, the data is correct. This catches the bug introduced by the "Implement VFS read clustering for MSDOSFS" commit that hat to be reverted. For now, we run the test with FAT16, FAT32, FFS With much advice from bluhm@
2017-05-28Now that pf looks behind IPv4 authentication headers, disable theAlexander Bluhm
transport mode tests that fail because of floating states. At least IPv4 and IPv6 are in sync now.
2017-05-27Do not use reject routes as they prevent path MTU discovery.Alexander Bluhm
Drop possible old TCP connections from previous test runs. Adapt regex that checks tcpdump pflog0, output has been fixed.
2017-05-17Revert MI AES-XTS code back to T-tables amid poor performanceMike Belopuhov
Suffered by many, the revert tested by stsp@.
2017-05-15Try to work around a race in the daily test run. Before killingAlexander Bluhm
tcpdump, sleep a while to collect all data.
2017-05-15Use netcat options -n, -W, -w to simplify test. Wrap long lines.Alexander Bluhm
2017-05-13Pick aes.c instead of rijndael.cMike Belopuhov
2017-05-12Run all IPsec tests with a pf rule that logs everything on the enc0Alexander Bluhm
interface. Use tcpdump to write the pflog0 output into a file. Then grep can verify that all encrypted packets have been processed by pf.
2017-05-11Enable IPv6 IPsec transport mode tests for ping and TCP over ESPAlexander Bluhm
and IPComp. The kernel has been fixed.
2017-05-11Use the new netcat -W recvlimit feature to speed up the test.Alexander Bluhm
2017-05-10Run tcpdump(8) on the enc0 device while the test is sending IPsecAlexander Bluhm
packets. Then check whether decrypted packets have been processed by bpf(4) as expected.
2017-05-04Add IPsec test for manually configured SA bundles. That does ipcomp,Alexander Bluhm
and esp, and ah with one flow and three SAs in one step. Test transport mode, locally terminated tunnel and forwarding packets from and to tunnel.
2017-05-02Convert CMAC and Key Wrap regress tests over to the new AESMike Belopuhov
OK stsp@
2017-05-02Sync GMAC and AES-CTR/-XTS regress tests with the new AES codeMike Belopuhov
ok djm
2017-05-02Pick the right AES source fileMike Belopuhov
2017-04-30Switch AES testcase to the new implementationMike Belopuhov
OK djm@