Home
last modified time | relevance | path

Searched refs:unit_dir (Results 1 – 11 of 11) sorted by relevance

/systemd-251/src/test/
Dtest-sched-prio.c28 _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()
Dtest-watch-pid.c23 _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()
Dtest-bpf-lsm.c65 _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()
Dtest-cgroup-unit-default.c25 _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);
Dtest-socket-bind.c102 _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()
Dtest-cgroup-mask.c41 _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);
Dtest-bpf-firewall.c53 _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()
Dtest-bpf-foreign-programs.c273 _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()
Dtest-engine.c91 _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()
Dtest-execute.c1231 _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/
Dsysv-generator-test.py35 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: