]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/meson.build
Merge pull request #6790 from poettering/unit-unsetenv
[thirdparty/systemd.git] / test / meson.build
1 test_data_files = '''
2 a.service
3 basic.target
4 b.service
5 c.service
6 daughter.service
7 d.service
8 end.service
9 e.service
10 f.service
11 grandchild.service
12 g.service
13 hello-after-sleep.target
14 hello.service
15 h.service
16 parent-deep.slice
17 parent.slice
18 sched_idle_bad.service
19 sched_idle_ok.service
20 sched_rr_bad.service
21 sched_rr_change.service
22 sched_rr_ok.service
23 shutdown.target
24 sleep.service
25 sockets.target
26 son.service
27 sysinit.target
28 testsuite.target
29 timers.target
30 unstoppable.service
31 test-path/paths.target
32 test-path/basic.target
33 test-path/sysinit.target
34 test-path/path-changed.service
35 test-path/path-directorynotempty.service
36 test-path/path-existsglob.service
37 test-path/path-exists.service
38 test-path/path-makedirectory.service
39 test-path/path-modified.service
40 test-path/path-mycustomunit.service
41 test-path/path-service.service
42 test-path/path-changed.path
43 test-path/path-directorynotempty.path
44 test-path/path-existsglob.path
45 test-path/path-exists.path
46 test-path/path-makedirectory.path
47 test-path/path-modified.path
48 test-path/path-unit.path
49 test-execute/exec-environment-empty.service
50 test-execute/exec-environment-multiple.service
51 test-execute/exec-environment.service
52 test-execute/exec-passenvironment-absent.service
53 test-execute/exec-passenvironment-empty.service
54 test-execute/exec-passenvironment-repeated.service
55 test-execute/exec-passenvironment.service
56 test-execute/exec-group.service
57 test-execute/exec-group-nfsnobody.service
58 test-execute/exec-supplementarygroups.service
59 test-execute/exec-supplementarygroups-single-group.service
60 test-execute/exec-supplementarygroups-single-group-user.service
61 test-execute/exec-supplementarygroups-multiple-groups-default-group-user.service
62 test-execute/exec-supplementarygroups-multiple-groups-withgid.service
63 test-execute/exec-supplementarygroups-multiple-groups-withuid.service
64 test-execute/exec-dynamicuser-fixeduser.service
65 test-execute/exec-dynamicuser-fixeduser-one-supplementarygroup.service
66 test-execute/exec-dynamicuser-supplementarygroups.service
67 test-execute/exec-ignoresigpipe-no.service
68 test-execute/exec-ignoresigpipe-yes.service
69 test-execute/exec-personality-x86-64.service
70 test-execute/exec-personality-x86.service
71 test-execute/exec-personality-s390.service
72 test-execute/exec-personality-ppc64.service
73 test-execute/exec-personality-ppc64le.service
74 test-execute/exec-personality-aarch64.service
75 test-execute/exec-privatedevices-no.service
76 test-execute/exec-privatedevices-yes.service
77 test-execute/exec-privatedevices-no-capability-mknod.service
78 test-execute/exec-privatedevices-yes-capability-mknod.service
79 test-execute/exec-protectkernelmodules-no-capabilities.service
80 test-execute/exec-protectkernelmodules-yes-capabilities.service
81 test-execute/exec-protectkernelmodules-yes-mount-propagation.service
82 test-execute/exec-privatetmp-no.service
83 test-execute/exec-privatetmp-yes.service
84 test-execute/exec-readonlypaths.service
85 test-execute/exec-readonlypaths-mount-propagation.service
86 test-execute/exec-readwritepaths-mount-propagation.service
87 test-execute/exec-inaccessiblepaths-mount-propagation.service
88 test-execute/exec-inaccessiblepaths-proc.service
89 test-execute/exec-spec-interpolation.service
90 test-execute/exec-systemcallerrornumber.service
91 test-execute/exec-systemcallfilter-failing2.service
92 test-execute/exec-systemcallfilter-failing.service
93 test-execute/exec-systemcallfilter-not-failing2.service
94 test-execute/exec-systemcallfilter-not-failing.service
95 test-execute/exec-systemcallfilter-system-user.service
96 test-execute/exec-systemcallfilter-system-user-nfsnobody.service
97 test-execute/exec-unset-environment.service
98 test-execute/exec-user.service
99 test-execute/exec-user-nfsnobody.service
100 test-execute/exec-workingdirectory.service
101 test-execute/exec-umask-0177.service
102 test-execute/exec-umask-default.service
103 test-execute/exec-privatenetwork-yes.service
104 test-execute/exec-environmentfile.service
105 test-execute/exec-oomscoreadjust-positive.service
106 test-execute/exec-oomscoreadjust-negative.service
107 test-execute/exec-ioschedulingclass-best-effort.service
108 test-execute/exec-ioschedulingclass-idle.service
109 test-execute/exec-ioschedulingclass-none.service
110 test-execute/exec-ioschedulingclass-realtime.service
111 test-execute/exec-capabilityboundingset-invert.service
112 test-execute/exec-capabilityboundingset-merge.service
113 test-execute/exec-capabilityboundingset-reset.service
114 test-execute/exec-capabilityboundingset-simple.service
115 test-execute/exec-capabilityambientset.service
116 test-execute/exec-capabilityambientset-nfsnobody.service
117 test-execute/exec-capabilityambientset-merge.service
118 test-execute/exec-capabilityambientset-merge-nfsnobody.service
119 test-execute/exec-runtimedirectory.service
120 test-execute/exec-runtimedirectory-mode.service
121 test-execute/exec-runtimedirectory-owner.service
122 test-execute/exec-runtimedirectory-owner-nfsnobody.service
123 test-execute/exec-restrict-namespaces-no.service
124 test-execute/exec-restrict-namespaces-yes.service
125 test-execute/exec-restrict-namespaces-mnt.service
126 test-execute/exec-restrict-namespaces-mnt-blacklist.service
127 test-execute/exec-read-only-path-succeed.service
128 test-execute/exec-privatedevices-yes-capability-sys-rawio.service
129 test-execute/exec-privatedevices-no-capability-sys-rawio.service
130 hwdb/10-bad.hwdb
131 journal-data/journal-1.txt
132 journal-data/journal-2.txt
133 '''.split()
134
135 if conf.get('ENABLE_RESOLVED', false)
136 test_data_files += '''
137 test-resolve/_openpgpkey.fedoraproject.org.pkts
138 test-resolve/fedoraproject.org.pkts
139 test-resolve/gandi.net.pkts
140 test-resolve/google.com.pkts
141 test-resolve/root.pkts
142 test-resolve/sw1a1aa-sw1a2aa-sw1a2ab-sw1a2ac.find.me.uk.pkts
143 test-resolve/teamits.com.pkts
144 test-resolve/zbyszek@fedoraproject.org.pkts
145 test-resolve/_443._tcp.fedoraproject.org.pkts
146 test-resolve/kyhwana.org.pkts
147 test-resolve/fake-caa.pkts
148 '''.split()
149 endif
150
151 if install_tests
152 foreach file : test_data_files
153 subdir = file.split('/')[0]
154 if subdir == file
155 subdir = ''
156 endif
157
158 install_data(file,
159 install_dir : testsdir + '/testdata/' + subdir)
160 endforeach
161 endif
162
163 ############################################################
164
165 sysv_generator_test_py = find_program('sysv-generator-test.py')
166 test('sysv-generator-test',
167 sysv_generator_test_py)