summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2015-10-18regress pledge: test kill()Sebastien Marie
since "inet" has PLEDGE_SELF, and now calling kill() to self is permitted with PLEDGE_SELF, try this with "fattr"
2015-10-18regress pledge: remove cmsgSebastien Marie
it has no sens to keep it.
2015-10-18regress pledge: cpath testSebastien Marie
you need to read the directory before creating something in. add rpath
2015-10-18regress pledge: cmsg is deprecatedSebastien Marie
2015-10-18regress pledge: tweak a bit the manner to grab hte syscall numberSebastien Marie
permit debug string be present on the line
2015-10-18Need native-pledge for id.Doug Hogan
2015-10-17Very tricky diff to fix macro interpretation and spacing around tabsIngo Schwarze
in .Bl -column; it took me more than a day to get this right. Triggered by a loosely related bug report from tim@. The lesson for you is: Use .Ta macros in .Bl -column, avoid tabs, or you are in for surprises: The last word before a tab is not interpreted as a macro (unless there is a blank in between), the first word after a tab isn't either (unless there is a blank in between), and a blank after a tab causes a leading blank in the respective output cell. Yes, "blank", "tab", "blank tab" and "tab blank" all have different semantics; if you write code relying on that, good luck maintaining it afterwards...
2015-10-16test mixing of tabs with TaIngo Schwarze
2015-10-14bugfix: add ${.CURDIR} to deal with obj symlinksVincent Gross
2015-10-14unbreak regress/sbin/newfsSebastien Marie
/dev/prandom is no more since Nov 30, 2008 OK otto@
2015-10-14bugfix : use ${.CURDIR} to cope with obj symlinksVincent Gross
2015-10-14add regress tests for automatic port allocation.Vincent Gross
- enable ipv4 - leave ipv6 disabled
2015-10-14add regress tests for automatic port allocationVincent Gross
2015-10-13Reject the escape sequences \[uD800] to \[uDFFF] in the parser.Ingo Schwarze
These surrogates are not valid Unicode codepoints, so treat them just like any other undefined character escapes: Warn about them and do not produce output. Issue noticed while talking to stsp@, semarie@, and bentley@.
2015-10-13Call the sort program through $SORTPROG, as intended; OK millert@Tim van der Molen
2015-10-13Test t16 for ed-formatted diffs does not contain a substitution.Tobias Stoeckmann
Add a minimalistic check in t17.
2015-10-13Single byte read/write tests.Joel Sing
2015-10-13Add test coverage for peer certificate info and connection info.Joel Sing
2015-10-13Make regress work again post hackathon tls_handshake/tls_read/tls_writeJoel Sing
changes.
2015-10-12Use "-" rather than "\(hy" for the heads of .Bl -dash and -hyphen lists.Ingo Schwarze
In UTF-8 output, that renders as ASCII HYPHEN-MINUS (U+002D) rather than HYPHEN (U+2010), which looks better and matches groff. In ASCII output, it makes no difference. Suggested by naddy@.
2015-10-11add variation on existing --exists tests; separated by spacesJasper Lievisse Adriaanse
2015-10-10add (currently failing) test for --exists foo,bar.Jasper Lievisse Adriaanse
spotted by aja@
2015-10-09Keep relayd test certificate names in sync with syslogd.Alexander Bluhm
2015-10-09Add tests for syslogd TLS accept and receive encrypted messages.Alexander Bluhm
2015-10-09regress pledgeSebastien Marie
add missing $OpenBSD$ header
2015-10-09regress pledge: remove 'regenerate' targetSebastien Marie
2015-10-09add "tty" regress for pledgeSebastien Marie
2015-10-09hook pledgeSebastien Marie
2015-10-09follow tame->pledge in regressSebastien Marie
2015-10-08Local route entries are always UP now, missed in previous.Martin Pieuchot
2015-10-08allow a test to manage itself the tame(2) call.Sebastien Marie
2015-10-06update "cmsg" tests: it lost TAME_SELF flag.Sebastien Marie
2015-10-06add some tests for rpath, wpath, cpathSebastien Marie
2015-10-06adapt to recent sshkey_parse_private_fileblob() API changeDamien Miller
2015-10-03adapt to the removal of !Otto Moerbeek
2015-10-02Add another invalid time, which is currently accepted.Joel Sing
2015-09-30Fix a bug in the regress, and be much more pedantic about what is allowedBob Beck
per RFC 5380 in an X509. RFC 5280 states that all times before 2050 must be specified as a UTCtime, not a Generalized time, and all times after must be a UTC time. By extension this also means the smallest time allowed per RFC 5280 is 500101000000Z and the largest is 99991231235959Z..
2015-09-30implement new "prot_exec" tame(2) request:Sebastien Marie
- by default, a tamed-program don't have the possibility to use PROT_EXEC for mmap(2) or mprotect(2) - for that, use the request "prot_exec" (that could be dropped later) initial idea from deraadt@ and kettenis@ "make complete sense" beck@ ok deraadt@
2015-09-29Add an rfc5280 test suite to test x509_cmp_time.Bob Beck
Note some of these will yet fail with the current libcrypto as the current X509_cmp_time is not RFC5280 compliant ok jsing@
2015-09-29Fix sha2 regression test for libcrypto.Doug Hogan
By default, "openssl sha" used SHA-0. However, it was possible to use the form "openssl sha -sha256" to run SHA-256 instead. The regression test used this form. Since we removed SHA-0 support, the regress tests should now call "openssl <digest>". ok guenther@, bcook@
2015-09-28make using tame path "/" work.Sebastien Marie
and add a regress test for that. ok deraadt@
2015-09-28Sync with recent changes, local routes are now always UP.Martin Pieuchot
2015-09-27check if openssl(1) actually works before proceedingBrent Cook
It was possible for this test to pass even if the openssl command itself was missing.
2015-09-27add a tame(2) regress for stat(2) and realpath(3)Sebastien Marie
2015-09-25Add DER encoding/decoding coverage for ASN.1 GENERALIZEDTIME and UTCTIME.Joel Sing
2015-09-25Add initial regress tests for ASN.1 times.Joel Sing
2015-09-25In libtls connection error EOF has changed to connection close.Alexander Bluhm
Adapt syslogd tests.
2015-09-24fix command-line option to match what was actually committedDamien Miller
2015-09-24tame("xxx", NULL) and tame("xxx", {NULL}) are not the sameSebastien Marie
- change output of regress to reflect that - add test
2015-09-24refactor a bit regress tameSebastien Marie
- unit tests are functions in main.c - use test name in output - add grabbing stdout output of tests