summaryrefslogtreecommitdiffstats
path: root/src/shared/tests.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
* tests: use a helper function to parse environment and open loggingZbigniew Jędrzejewski-Szmek2018-09-141-0/+1
* tests: add helper to unify skipping a test and exitingZbigniew Jędrzejewski-Szmek2018-09-141-0/+1
* tests: centralize check for slow testsZbigniew Jędrzejewski-Szmek2018-09-131-0/+1
* test: use ${builddir}/systemd-runtest.env for $SYSTEMD_CATALOG_DIRFilipe Brandenburger2018-09-121-1/+1
* test: remove support for suffix in get_testdata_dir()Filipe Brandenburger2018-09-121-1/+1
* test: introduce test_is_running_from_builddir()Yu Watanabe2018-09-111-0/+1
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-4/+0
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
* test: drop TEST_DATA_DIR, fold into get_testdata_dir()Martin Pitt2017-02-161-1/+1
* test: show error message if $SYSTEMD_TEST_DATA does not existMartin Pitt2017-02-161-1/+1