summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
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@.
2016-09-29with commitids, status produces an extra line per revisionOtto Moerbeek
2016-09-29Fix testsOtto Moerbeek
- rlog lines end with ';' these days - error message in low-mem conditions changed
2016-09-28Add a makefile rule to create the ssh library when regress needsAlexander Bluhm
it. This allows to run the ssh regression tests without doing a "make build" before. Discussed with dtucker@ and djm@; OK djm@
2016-09-28The ldap regression test should behave more like the other tests.Alexander Bluhm
So use REGRESS_TARGETS provided by bsd.regress.mk. OK landry@
2016-09-28The tun interface has been renamed to tap(4). Adapt ospfd test.Alexander Bluhm
2016-09-28Do not close stdout when starting netcat, redirect to /dev/nullAlexander Bluhm
instead. This prevents that the ftp test hangs in nc poll(2). Add OpenBSD RCS id while there.
2016-09-28An unintened 65536 size change slipped in, revert to 65535Reyk Floeter
2016-09-28If stdout is not line buffered, messages got lost when assert() wasAlexander Bluhm
called. Print errors to stderr instead.
2016-09-28Fix length calculation of PACKET_IN (I forget the 10 byte packet_in header).Reyk Floeter
2016-09-28Bump buffer size to 64k, the max OFP packet sizeReyk Floeter
2016-09-28I wrote a perfect regress test: a test that never fails. CorrectlyReyk Floeter
populate the die() from code within eval to make failed tests fail.
2016-09-27Make sure that the regress target builds the libraries. Stop building aMark Kettenis
profile library and add $OpenBSD$ markers. Similar to what we do in other regress tests that build libraries such as regress/lib/libc/cxa-exit. ok bluhm@