summaryrefslogtreecommitdiff
path: root/regress/sys
AgeCommit message (Collapse)Author
2016-06-13Test that splicing loops are aborted with ELOOP.Alexander Bluhm
2016-06-07Adapt compat layers after recent changes: srp_swap() and the GC taskMartin Pieuchot
for ART.
2016-05-28comment typosStuart Henderson
2016-05-22Fix tests: Restrict getpid() to lower 16 bit so that it can stillAlexander Bluhm
be used as packet id. Now scapy calls nexthopmtu with this name explicitly in icmp structure.
2016-05-11remove hppa64 port, which we never got going beyond broken single users.Theo de Raadt
hppa reverse-stack gives us a valuable test case, but most developers don't have a 2nd one to proceed further with this. ok kettenis
2016-05-03Fix some Perl statements perlcritic was bitching about: VariableAlexander Bluhm
declared in conditional statement.
2016-04-27unbreak pledge/generic test (breaked since ?)Sebastien Marie
it still requires a pledge(2) with wlpath enable.
2016-04-25remove systraceTed Unangst
2016-03-30Cover the case where we are bound to [::] and SO_REUSEADDR is not set.Vincent Gross
2016-03-30Clear local and remote ARP cache for every subtest.Alexander Bluhm
OK mpi
2016-03-30Fix multicast test and a typo.Martin Pieuchot
ok bluhm@
2016-03-24Make sure that two ARP entries can be created for the same IP whenMartin Pieuchot
doing proxy ARP. ok millert@, bluhm@
2016-03-24Remove #ifdef from code shared with the kernel, IPv6 is always enabledMartin Pieuchot
in the tests.
2016-03-23Assert that the mask to prefix length conversion is correct whenMartin Pieuchot
removing an entry. While here print the corresponding error string when available if rtable_* function fail.
2016-03-19Add regress tests for IPV6_PKTINFO with addrVincent Gross
2016-03-17Last parameter to execl[e]() functions *must* be cast to a pointer.Kenneth R Westerback
Just NULL is not good practise as NULL is theoretically allowed to be an integer rather than a pointer. Use (char *)NULL consistently instead of scattering a few (char *)0 and (void *)NULL into the mix. Prompted by and probably ok deraadt@ millert@ kettenis@ Definitely ok mestre@ ratchov@
2016-03-04be more careful determining which regress/sys/arch/XXX directory toTheo de Raadt
enter; issue came up a dir was deleted containing a obj@ link ok millert
2016-03-03Remove option USER_LDT and everything depending on it.Christian Weisgerber
Remove machdep.userldt sysctl. Remove i386_[gs]et_ldt syscall stub from libi386. Remove i386_[gs]et_ldt regression test. ok mlarkin@ millert@ guenther@
2016-02-28Repair the namegen function to make ffs regress useful again.natano
openssl md5 adds a "(stdin)= " prefix to the output, but all we need is the actual md5 sum itself. This caused most of the ffs regress tests to fail. ok mpi@
2016-01-09drop "abort" promise, and make it the default behaviour.Sebastien Marie
The current code has already setted it by default since 1.74 any pledge failure tries to make a coredump (default rules for coredump still applies: so setuid binaries don't create them locally). ok deraadt@
2015-12-23Add my machines' configuration files as an example to the readme.Alexander Bluhm
That should make it easier for others to set up the test.
2015-12-22Correct expected results on v6 mcast bind on ANY, and add comments toVincent Gross
explain why they are expected.
2015-12-09add multicast test suitesVincent Gross
2015-12-07Add regression tests for in_pcbbind.Vincent Gross
2015-12-05simplistic regress test for KEVENT_TIMER kqueue(2) callsBret Lambert
ok and prodding tedu@
2015-12-04Comment all existing ARP test cases describing what is going on.Alexander Bluhm
Add a new test that creates proxy ARP entries on a second interface. Requests for that from the first interfaces must not be answered.
2015-12-04Enter a static ARP entry for a fake address which is not publishedAlexander Bluhm
by the ARP proxy. The kernel must not answer ARP requests for such addresss. This test triggers a misbehavior in ART as it currently answers in such situations. Radix tree works fine as it uses 33 bit IPv4 entries for ARP proxy.
2015-11-05Add regression tests for the ARP implementation in the kernel. SendAlexander Bluhm
multiple ARP packets to a remote machine with Scapy. Check ARP replies, table entries and log messages. All log messages in in_arpinput() are generated. Proxy ARP is also tested.
2015-12-04Sync after rt_mask() removal.Martin Pieuchot
2015-12-03Sync to recent changes including SRP protection of rtable_get(), useMartin Pieuchot
of a SRPL for the multipath list and rtable_delete() API change.
2015-12-02KNF and use ${SUDO} when needed.Martin Pieuchot
ok vgross@
2015-12-01Send solbourne to where the ...........Theo de Raadt
2015-11-17Drop a few NULL-checks before free()mmcc
2015-11-14Various *syncron* -> *synchron* typos.Miod Vallat
2015-11-14regress: pledge: update SYS_kill syscall numberSebastien Marie
2015-11-12ART-specific bits to make sure root tables are properly freed.Martin Pieuchot
While here make sure we test the special "default route" case.
2015-11-07Emulate loops performed in the software crypto driver more closelyMike Belopuhov
2015-11-05Replace a sudo with ${SUDO}.Alexander Bluhm
2015-11-05Link arp regress into build.Alexander Bluhm
2015-11-05Add regression tests for the ARP implementation in the kernel. SendAlexander Bluhm
multiple ARP packets to a remote machine with Scapy. Check ARP replies, table entries and log messages. All log messages in in_arpinput() are generated. Proxy ARP is also tested.
2015-11-04Hook up chacha20-poly1305 test vectors (missed in previous commit)Mike Belopuhov
2015-11-04Basic framework to test the rtable_* API directly from userland.Martin Pieuchot
You can replace inet{,6}-fullfeed.txt with a dump of your fullfeed table to really stress this test framework. I did not commit them because CVS certainly doesn't like ~7M file.
2015-11-03regress: pledgeSebastien Marie
check for error output for systrace
2015-11-03regress: pledgeSebastien Marie
- add $OpenBSD$ tag in systrace.filter.in - replace dir by variable
2015-11-03regress pledge: check the regress with systrace enabled tooSebastien Marie
2015-11-03Test vectors for Chacha20-Poly1305Mike Belopuhov
ok naddy, djm, reyk
2015-11-01Route output to local addresses has changed, ping6 command lineAlexander Bluhm
options have changed, tun has been renamed to tap. Adapt tests.
2015-10-30regress: pledgeSebastien Marie
- for calling ioctl(2), we need "stdio" now: change test_request_tty - for calling kill(2), we need "stdio" now: change test_kill
2015-10-29regress pledge: rpath isn't needed anymore for mkdir()Sebastien Marie
make the cpath test more strict.
2015-10-27add regress test on bind(2)ing with broadcast and inexistant addressesVincent Gross