summaryrefslogtreecommitdiff
path: root/regress/lib
AgeCommit message (Collapse)Author
2017-07-29Remove unused function and variable to shut up warning. Put backAlexander Bluhm
a status print that was lost in previous.
2017-07-29repair regress for more aggressive post fork checking in library.Ted Unangst
we should not be checking that things explicitly forbidden work. prompted by bluhm
2017-07-27Sort subdir, run getaddrinfo test, remove vax case.Alexander Bluhm
2017-07-27Sort expected getaddrinfo output in inet4 inet6 order, then theAlexander Bluhm
test passes.
2017-07-27Fix all clang warnings in libc regress and cleanup some make files.Alexander Bluhm
2017-07-27Mark the invalid memory location as volatile, otherwise clang wouldAlexander Bluhm
optimize the access to it with an illegal instruction. But the tests needs a SIGSEGV, it would fail with SIGILL.
2017-07-24Extend the SNI tests to ensure that we have a hostname in the sessionJoel Sing
after a successful tlsext_sni_serverhello_parse() and that tlsext_sni_clienthello_parse() fails if we have an existing session and the SNI is mismatched.
2017-07-24Add regress coverage for the TLS Renegotiation Indication extension.Joel Sing
2017-07-16Provide a new regress test for TLS extension handlers, currently coveringJoel Sing
the newly converted SNI code.
2017-07-15Add a test that covers the recently fixed "0x" prefix handling issue.Joel Sing
2017-07-08Run malloc0test with all possible malloc options.Alexander Bluhm
2017-07-07Remove all references to "make depend" from regress.Alexander Bluhm
2017-07-06Link the runtests programs statically and explain why.Alexander Bluhm
2017-06-30Build and run libexpat regress tests from src/lib/libexpat/tests.Alexander Bluhm
2017-07-05Implement the generated dependency with a stamp file to avoid needlessAlexander Bluhm
recompiling of the test programs. Add some RCS ids.
2017-07-04Fix building the libedit regress programs.Alexander Bluhm
2017-07-03Generate source and header files for regress on demand.Alexander Bluhm
OK espie@
2017-07-03Link all lib regress tests to the build.Alexander Bluhm
2017-06-30Build and run libexpat regress tests from src/lib/libexpat/tests.Alexander Bluhm
2017-06-02Use += instead of = for extra flag. Prompted by miod@Otto Moerbeek
2017-05-30Fix a race by always modifying the 'counter' variable while holding theMartin Pieuchot
mutex. ok tedu@
2017-05-27Also test arrays of double and long long.Todd C. Miller
2017-05-27Do not connect to cvs.openbsd.org in regress. Run on loopback toAlexander Bluhm
make the test pass without internet access. OK mpi@
2017-05-27Go to sleep to let our contending thread win a race.Martin Pieuchot
Because we cannot assume that the contending thread will grab it between our unlock/lock. ok kettenis@
2017-05-26Synchronise chacha test cases with the referenced draft - this adds aJoel Sing
missing test case, reassigns two of the labels and removes a test case that was from an earlier draft. Inconsistency noted by Steven Roberts <fenderq at gmail dot com>, some time ago...
2017-05-22Add timing and test name options.Todd C. Miller
2017-05-22Instead of embedding pre-generated tables from McIlroy's "A KillerTodd C. Miller
Adversary for Quicksort", just include the code to generate them. Also allow the number of elements to be specified on the command line.
2017-05-21correct a return value testJonathan Gray
ok millert@
2017-05-19Add input targeted at the Bentley and McIrlroy quicksort generatedTodd C. Miller
by McIlroy's "A Killer Adversary for Quicksort". This results in quadratic behavior and the test aborts before completion.
2017-05-18use mergesort instead of heapsort when comparing resultsTodd C. Miller
2017-05-17Avoid running the "killer" tests multiple times with the sameTodd C. Miller
parameters.
2017-05-17Add "median of three" killer, as seen in "Introspective Sorting andTodd C. Miller
Selection Algorithms" by David R Musser.
2017-05-17Approximate nlgn instead of using libm. The same approximation mayTodd C. Miller
be used in qsort.c in a later commit.
2017-05-17Add "killer" input from "algorithmic complexity attacks and libcTodd C. Miller
qsort()". This causes quadratic behavior with the 4.4BSD qsort's "switch to insertion sort" optimization when the input appears to be mostly sorted. That optimization was removed in qsort.c r1.12 but it is worth having in the regress test too.
2017-05-17There's no need to track the number of errors (and the counter mightTodd C. Miller
wrap), make it a flag instead. Pointed out by schwarze@
2017-05-17Add qsort(3) regress based on Bentley & McIlroy's "Engineering a Sort Function"Todd C. Miller
2017-05-12Fix typos and spacing. From Andre Smagin <as at smagin.com>. Thanks.Alexandre Ratchov
2017-05-07Revise cipher suites in regress to match DSS cipher suite removal.Joel Sing
2017-05-07Add a (currently failing) call to tls_handshake() on a client context thatJoel Sing
has not yet been connected. We expect this to fail, but it should fail gracefully.
2017-05-07Also test calling tls_handshake() on a server connection context that hasJoel Sing
already completed a TLS handshake.
2017-05-07Add a test that calls tls_handshake() on a connection that has alreadyJoel Sing
completed a TLS handshake. This should return a failure, but currently succeeds (hence the regress currently fails).
2017-05-07An an initial sequencing/ordering test for libtls.Joel Sing
2017-05-06Split TLS client/server handshake and close code into separate functionsJoel Sing
so that it can be reused.
2017-05-06Bring in an SSL_HANDSHAKE structure and commence the great shovellingBob Beck
ok jsing@, gcc@, regress@
2017-05-06Move TLS test code into a function that is called from main, making itJoel Sing
easier for new tests to be added.
2017-05-06Free tls_configs earlier now that we have refcounting.Joel Sing
2017-05-06Add more functions.Joel Sing
2017-05-06Sort/group functions.Joel Sing
2017-05-06Not much point using a failed variable here.Joel Sing
2017-05-06Bring in HKDF, from BoringSSL, with regress tests modified to beBob Beck
in C. Ride previous minor bump ok tom@ inoguchi@ jsing@