summaryrefslogtreecommitdiff
path: root/src/test/test-alloc-util.c
Commit message (Expand)AuthorAgeFilesLines
* Simplify random number selectionJason A. Donenfeld2022-05-311-1/+1
* tree-wide: add a space after if, switch, for, and whileYu Watanabe2022-04-011-1/+1
* test: Use TEST macroJan Janssen2021-11-251-20/+8
* tree-wide: fix typoYu Watanabe2021-05-281-1/+1
* alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size()Lennart Poettering2021-05-191-24/+27
* alloc-util: add MALLOC_ELEMENTSOF() helperLennart Poettering2021-05-191-0/+39
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* Fix clang-11 issuesChristian Göttsche2020-07-261-0/+3
* test: Use assert_se() where variables are only checked by assertBenjamin Robin2020-05-061-7/+7
* test: modernize test-alloc-util.c test a bitLennart Poettering2019-07-121-4/+4
* test-alloc-util: assert on the return value to appease coverityZbigniew Jędrzejewski-Szmek2019-07-111-1/+1
* test: add _cleanup_(erase_and_freep)Zbigniew Jędrzejewski-Szmek2019-07-101-0/+16
* test-alloc-util: add "test" that cleanup functions are done in expected orderZbigniew Jędrzejewski-Szmek2019-05-101-0/+29
* test-alloc-util: let's test a few more things around GREEDY_REALLOC()Lennart Poettering2019-05-021-6/+21
* test-alloc-util: add a smoke test for greedy_reallocZbigniew Jędrzejewski-Szmek2019-03-201-0/+20
* util: split out memcmp()/memset() related calls into memory-util.[ch]Lennart Poettering2019-03-131-1/+1
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-3/+0
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* test-alloc-util: add casts to bools from p ointersZbigniew Jędrzejewski-Szmek2018-06-131-1/+5
* test-alloc-util: add a "test" for bool castsZbigniew Jędrzejewski-Szmek2018-06-131-0/+17
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* test-alloc-util: add tests for memdup_suffix0() and greedy_realloc()Yu Watanabe2017-11-281-5/+27
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
* tests: move alloc related tests to test-alloc-util.cRonny Chevalier2016-03-031-0/+55