summaryrefslogtreecommitdiffstats
path: root/src/test/test-cgroup-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* ASSERT_STREQ for simple casesIvan Kruglov2024-04-151-11/+11
* ASSERT_NULL/ASSERT_NOT_NULLIvan Kruglov2024-04-101-2/+2
* I made more unit test to use the test macroUsman Akinyemi2024-04-081-4/+4
* test-cgroup-util: reduce scope of iterator variablesZbigniew Jędrzejewski-Szmek2024-03-201-7/+8
* test: Skip various tests when /sys is not mountedDaan De Meyer2023-12-191-2/+2
* test: port tests over to new /proc/ enumeration APILennart Poettering2023-10-181-19/+17
* process-util: add pidref_is_kernel_thread()Lennart Poettering2023-10-181-1/+1
* tree-wide: drop unnecessary inclusion of version.hYu Watanabe2023-07-291-1/+0
* cgroup: rework how we validate/escape cgroupsLennart Poettering2023-04-271-5/+10
* core: add cg_path_get_unit_path()Quentin Deslandes2023-02-081-0/+27
* basic: rename util.h to logarithm.hZbigniew Jędrzejewski-Szmek2022-11-081-1/+0
* cgroup-util: Move macros to macros and tests to testsMichal Koutný2022-01-101-0/+9
* Define FOREACH_DIRENT through FOREACH_DIRENT_ALLZbigniew Jędrzejewski-Szmek2021-12-151-1/+0
* test: Convert to TEST/TEST_RET macrosJan Janssen2021-11-281-44/+19
* test: use assert_se() instead of assert()Yu Watanabe2021-10-121-2/+2
* meson: simplify the BUILD_MODE conditionalZbigniew Jędrzejewski-Szmek2021-04-141-1/+1
* test: skip tests if cgroup isn't mountedDan Streetman2021-02-251-1/+1
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* test-cgroup-util: Handle result=NULL as empty stringGaurav Singh2020-07-291-3/+3
* test: fix potential use-after-freeFrantisek Sumsal2020-05-041-1/+1
* basic/cgroup-util: introduce cg_get_keyed_attribute_full()Michal Sekletár2020-04-291-0/+20
* tests: various small fixes for strict systemsTopi Miettinen2020-04-261-1/+2
* tests: get rid of test-helper.[ch] completelyZbigniew Jędrzejewski-Szmek2019-11-111-1/+0
* util-lib: move some functions from basic/cgroup-util to shared/cgroup-setupZbigniew Jędrzejewski-Szmek2019-09-161-52/+0
* basic/cgroup-util: let cgroup_unified_flush() return the detected hierarchyZbigniew Jędrzejewski-Szmek2019-09-161-2/+2
* basic/build.h: fix typoZbigniew Jędrzejewski-Szmek2019-08-201-1/+1
* cgroup: Imply systemd.unified_cgroup_hierarchy=1 on cgroup_no_v1=allChris Down2018-12-211-0/+11
* Merge pull request #10059 from yuwata/env-exec-directoryLennart Poettering2018-09-251-1/+1
|\
| * test: replace swear words by 'hoge'Yu Watanabe2018-09-131-1/+1
* | tests: use a helper function to parse environment and open loggingZbigniew Jędrzejewski-Szmek2018-09-141-3/+2
|/
* Drop my copyright headersZbigniew Jędrzejewski-Szmek2018-06-141-3/+0
* tree-wide: beautify remaining copyright statementsLennart Poettering2018-06-141-1/+1
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* tests: add some tests for unit_name_is_valid() and related functionsZbigniew Jędrzejewski-Szmek2018-04-241-2/+16
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* test-cgroup-util: bail out when running under mock (#8365)Zbigniew Jędrzejewski-Szmek2018-03-071-2/+8
* basic/cgroup-util: simplify cg_get_keyed_attribute(), add testZbigniew Jędrzejewski-Szmek2018-03-011-0/+41
* tree-wide: use SPECIAL_ROOT_SLICEZbigniew Jędrzejewski-Szmek2017-12-151-8/+9
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
* test-cgroup-util: skip cg hierarchy tests when necessary (#7371)Zbigniew Jędrzejewski-Szmek2017-11-171-2/+7
* test-cgroup-util: add basic test for cg_all_unified/cg_hybrid_unified/cg_unif...Zbigniew Jędrzejewski-Szmek2017-11-151-0/+27
* tree-wide: use `!IN_SET(..)` for `a != b && a != c && …`Andreas Rammhold2017-10-021-2/+1
* test-cgroup-util: add a "test" to print out cg_is_*_wanted() valuesZbigniew Jędrzejewski-Szmek2017-02-231-0/+47
* Rename formats-util.h to format-util.hZbigniew Jędrzejewski-Szmek2016-11-071-1/+1
* nspawn: cleanup and chown the synced cgroup hierarchy (#4223)Evgeny Vereshchagin2016-10-131-0/+25
* tree-wide: remove Emacs lines from all filesDaniel Mack2016-02-101-2/+0
* util-lib: split out allocation calls into alloc-util.[ch]Lennart Poettering2015-10-271-0/+1
* user-util: move UID/GID related macros from macro.h to user-util.hLennart Poettering2015-10-271-0/+1
* util-lib: introduce dirent-util.[ch] for directory entry callsLennart Poettering2015-10-271-0/+1
* util-lib: split string parsing related calls from util.[ch] into parse-util.[ch]Lennart Poettering2015-10-271-0/+1