summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
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-02-26Add a test for negated POSIX characer classes.Todd C. Miller
2016-02-22Properly handle ed-files which fully replace input file content. ThisTobias Stoeckmann
misbehaviour is triggered with 'c' and 'i' commands on empty buffers. Spotted and fixed by Martin Natano <natano at natano dot net>. ok millert@
2016-02-18bsd.regress.mk doesn't automatically add "make clean" targets forDamien Miller
$SUBDIRS so do it explicitly
2016-02-17include bad $SSH_CONNECTION in failure outputDamien Miller
2016-02-11Test the C/POSIX locale too, in addition to UTF-8.Ingo Schwarze
2016-02-11Slowly start a unit test suite for libedit; Christos is right thatIngo Schwarze
fiddling with the internals of that code is dangerous without it. Intentionally not linked to the build yet, because many of the tests still fail: The related bugfixes are too intrusive right now and will go in after unlock.
2016-01-29Add regression test for RekeyLimit parsing of >32bit values (4G and 8G).Darren Tucker
2016-01-27Properly initialize sin_family.Jeremie Courreges-Anglas
2016-01-24In the OpenBSD-specific part of verify_xref(), discard the standard errorIngo Schwarze
output from man -f: Messages "man: nothing appropriate" are not helpful. If no matching manual exists anywhere, a more specific message follows right afterwards. If a matching manual exists in the current directory, such messages are just wrong. Issue reported by jmc@.
2016-01-22Replace a (broken) test for @option explicit-update (the code has beenLandry Breuil
removed 2 years ago) by a (working) test for @ask-update
2016-01-16better mockup for promptlen()Ingo Schwarze
2016-01-12The ksh(1) vi editing mode code is much harder to understand thanIngo Schwarze
the emacs editing mode code, so add a testsuite before touching it. To avoid having to deal with the horrendous low-level terminal handling and high-level command execution code, write the tests in unit test style rather than in integration test style, by providing minimal glue to run vi.c stand-alone. In case relevant internal interfaces in sh.c, edit.c, and friends are changed, the glue may need adjustment. Not testing completion and history at this time, only line editing.
2016-01-10tests for double backspace after double-width charactersIngo Schwarze
2016-01-10Make the test file 7-bit clean and improve diagnostics with hexdump(1),Ingo Schwarze
both in the same way as it was done for ul(1). No functional change.
2016-01-10some UTF-8 testsIngo Schwarze
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@
2016-01-07When syslogd is not running, check that no syslog priority or droppedAlexander Bluhm
message is logged to the console by the kernel.
2016-01-05Regression suite for ul(1).Ingo Schwarze
Even though this is testing UTF-8, the test file is 7-bit clean. Will be enabled once the ul(1) program is fixed.
2015-12-30Test logging to console by redirecting the system's console into aAlexander Bluhm
file. All subtests get an additional /dev/console entry in syslog.conf, then check that messages appear in the console file. Add a test that stops syslogd, calls sendsyslog2() with LOG_CONS and checks that the message appears in the console file.
2015-12-28initialize pointer to avoid undefined free on failureBrent Cook
ok beck@
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-22Test suite for colrm(1) including tests for single byte characters,Ingo Schwarze
tabs, backspaces, multibyte characters of width 1, 0, and 2, invalid bytes and non-printable characters. All tests are run both with the UTF-8 and the C locale. About half the tests are currently broken, and not only the multibyte tests, but also half of the tab and backspace tests. The program is expected to be fixed soon, and the suite will be hooked up after that.
2015-12-22Correct expected results on v6 mcast bind on ANY, and add comments toVincent Gross
explain why they are expected.
2015-12-21add parsing tests that must not segfault based on Jonathan Gray initialMarc Espie
report.
2015-12-15test some valid UTF-8, but in the C localeIngo Schwarze
2015-12-15test encoding of a few invalid UTF-8 sequencesIngo Schwarze
2015-12-15test vis(3)ingIngo Schwarze
2015-12-15tests for the following keywords: cwd login group rgroup ruser userIngo Schwarze
2015-12-15regression suite for the "command" keywordIngo Schwarze
2015-12-09add multicast test suitesVincent Gross
2015-12-09add a quick test for utf-8 handlingTed Unangst
2015-12-07Add regression tests for in_pcbbind.Vincent Gross
2015-12-07basic unit tests for rsa-sha2-* signature typesDamien Miller
2015-12-06test suite for fmt(1) written from scratchIngo Schwarze
2015-12-06Check .Xr links by forking "man -f" rather than manually lookingIngo Schwarze
through manual page directories. It's slower but more robust because it doesn't require MLINKS. Fragility noticed and patch OK'ed by jmc@.
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-04tweak wc test to include a nonbreaking spaceTed Unangst
2015-12-04Add tests that call the syscalls sendsyslog(2) and sendsyslog2(2)Alexander Bluhm
directly.
2015-12-04add a test for wc -mTed Unangst
(this may not be the best place for these tests. perhaps they all belong in the regular usr.bin hierarchy. for now, keeping them all together.)
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-02quicky test for cutTed Unangst
2015-12-02add a tiny utf8 test (for tr, failing)Ted Unangst
more to come?
2015-12-02Fix the mandoc test suite after afresh1@ changed wcwidth(3) in libcIngo Schwarze
for the private use area starting at U+E000. Sometimes, even i'm surprised how much stuff these tests keep track of. Originally, they were only intended to catch regressions in mandoc... Issue noticed by daniel@, thanks!
2015-12-02Check that routes to the same destination but with a different priorityMartin Pieuchot
are inserted in the right order. Currently failing with ART.