summaryrefslogtreecommitdiffstats
path: root/src/shared/tests.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* test: Add chid-fundamental testanonymix0072024-11-071-0/+19
* tree-wide: drop doubled empty linesYu Watanabe2024-10-071-2/+0
* basic/macro: move DECIMAL_STR_FMT to shared/testsMike Yuan2024-09-201-0/+13
* Add ASSERT_OK_ZERO_ERRNO() and ASSERT_OK_EQ_ERRNO()Daan De Meyer2024-09-191-0/+38
* tests: Add ASSERT_OK_EQ()Daan De Meyer2024-08-271-0/+20
* tests: Remove some unnecessary quotesDaan De Meyer2024-08-271-8/+8
* test: Gracefully handle running within user namespace with single userDaan De Meyer2024-08-181-0/+1
* test: fix typoYu Watanabe2024-08-161-1/+1
* test: add ASSERT_OK_POSITIVE() and ASSERT_OK_ZERO()Yu Watanabe2024-08-141-0/+33
* test: Add ASSERT_EQ_ID128() and ASSERT_NE_ID128()Daan De Meyer2024-07-241-0/+27
* test: Add ASSERT_FAIL()Daan De Meyer2024-07-241-0/+10
* various: move const ptr indicator to return valueZbigniew Jędrzejewski-Szmek2024-06-191-1/+1
* test: Add ASSERT_ERROR() and ASSERT_ERROR_ERRNO()Daan De Meyer2024-04-221-0/+31
* Merge pull request #32202 from DaanDeMeyer/assertYu Watanabe2024-04-111-4/+15
|\
| * Introduce ASSERT_OK_ERRNO()Daan De Meyer2024-04-101-0/+10
| * tests: Improve assertion error messagesDaan De Meyer2024-04-101-4/+5
* | test: add missing header to test.hAntonio Alvarez Feijoo2024-04-101-0/+1
|/
* test: add a couple of sanity tests for ASSERT_*() macrosFrantisek Sumsal2024-04-091-0/+27
* test: handle NULL correctly when passed to ASSERT_EQ()Frantisek Sumsal2024-04-091-4/+3
* Added more ASSERT macro and also make some test file to use themUnique-Usman2024-03-221-39/+131
* Follow up with the PR #31819Unique-Usman2024-03-201-33/+52
* Add a set of assertion macros to tests.hUnique-Usman2024-03-191-0/+39
* hexdecoct: make unbase64mem and unhexmem always use SIZE_MAXMike Yuan2024-01-081-1/+1
* test: make assert_return() critical by default on fuzzer and unit testsYu Watanabe2023-12-231-0/+21
* tests: add macro for generating function enter log messageLennart Poettering2023-11-131-0/+3
* tests: make log_tests_skipped() and friend accept format stringYu Watanabe2023-10-311-2/+17
* openssl: add openssl_cipher_many()Dan Streetman2023-09-281-1/+1
* test: add DEFINE_HEX_PTR() helper functionDan Streetman2023-08-041-0/+6
* tests: teach tests boilerplate to run selected tests onlyLennart Poettering2023-06-221-3/+21
* basic: move a bunch of cmdline-related funcs to new argv-util.c+hZbigniew Jędrzejewski-Szmek2022-11-081-1/+1
* tree-wide: use ALIGN_PTR()Yu Watanabe2022-05-311-2/+2
* tests: add helper for creating tempfiles with contentZbigniew Jędrzejewski-Szmek2022-03-291-0/+2
* test: allow to set NULL to intro or outroYu Watanabe2022-02-021-22/+23
* tests: rework test macros to not take code as parametersLennart Poettering2022-02-021-6/+19
* test,static-destruct: Use retain attribute to prevent linker garbage collectionJan Janssen2021-12-221-1/+2
* test: Add sd_booted condition test to TEST macroJan Janssen2021-11-281-17/+26
* test: Add TEST_RET macroJan Janssen2021-11-281-16/+38
* test: Slightly rework DEFINE_TEST_MAIN macrosJan Janssen2021-11-251-11/+10
* test: Create convenience macros to declare testsJan Janssen2021-11-131-0/+47
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* tests: add helper function to autodetect CI environmentsZbigniew Jędrzejewski-Szmek2020-10-221-0/+3
* systemd-oomd: unit testable helper functionsAnita Zhang2020-10-081-0/+1
* tests: move unit files to units/ subdirectoryZbigniew Jędrzejewski-Szmek2020-03-191-1/+1
* tests: modify enter_cgroup_subroot() to return the new pathZbigniew Jędrzejewski-Szmek2019-11-111-1/+1
* tests: get rid of test-helper.[ch] completelyZbigniew Jędrzejewski-Szmek2019-11-111-0/+10
* tests: make manager_skip_test() not a macro and move to tests.hZbigniew Jędrzejewski-Szmek2019-11-111-0/+13
* tests: move memlock helper to shared codeZbigniew Jędrzejewski-Szmek2019-11-101-0/+4
* tests: add helper call have_namespaces() to test whether Linux namespaces are...Lennart Poettering2018-10-241-0/+2
* test-sd-hwdb: add a simple test for export sd-hwdb functionsZbigniew Jędrzejewski-Szmek2018-09-301-0/+2
* tests: add a helper function to skip with errnoZbigniew Jędrzejewski-Szmek2018-09-141-0/+1