summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2022-08-21Revise regress now that SSL_QUIC_METHOD exists.Joel Sing
2022-08-21Add initial installboot(8) testsKlemens Nanni
For now they all run on softraid(4) on vnd(4) and do not require any setup up-front, making it easy to spot bugs in MD code. amd64 passes, sparc64 passes with the exception of "-r/mnt" usage, as is done by the installer, when the softraid volume contains more than one chunk. arm64 needs more love, still. Will be hooked up per-arch soon. OK anton
2022-08-20Test EVP_chacha20_poly1305() (linking statically for now)Joel Sing
2022-08-20add ld.so RTLD_NOLOAD regress tests, ok jca@ guenther@Stuart Henderson
2022-08-20Unhook vmd for i386Klemens Nanni
OK sthen
2022-08-19Up to version 1.22.4, groff_mdoc(7) only considered the first wordIngo Schwarze
when comparing section headers. For example, ".Sh SEE ELSEWHERE" and ".Sh SEE Em ALSO" were considered instances of a SEE ALSO section. In groff-current, exact matches with no sub-macros are required. Adjust mandoc behaviour. While here, also fix a very minor mandoc bug, even though no detrimental effect of the bug on formatting is known. While using sub-macros in the .Sh HEAD is bad style, the parsers accept it, so setting the section attribute on the HEAD needs to act recursively.
2022-08-16Adjust desired output after the bugfix man.c rev. 1.137.Ingo Schwarze
The new version of the output file was generated with groff-current.
2022-08-16New tests of tabs in fill mode, in particularIngo Schwarze
when multiple input or output lines are involved.
2022-08-16Adjust the desired output after the improvements in term.c rev. 1.150.Ingo Schwarze
The new version of this file was generated with groff-current. Heirloom nroff produces exactly the same output for the content of the DESCRIPTION.
2022-08-15Some more tests of no-fill mode similar to mdoc/Bd/blank.inIngo Schwarze
after vertical spacing was improved in man_term.c rev. 1.192.
2022-08-15oops, once again, i failed to correctly sync some dates in the footerIngo Schwarze
2022-08-15Distinguish between escape sequences that produce no outputIngo Schwarze
whatsoever (for example \fR) and escape sequences that produce invisible zero-width output (for example \&). No, i'm not joking, groff does make that distinction, and it has consequences in some situations, for example for vertical spacing in no-fill mode. Heirloom and Plan 9 behaviour is subtly different, but in case of doubt, we want to follow groff. While this fixes the behaviour for the majority of escape sequences, in particular for those most likely to occur in practice, it is not perfect yet because some of the more exotic ESCAPE_IGNORE sequences are actually of the "no output whatsoever" type but treated as "invisible zero-width" for now. With the new ASCII_NBRZW mechanism in place, switching them over one by one when the need arises will no longer be very difficult.
2022-08-13blist: fix a possible blist corruption with blist_alloc() due to unsignedSebastien Marie
swblk_t on OpenBSD. reorder if condition in blst_meta_alloc(), in order to check if the node is 'Terminator' node first (and leave the loop). DragonFlyBSD is unaffected by it as swblk_t is signed (and the first condition isn't taken). add a regress test for it. while here, more the KASSERT() to KDASSERT(). it is useful but only with DEBUG. ok miod@ todd@
2022-08-12Fix upper bound in a for loop (no functional change).Theo Buehler
2022-08-12Tweak a comment to be more accurate.Theo Buehler
2022-08-11add some tests for parse_absolute_time(), including cases where itDamien Miller
is forced to the UTC timezone. bz3468 ok dtucker
2022-08-06blist: use swblk_t type (defined in sys/blist.h)Sebastien Marie
reduce the diff with DragonFlyBSD by using swblk_t and u_swblk_t types. while here, move bitmap type (u_swblk_t) to u_int64_t on all archs. it makes the regress the same on 64 and 32bits archs (and it success on both). ok mpi@
2022-08-06remove swblk_t type from sys/types.hSebastien Marie
- it is currently unused (except in some regress) - it is non-standard - it shouldn't have been visible in first place ok jca@ mpi@ todd@ deraadt@
2022-08-05fix error messageTheo Buehler
2022-08-05Use the FAIL macro instead of fprintf(stderr, "FAIL: ...\n");Theo Buehler
2022-08-05Make the bogokey[] global static const.Theo Buehler
2022-08-05Move CBB_init() to a consistent place.Theo Buehler
2022-08-05Consistently initialize failure to 1 at the top of the function andTheo Buehler
clear it right before the done label.
2022-08-05Consistently check for CBB_init() failure.Theo Buehler
2022-08-05Remove most of the indirection introduced in previous and instead fetchTheo Buehler
the appropriate tls_extension_funcs pointers for client and server from libssl and reach into them directly. ok jsing
2022-08-04Add some glue to fetch the tlsext functions from the tls_extensions[]Theo Buehler
table rather than calling the functions directly.
2022-08-03some love for patch regressOmar Polo
* t3 doesn't was fixed anymore * add a comment describing t19 * add t20 (reversal application of a diff that creates a one-line file) ok stsp@
2022-08-02If the body of a man(7) .MT or .UR block is empty, do not emit a warning.Ingo Schwarze
Leaving the body empty is legitimate in this case if the author only wants to display a mail address or URI without providing a link text. Output modules already handle this correctly: terminal output shows just the URI without an accompanying text, HTML output uses the URI for *both* the href= attribute and as the content of the <a> element. The documentation was also wrong and claimed that an .MT or .UR block with an empty body would produce no output. As explained above, this isn't true. Bogus warning reported by Alejandro Colomar <alx dot manpages at gmail dot com>.
2022-08-02Reorganize the tests that require custom command line optionsIngo Schwarze
such that they don't abort the whole test suite if one of them fails.
2022-07-30Update copyright for additional/new code.Joel Sing
2022-07-30Provide additional AEAD test cases.Joel Sing
Bring in additional AEAD test cases from BoringSSL. This provides additional coverage for AES-{128,192,256}-GCM, as well as Chacha20-Poly1305 and XChaCha20-Poly1305. Discussed with tb@
2022-07-30Add EVP_aes_192_gcm() as a known AEAD.Joel Sing
2022-07-30Allow the AEAD to be specified for a test file.Joel Sing
Currently, this must be specified per test - allow it to be given as a command line argument that applies to the entire test file.
2022-07-30Run AEAD tests against EVP_CIPHER implementations.Joel Sing
In addition to running AEAD tests against the EVP_AEAD implementation, also run them against the EVP_CIPHER implementation where applicable. This is a perfect example of why EVP_AEAD exists and why EVP_CIPHER is completely unsuited for use with AEADs...
2022-07-30Allow quoted ASCII strings as input for AEAD regress.Joel Sing
Currently, each line in the text file is expected to be string of hexadecimal digits. In addition to this, allow a line to be given as an quoted ASCII string.
2022-07-30Sort includes.Joel Sing
2022-07-30Less #ifndef OPENSSL_NO_*Joel Sing
We're not going to be compiling without AES or CHACHA/POLY1305 anytime soon.
2022-07-30Fix comment formatting.Joel Sing
2022-07-30Switch to ISC license.Joel Sing
Use Google's ISC license for this code - this was originally being upstreamed to OpenSSL by Adam Langley, however it was never actually accepted and eventually ended up in BoringSSL (via commit dfe3053086). The same change was made a long time ago for evp/evp_aead.c and others.
2022-07-29Replace the swap extent(9) usage by a blist data structure.Sebastien Marie
It makes uvm_swap_free() faster: extents have a cost of O(n*n) which doesn't really scale with gigabytes of swap. Based on initial work from mpi@ The blist implementation comes from DragonFlyBSD. The diff adds also a ddb(4) 'show swap' command to show the blist and help debugging, and fix some off-by-one in size printed during hibernate. ok mpi@
2022-07-28Add a second test to validate the tables in the library.Theo Buehler
2022-07-27Adjust a comment to reflect reality, minor code tweaks.Theo Buehler
2022-07-26Don't use echo "<blah>" | fdisk -e to create boot partition.Kenneth R Westerback
Use -b like the install scripts do. Spotted by anton@.
2022-07-26minor tweaks: unwrap a line, tweak a comment and zap an empty lineTheo Buehler
2022-07-26No need to provide a dummy nexthop anymore, instead set the nhflags toClaudio Jeker
NEXTHOP_VALID or 0 depending on the nexthop state for the testvector.
2022-07-25Remove test of non-portable implementation details (whether wctype_tPhilip Guenther
and wctrans_t values are locale-specific) so we can simplify our implementation in libc ok schwarze@
2022-07-25Add a regression test for bn_isqrt.cTheo Buehler
This validates the tables used in bn_is_perfect_square() and checks that for randomly generated numbers the isqrt() is what it is expected to be.
2022-07-25Separate the macro for generating string test functionsIngo Schwarze
for the macro generating test functions for other data types. This makes sense because both are sufficiently different. It also avoids a large number of false positive compiler warnings that guenther@ reported. OK guenther@
2022-07-25Restore missing "!" in TEST_SSH_ELAPSED_TIMES test.Darren Tucker
2022-07-24Test TEST_SSH_ELAPSED_TIMES for empty string not executable. No-opDarren Tucker
on most platforms but should prevent warnings in -portable on systems that don't have 'date %s'.