Searched refs:unit_dir (Results 1 – 11 of 11) sorted by relevance
/systemd-251/src/test/ |
D | test-sched-prio.c | 28 _cleanup_free_ char *unit_dir = NULL; in main() local 29 assert_se(get_testdata_dir("units", &unit_dir) >= 0); in main() 30 assert_se(set_unit_path(unit_dir) >= 0); in main()
|
D | test-watch-pid.c | 23 _cleanup_free_ char *unit_dir = NULL; in main() local 24 assert_se(get_testdata_dir("units/", &unit_dir) >= 0); in main() 25 assert_se(set_unit_path(unit_dir) >= 0); in main()
|
D | test-bpf-lsm.c | 65 _cleanup_free_ char *unit_dir = NULL; in main() local 88 assert_se(get_testdata_dir("units", &unit_dir) >= 0); in main() 89 assert_se(set_unit_path(unit_dir) >= 0); in main()
|
D | test-cgroup-unit-default.c | 25 _cleanup_free_ char *unit_dir = NULL; variable 26 assert_se(get_testdata_dir("units", &unit_dir) >= 0); 27 assert_se(set_unit_path(unit_dir) >= 0);
|
D | test-socket-bind.c | 102 _cleanup_free_ char *unit_dir = NULL, *netcat_path = NULL; in main() local 134 assert_se(get_testdata_dir("units", &unit_dir) >= 0); in main() 135 assert_se(set_unit_path(unit_dir) >= 0); in main()
|
D | test-cgroup-mask.c | 41 _cleanup_free_ char *unit_dir = NULL; variable 42 assert_se(get_testdata_dir("units", &unit_dir) >= 0); 43 assert_se(set_unit_path(unit_dir) >= 0);
|
D | test-bpf-firewall.c | 53 _cleanup_free_ char *unit_dir = NULL; in main() local 54 assert_se(get_testdata_dir("units", &unit_dir) >= 0); in main() 55 assert_se(set_unit_path(unit_dir) >= 0); in main()
|
D | test-bpf-foreign-programs.c | 273 _cleanup_free_ char *unit_dir = NULL; in main() local 300 assert_se(get_testdata_dir("units", &unit_dir) >= 0); in main() 301 assert_se(set_unit_path(unit_dir) >= 0); in main()
|
D | test-engine.c | 91 _cleanup_free_ char *unit_dir = NULL; in main() local 92 assert_se(get_testdata_dir("units", &unit_dir) >= 0); in main() 93 assert_se(set_unit_path(unit_dir) >= 0); in main()
|
D | test-execute.c | 1231 _cleanup_free_ char *unit_dir = NULL, *unit_paths = NULL; in main() local 1232 assert_se(get_testdata_dir("test-execute/", &unit_dir) >= 0); in main() 1235 assert_se(unit_paths = strjoin(unit_dir, ":", user_runtime_unit_dir)); in main()
|
/systemd-251/test/ |
D | sysv-generator-test.py | 35 self.unit_dir = os.path.join(self.workdir, 'systemd') 36 os.mkdir(self.unit_dir) 59 env['SYSTEMD_UNIT_PATH'] = self.unit_dir 400 with open(os.path.join(self.unit_dir, 'foo.service'), 'w') as f:
|