summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2017-03-15Add tests for scaled overflow and underflow and the exact overflow andDarren Tucker
underflow boundaries for 64bit platforms. Tests for exactly under the boundaries disabled pending fixes. ok millert@ djm@ (previous version).
2017-03-15Clean up errno handling in fmt_scaled test:Darren Tucker
- always clear before calling function under test. - save immediately after function under test. - always use saved value for validation and reporting. - remove "fraction too big" testcase that never atually worked (but looked like it did because the previous test's errno was never cleared). - delete unecessary "extern int errno".
2017-03-14copy /etc/services in test directoryEric Faurot
2017-03-14Add unit test for convtime().Darren Tucker
2017-03-14Add ASSERT_LONG_* helpers.Darren Tucker
2017-03-11regress tests for loading certificates without public keys;Damien Miller
bz#2617 based on patch from Adam Eijdenberg; ok markus@ dtucker@
2017-03-11test infinite recursion in eqn(7) "define" statementsIngo Schwarze
2017-03-11In markdown, autolinks are dangerous. Different compilers disagreeIngo Schwarze
with respect to what constitutes a valid autolink, and if a compiler deems an autolink invalid, the input turns into an unintended and potentially harmful raw HTML tag. So, never write autolinks. Instead of <link>, write [link](link). Instead of <addr>, write [addr](mailto:addr). Issue pointed out by bentley@, who also agrees with the general direction of the change.
2017-03-10refresh the test infrastructure a bit.Eric Faurot
2017-03-10Add a unit test for tls1_PRF().Joel Sing
2017-03-09remove bogus variable expansionEric Faurot
2017-03-09missing includeEric Faurot
2017-03-08Now that markdown output is tested for almost everything, test allIngo Schwarze
input files in -T markdown output mode by default and only mark those files with SKIP_MARKDOWN that are not to be tested. Much easier to read, and almost minus 40 lines of Makefile code.
2012-07-13import regression suite for asrEric Faurot
2017-03-08format string mishandlingTheo de Raadt
2017-03-08warning cleanups; ok guentherTheo de Raadt
2017-03-08don't use __syscall to emulate _exit, just call _exitTheo de Raadt
2017-03-08fix comment blockTheo de Raadt
2017-03-08According to the CommonMark specification, backslash escapesIngo Schwarze
and markdown markup do not work inside code spans.
2017-03-08.Bl -column never gets blank lines between rowsIngo Schwarze
2017-03-08enable -T markdown tests of filled displays and tagged listsIngo Schwarze
2017-03-08prevent infinite recursion while expanding the argumentsIngo Schwarze
of a user-defined macro; issue found by tb@ with afl(1)
2017-03-07If a user-defined macro is aborted because it exceeds the stackIngo Schwarze
limit, usually due to infinite recursion, discard whatever remains in all those open stack levels. Otherwise, insane constructions like the following could generate macros of enormous size, causing mandoc(1) to die from memory exhaustion: .de m \" original macro definition .m \" recursion to blow up the stack .de m \" definition to be run during the call of .m marked (*) very long plain text (some kilobytes) .m \" expand the above a thousand times while unwinding the stack .. \" end of the original definition .m \" (*) recursively generate a ridiculously large macro .. \" end of recursively generated definition .m \" execute the giant macro, exhausting memory Very creative abuse found by tb@ with afl(1).
2017-03-07Add test vectors to regress gmac_test.cKinichiro Inoguchi
ok mikeb@
2017-03-07Escape blanks at the end of markdown linesIngo Schwarze
such that they don't look like output line breaks.
2017-03-07fix completely empty .Eo: no blank line wantedIngo Schwarze
2017-03-07fix spacing after empty .FlIngo Schwarze
2017-03-07Add a test that covers a libtls client talking to a Go TLS server withJoel Sing
varying minimum and maximum protocol versions. This gives us protocol version test coverage against an independent TLS stack.
2017-03-07implement .An -split and -nosplitIngo Schwarze
2017-03-07Allow ciphers to be set on the TLS config.Joel Sing
2017-03-07Provide support for libtls protocols and allow for protocols to be set onJoel Sing
a TLS config. The ConnVersion function now also returns a protocol version instead of a string.
2017-03-07Add handling for errors on the TLS config and properly check/handleJoel Sing
failures when setting the CA file.
2017-03-07Fix .In formatting in the SYNOPSIS:Ingo Schwarze
No &zwnj; in the middle of **, please.
2017-03-07libtls errors are much more descriptive these days - return them directlyJoel Sing
and avoid adding redundant/duplicate information.
2017-03-07We no longer need to keep pointers following tls_config_set_*() calls.Joel Sing
2017-03-06Use an unsigned loop variable to avoid a comparison between signedAlexander Bluhm
and unsigned. Makes the test compile again. OK inoguchi@
2017-03-06Using .Nd only makes sense in the NAME section.Ingo Schwarze
Warn if that macro occurs elsewhere. Triggered by a question from Dag-Erling Smoergrav <des @ FreeBSD>.
2017-03-06URIs need different escaping; reported by reyk@Ingo Schwarze
2017-03-05first batch of -T markdown testsIngo Schwarze
2017-03-05Infrastructure for -T markdown tests.Ingo Schwarze
This is needed because -T marksdown is expected to receive less maintenance than -T ascii, so we need automation to make sure that regular parser maintenance doesn't break this output mode.
2011-12-04test some simple macros; written while working on -TmanIngo Schwarze
2017-03-05Add an initial regress test that covers the server-side of libssl, byJoel Sing
providing SSL_accept() with fixed ClientHello messages.
2017-03-04Treat "ERROR in STARTUP" as an actual error, rather than failing withoutJoel Sing
exiting non-zero (which has been masking a DTLS related issue). Also make the message consistent with other errors. Spotted by inogochi@
2017-03-04Remove commented out code and fix indentation of surrounding statements.Joel Sing
2017-03-04Remove handling for SSLv2.Joel Sing
2017-03-03Do not use an obsolete copy of a Perl module from CPAN for testing.Alexander Bluhm
Require that the p5-Net-Flow package is installed and use it.
2017-03-03Ensure MD and key initialized before processing HMACKinichiro Inoguchi
Ensure both MD and key have been initialized before processing HMAC. Releasing HMAC_CTX in error path of HMAC(). In regress test, added test 4,5,6 and cleaned up the code. ok jsing@
2017-03-01Print message why tests are skipped.Alexander Bluhm
2017-03-01Add EVP test for MD5-SHA1.Joel Sing
2017-03-01Avoid warnings from ssh -t, check remote SUDO at beginning.Alexander Bluhm