summaryrefslogtreecommitdiff
path: root/src/test/test-cgroup-util.c
Commit message (Expand)AuthorAgeFilesLines
* 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-081-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-221-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
* util-lib: split out fd-related operations into fd-util.[ch]Lennart Poettering2015-10-251-2/+3
* util-lib: split our string related calls from util.[ch] into its own file str...Lennart Poettering2015-10-241-1/+1
* tests: Skip test-cgroup-util test_mask_supported() when not running under sys...Martin Pitt2015-09-071-1/+1
* cgroup: always read the supported controllers from the root cgroup of the loc...Lennart Poettering2015-09-041-0/+12
* shared: Drop 'name=' prefix from SYSTEMD_CGROUP_CONTROLLER define.Dimitri John Ledkov2015-06-021-10/+10
* cgroup-util: be more strict when processing slice unit namesLennart Poettering2015-05-051-1/+1
* core: catch some special cases in cg_slice_to_path()Lennart Poettering2015-04-301-1/+6
* sd-bus,sd-login: add api for querying the slice within the the user systemd i...Lennart Poettering2015-04-301-0/+25