summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2016-11-01Clean up MALLOC_OPTIONS. For the unittests, move MALLOC_OPTIONS andTheo Buehler
TEST_ENV to unittets/Makefile.inc. ok otto
2016-11-01MALLOC_OPTIONS=A no longer exists.Theo Buehler
2016-10-31Remove the obsolete A and P flags from MALLOC_OPTIONS.Theo Buehler
ok dtucker
2016-10-31MALLOC_OPTION 'A' no longer exists.Theo Buehler
2016-10-31fix a few suspicious (according to emacs) linesJasper Lievisse Adriaanse
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-26use -ffloat-store to avoid too much precision which breaks the subtle testOtto Moerbeek
on some platforms; suggested by and ok martynas@
2016-10-24using exact valus in floating point tests often does not work as expected,Otto Moerbeek
use epsilon test
2016-10-24Add regress tests for carp(4).YASUOKA Masahiko
2016-10-23fix lgamma test on i386 and use symbolic constant; ok martynas@Otto Moerbeek
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.
2016-10-20Make the test faster. Move all the packet matching code into theAlexander Bluhm
pcap filter. That means the first packet sniffed is the correct one. In the success case, we can stop without waiting for a timeout. OK sashan@
2016-10-19Add a test suite for pf state handling. It needs a remote machineAlexander Bluhm
to exchange packets, the remote kernel is tested. For now it only contains a challenge ack test written by sashan@. OK sashan@
2016-10-19Link pf_state test to build.Alexander Bluhm
2016-10-19Update client hello messages to follow the removal of fixed ECDH.Joel Sing
2016-10-19Add a test suite for pf state handling. It needs a remote machineAlexander Bluhm
to exchange packets, the remote kernel is tested. For now it only contains a challenge ack test written by sashan@. OK sashan@
2016-10-19The clean:, cleandir:, and obj: targets of src/Makefile descend intoTheo Buehler
regress/ and run python to set the IMPORT_PYTHON variable in several test Makefiles. This results in W^X violations during 'make build'. Avoid doing that. ok bluhm
2016-10-19Do not change routes during test run, but expect that everythingAlexander Bluhm
is setup correctly before. Use make check-setup to verify that.
2016-10-18adjust after the ordering was made well-defined in mandocdb.c rev. 1.180Ingo Schwarze
2016-10-17test .Bl -tag without -width;Ingo Schwarze
related to mandoc/mdoc_term.c rev. 1.231 and to textproc/groff-1.22.3p3
2016-10-13In rare cases the number of dropped messages changes a bit more.Alexander Bluhm
Make regex less strict.
2016-10-12Fix races during syslogd startup and shutdown in privsep tests.Alexander Bluhm
2016-10-11fix the KEX fuzzer - the previous method of obtaining the packet contentsDamien Miller
was broken. This now uses the new per-packet input hook, so it sees exact post-decrypt packets and doesn't have to pass packet integrity checks. ok markus@
2016-10-11Add a regression test for the off by one bug reported by pfg.Martijn van Duren
Based on the example presented by pfg. OK otto@
2016-10-10The TLS error message depends on the generated fake certificate.Alexander Bluhm
Make the test's expectation less strict.
2016-10-10Move check for sysctl settings from shell script to makefile toAlexander Bluhm
handle skipping consistently like other tests.
2016-10-09Remove simple UTF-8 tests. Ingo has written propper tests forAlexander Bluhm
cut(1) and wc(1). Tests for tr(1) will come when it is UTF-8 ready. OK schwarze@
2016-10-07enable tests for cut(1) and wc(1)Ingo Schwarze
2016-10-07test multibyte behaviour of cut(1)Ingo Schwarze
2016-10-07minimal UTF-8 tests for wc(1)Ingo Schwarze
2016-10-07enable colrm and column, which i apparently forgotIngo Schwarze
2016-10-07Add simple regress test for vxlan(4) and etherip(4).YASUOKA Masahiko
ok bluhm
2016-10-06Check that syslogd priv process does exec on itself.Alexander Bluhm
2016-10-06Add millisecond precision to expected timestamp.Alexander Bluhm
2016-10-06Move USER out of the way to unbreak the BUILDUSER mechanism.Martin Natano
ok tb
2016-10-05Link the setuid regress test to the build in a way that the objAlexander Bluhm
directory gets created. But do not run the test during a global make regress, as the test puts a setuid binary into the object directory. Also remove the setuid bit after the test has been run manually. OK otto@
2016-10-05Bump the sizes of generated jumbo frames up to the max.Reyk Floeter
2016-10-04Add test for syslogd(8) -Z ISO timestamp format.Alexander Bluhm
2016-10-03The setuid tests needs an obj directory that allows to run programsAlexander Bluhm
with set user id. Skip the test if the current filesystem has set the nosuid mount option. OK otto@
2016-09-30The opencvs test checks the RCS id of the file I have just commited.Alexander Bluhm
So the test broke with my commit. Change the expected result and hope that this commit will not break it again.
2016-09-30The import test of regress/usr.bin/cvs tries to touch a file inAlexander Bluhm
src, not in obj. So better populate an import directory in obj and import from there. Also remove trailing whitespaces and semicolons. OK otto@
2016-09-30crypto(4) is no moreOtto Moerbeek
2016-09-30The opencvs sources are not linked to the build. To make the cvsAlexander Bluhm
regression test run, build opencvs on demand as a dependency. Input and OK otto@
2016-09-30also copy pf103.include to obj dirOtto Moerbeek
2016-09-30In ssh tests set REGRESS_FAIL_EARLY with ?= so that the environmentAlexander Bluhm
can change it. OK djm@
2016-09-29If a Makefile both defines SUBDIR and includes <bsd.regress.mk>,Ingo Schwarze
the "all" target will depend on the "regress" target, so running "make all" will recurse into the subdirectories for "regress", and then recurse a second time into the same subdirectories for "all", running all the tests twice. Fix this by moving the Makefile to run the main-level tests into a subdirectory "main" and only including <bsd.subdir.mk> from the top level Makefile. Issue reported by otto@; patch OK'ed by otto@ and bluhm@.