Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a regress test exercising BIO_dup_chain() and triggering the leak | tb | 2023-08-07 | 1 | -1/+43 |
| | | | | fixed in bio_lib.c r1.47 as confirmed by ASAN. | ||||
* | bio_chain test: fix error message | tb | 2023-03-04 | 1 | -2/+2 |
| | |||||
* | bio chain test: compress some error printing | tb | 2022-12-10 | 1 | -5/+4 |
| | |||||
* | bio chain test: deduplicate chain walking code | tb | 2022-12-10 | 1 | -52/+40 |
| | |||||
* | bio chain test: handle walking of empty chains | tb | 2022-12-10 | 1 | -27/+15 |
| | | | | | | Rework the loops walking the chains to be correct for empty chains as well. This simplifies the checking at the cost of slightly more initialization and will allow further refactoring in a subsequent check. | ||||
* | bio chain test: add a consistency check for chain lengths | tb | 2022-12-09 | 1 | -1/+9 |
| | |||||
* | bio chain test: make two errors noisy | tb | 2022-12-09 | 1 | -3/+11 |
| | |||||
* | bio chain test: ensure the length of empty chains is 0 | tb | 2022-12-09 | 1 | -3/+9 |
| | |||||
* | bio chain test: various minor readability tweaks | tb | 2022-12-09 | 1 | -6/+8 |
| | | | | | | Align initialization in walk_backward() with walk_forward(), fix grammar in a comment and move initialization of oldhead_len in a place consistent with the other length initializations in that function | ||||
* | bio chain test: fix inconsequential off-by-one | tb | 2022-12-08 | 1 | -2/+2 |
| | |||||
* | bio chain test: minor readability tweaks | tb | 2022-12-08 | 1 | -5/+6 |
| | |||||
* | bio chain test: rename a few variables for consistency | tb | 2022-12-08 | 1 | -29/+29 |
| | |||||
* | bio chain test: decouple lengths of test chains | tb | 2022-12-08 | 1 | -59/+89 |
| | | | | | | Add helpers to create and destroy a linear chain of BIOs. Provide two defines for the two lengths of the test chains and make them distinct to rule out coincidences. As a bonus, the code becomes simpler. | ||||
* | bio chain test: refactor link_chains_at() | tb | 2022-12-08 | 1 | -198/+109 |
| | | | | | Add helper that validate the chains. This deduplicates a lot of code and makes the heart of the test much easier to read. | ||||
* | bio chain test: lose some do_{,bio_} prefixes | tb | 2022-12-08 | 1 | -12/+12 |
| | |||||
* | Split biotest into its three logical parts | tb | 2022-12-08 | 1 | -0/+532 |
Some parts of this test rely on unportable behavior, so cannot run in portable. This way we can run more tests for portable which is helpful for analysis tools, better coverage, etc. |