Merge lp:~online-accounts/libaccounts-glib/packaging into lp:libaccounts-glib
- packaging
- Merge into trunk
Status: | Merged |
---|---|
Approved by: | David Barth |
Approved revision: | no longer in the source branch. |
Merged at revision: | 194 |
Proposed branch: | lp:~online-accounts/libaccounts-glib/packaging |
Merge into: | lp:libaccounts-glib |
Diff against target: |
736 lines (+299/-168) 29 files modified
NEWS (+29/-0) configure.ac (+2/-1) debian/changelog (+13/-0) libaccounts-glib/ag-manager.c (+16/-1) libaccounts-glib/ag-util.c (+15/-1) tests/Gallery.application (+0/-17) tests/Mailer.application (+0/-12) tests/Makefile.am (+3/-14) tests/MyProvider.provider (+0/-19) tests/MyService.service (+0/-22) tests/MyService2.service (+0/-15) tests/OtherService.service (+0/-22) tests/accounts-glib-test.sh (+4/-4) tests/applications/Mailer.desktop (+0/-8) tests/check_ag.c (+51/-0) tests/data/Makefile.am (+11/-0) tests/data/accounts/applications/Gallery.application (+17/-0) tests/data/accounts/applications/Mailer.application (+12/-0) tests/data/accounts/providers/MyProvider.provider (+19/-0) tests/data/accounts/providers/fake-os/MyProvider.provider (+8/-0) tests/data/accounts/providers/maemo.provider (+17/-0) tests/data/accounts/service-types/e-mail.service-type (+11/-0) tests/data/accounts/services/MyService.service (+22/-0) tests/data/accounts/services/MyService2.service (+15/-0) tests/data/accounts/services/OtherService.service (+22/-0) tests/data/applications/Mailer.desktop (+8/-0) tests/e-mail.service-type (+0/-11) tests/maemo.provider (+0/-17) tests/xml-dtd-validate.sh (+4/-4) |
To merge this branch: | bzr merge lp:~online-accounts/libaccounts-glib/packaging |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Online Accounts | Pending | ||
Review via email: mp+286621@code.launchpad.net |
Commit message
New upstream release
- Support desktop-specific overrides for service and providers files:
desktops can define service and providers files in
/usr/
and these would override any files having the same name in the parent
(default) directory (LP: #1451728)
- Fix endianness issues
https:/
Description of the change
New upstream release
- Support desktop-specific overrides for service and providers files:
desktops can define service and providers files in
/usr/
and these would override any files having the same name in the parent
(default) directory (LP: #1451728)
- Fix endianness issues
https:/
- 194. By Alberto Mardegan
-
New upstream release
- Support desktop-specific overrides for service and providers files:
desktops can define service and providers files in
/usr/share/accounts/ {providers, services} /$XDG_CURRENT_ DESKTOP
and these would override any files having the same name in the parent
(default) directory (LP: #1451728)
- Fix endianness issues
https://gitlab. com/accounts- sso/libaccounts -glib/issues/ 2
Fixes: #1451728
Preview Diff
1 | === modified file 'NEWS' | |||
2 | --- NEWS 2014-09-01 13:14:34 +0000 | |||
3 | +++ NEWS 2016-02-19 10:06:27 +0000 | |||
4 | @@ -1,5 +1,34 @@ | |||
5 | 1 | libaccounts-glib NEWS | 1 | libaccounts-glib NEWS |
6 | 2 | 2 | ||
7 | 3 | Version 1.21 | ||
8 | 4 | ------------ | ||
9 | 5 | |||
10 | 6 | * Fix installation of test data files | ||
11 | 7 | |||
12 | 8 | Version 1.20 | ||
13 | 9 | ------------ | ||
14 | 10 | |||
15 | 11 | * Support desktop-specific overrides for service and providers files: | ||
16 | 12 | desktops can define service and providers files in | ||
17 | 13 | /usr/share/accounts/{providers,services}/$XDG_CURRENT_DESKTOP | ||
18 | 14 | and these would override any files having the same name in the parent | ||
19 | 15 | (default) directory. | ||
20 | 16 | * Fix endianness issues | ||
21 | 17 | https://gitlab.com/accounts-sso/libaccounts-glib/issues/2 | ||
22 | 18 | |||
23 | 19 | Version 1.19 | ||
24 | 20 | ------------ | ||
25 | 21 | |||
26 | 22 | * Build: ignore deprecations of GSimpleAsyncResult | ||
27 | 23 | * Build: don't emit a build error on deprecations | ||
28 | 24 | * Coverage: allow lcov versions up to 1.11 | ||
29 | 25 | * Build: fix handling of coverage flags | ||
30 | 26 | * Build: fix build errors when building with clang | ||
31 | 27 | * Update account ID after a remotely-executed store | ||
32 | 28 | * Vala: add allow-none and update VAPI file | ||
33 | 29 | https://code.google.com/p/accounts-sso/issues/detail?id=241 | ||
34 | 30 | * Build: multiarch fixes | ||
35 | 31 | |||
36 | 3 | Version 1.18 | 32 | Version 1.18 |
37 | 4 | ------------ | 33 | ------------ |
38 | 5 | 34 | ||
39 | 6 | 35 | ||
40 | === modified file 'configure.ac' | |||
41 | --- configure.ac 2015-12-08 14:43:26 +0000 | |||
42 | +++ configure.ac 2016-02-19 10:06:27 +0000 | |||
43 | @@ -1,7 +1,7 @@ | |||
44 | 1 | dnl Process this file with autoconf to produce a configure script. | 1 | dnl Process this file with autoconf to produce a configure script. |
45 | 2 | AC_PREREQ([2.64]) | 2 | AC_PREREQ([2.64]) |
46 | 3 | AC_INIT([libaccounts-glib], | 3 | AC_INIT([libaccounts-glib], |
48 | 4 | [1.19], | 4 | [1.21], |
49 | 5 | [https://gitlab.com/accounts-sso/libaccounts-glib/issues], | 5 | [https://gitlab.com/accounts-sso/libaccounts-glib/issues], |
50 | 6 | [libaccounts-glib], | 6 | [libaccounts-glib], |
51 | 7 | [https://gitlab.com/accounts-sso/libaccounts-glib]) | 7 | [https://gitlab.com/accounts-sso/libaccounts-glib]) |
52 | @@ -190,6 +190,7 @@ | |||
53 | 190 | docs/reference/version.xml | 190 | docs/reference/version.xml |
54 | 191 | pygobject/Makefile | 191 | pygobject/Makefile |
55 | 192 | tests/Makefile | 192 | tests/Makefile |
56 | 193 | tests/data/Makefile | ||
57 | 193 | tools/Makefile | 194 | tools/Makefile |
58 | 194 | ]) | 195 | ]) |
59 | 195 | AC_OUTPUT | 196 | AC_OUTPUT |
60 | 196 | 197 | ||
61 | === modified file 'debian/changelog' | |||
62 | --- debian/changelog 2015-12-21 08:57:49 +0000 | |||
63 | +++ debian/changelog 2016-02-19 10:06:27 +0000 | |||
64 | @@ -1,3 +1,16 @@ | |||
65 | 1 | libaccounts-glib (1.21-0ubuntu1) UNRELEASED; urgency=medium | ||
66 | 2 | |||
67 | 3 | * New upstream release | ||
68 | 4 | - Support desktop-specific overrides for service and providers files: | ||
69 | 5 | desktops can define service and providers files in | ||
70 | 6 | /usr/share/accounts/{providers,services}/$XDG_CURRENT_DESKTOP | ||
71 | 7 | and these would override any files having the same name in the parent | ||
72 | 8 | (default) directory (LP: #1451728) | ||
73 | 9 | - Fix endianness issues | ||
74 | 10 | https://gitlab.com/accounts-sso/libaccounts-glib/issues/2 | ||
75 | 11 | |||
76 | 12 | -- Alberto Mardegan <alberto.mardegan@canonical.com> Fri, 19 Feb 2016 13:00:19 +0300 | ||
77 | 13 | |||
78 | 1 | libaccounts-glib (1.19+16.04.20151221-0ubuntu1) xenial; urgency=medium | 14 | libaccounts-glib (1.19+16.04.20151221-0ubuntu1) xenial; urgency=medium |
79 | 2 | 15 | ||
80 | 3 | [ Alberto Mardegan ] | 16 | [ Alberto Mardegan ] |
81 | 4 | 17 | ||
82 | === modified file 'libaccounts-glib/ag-manager.c' | |||
83 | --- libaccounts-glib/ag-manager.c 2015-12-18 15:16:14 +0000 | |||
84 | +++ libaccounts-glib/ag-manager.c 2016-02-19 10:06:27 +0000 | |||
85 | @@ -384,7 +384,7 @@ | |||
86 | 384 | GList *file_list; | 384 | GList *file_list; |
87 | 385 | const gchar * const *dirs; | 385 | const gchar * const *dirs; |
88 | 386 | const gchar *env_dirname, *datadir; | 386 | const gchar *env_dirname, *datadir; |
90 | 387 | gchar *dirname; | 387 | gchar *dirname, *desktop_override = NULL; |
91 | 388 | 388 | ||
92 | 389 | loaded_files = g_hash_table_new_full (g_str_hash, g_str_equal, | 389 | loaded_files = g_hash_table_new_full (g_str_hash, g_str_equal, |
93 | 390 | g_free, NULL); | 390 | g_free, NULL); |
94 | @@ -407,9 +407,23 @@ | |||
95 | 407 | g_free (dirname); | 407 | g_free (dirname); |
96 | 408 | } | 408 | } |
97 | 409 | 409 | ||
98 | 410 | /* Check what desktop is this running on */ | ||
99 | 411 | env_dirname = g_getenv ("XDG_CURRENT_DESKTOP"); | ||
100 | 412 | if (env_dirname) | ||
101 | 413 | desktop_override = g_ascii_strdown (env_dirname, -1); | ||
102 | 414 | |||
103 | 410 | dirs = g_get_system_data_dirs (); | 415 | dirs = g_get_system_data_dirs (); |
104 | 411 | for (datadir = *dirs; datadir != NULL; dirs++, datadir = *dirs) | 416 | for (datadir = *dirs; datadir != NULL; dirs++, datadir = *dirs) |
105 | 412 | { | 417 | { |
106 | 418 | /* Check first if desktop override files exist and if yes, load them first */ | ||
107 | 419 | if (desktop_override) | ||
108 | 420 | { | ||
109 | 421 | dirname = g_build_filename (datadir, subdir, desktop_override, NULL); | ||
110 | 422 | add_data_files_from_dir (manager, dirname, loaded_files, suffix, | ||
111 | 423 | load_file_func); | ||
112 | 424 | g_free (dirname); | ||
113 | 425 | } | ||
114 | 426 | |||
115 | 413 | dirname = g_build_filename (datadir, subdir, NULL); | 427 | dirname = g_build_filename (datadir, subdir, NULL); |
116 | 414 | add_data_files_from_dir (manager, dirname, loaded_files, suffix, | 428 | add_data_files_from_dir (manager, dirname, loaded_files, suffix, |
117 | 415 | load_file_func); | 429 | load_file_func); |
118 | @@ -419,6 +433,7 @@ | |||
119 | 419 | finish: | 433 | finish: |
120 | 420 | file_list = g_hash_table_get_values (loaded_files); | 434 | file_list = g_hash_table_get_values (loaded_files); |
121 | 421 | g_hash_table_unref (loaded_files); | 435 | g_hash_table_unref (loaded_files); |
122 | 436 | g_free (desktop_override); | ||
123 | 422 | 437 | ||
124 | 423 | return file_list; | 438 | return file_list; |
125 | 424 | } | 439 | } |
126 | 425 | 440 | ||
127 | === modified file 'libaccounts-glib/ag-util.c' | |||
128 | --- libaccounts-glib/ag-util.c 2014-01-03 13:25:25 +0000 | |||
129 | +++ libaccounts-glib/ag-util.c 2016-02-19 10:06:27 +0000 | |||
130 | @@ -577,7 +577,7 @@ | |||
131 | 577 | const gchar * const *dirs; | 577 | const gchar * const *dirs; |
132 | 578 | const gchar *dirname; | 578 | const gchar *dirname; |
133 | 579 | const gchar *env_dirname; | 579 | const gchar *env_dirname; |
135 | 580 | gchar *filename, *filepath; | 580 | gchar *filename, *filepath, *desktop_override = NULL; |
136 | 581 | 581 | ||
137 | 582 | filename = g_strconcat (file_id, suffix, NULL); | 582 | filename = g_strconcat (file_id, suffix, NULL); |
138 | 583 | env_dirname = g_getenv (env_var); | 583 | env_dirname = g_getenv (env_var); |
139 | @@ -598,9 +598,22 @@ | |||
140 | 598 | g_free (filepath); | 598 | g_free (filepath); |
141 | 599 | } | 599 | } |
142 | 600 | 600 | ||
143 | 601 | /* Check what desktop is this running on */ | ||
144 | 602 | env_dirname = g_getenv ("XDG_CURRENT_DESKTOP"); | ||
145 | 603 | if (env_dirname) | ||
146 | 604 | desktop_override = g_ascii_strdown (env_dirname, -1); | ||
147 | 605 | |||
148 | 601 | dirs = g_get_system_data_dirs (); | 606 | dirs = g_get_system_data_dirs (); |
149 | 602 | for (dirname = *dirs; dirname != NULL; dirs++, dirname = *dirs) | 607 | for (dirname = *dirs; dirname != NULL; dirs++, dirname = *dirs) |
150 | 603 | { | 608 | { |
151 | 609 | /* Check first if desktop override files exist and if yes, load them first */ | ||
152 | 610 | if (desktop_override) | ||
153 | 611 | { | ||
154 | 612 | filepath = g_build_filename (dirname, subdir, desktop_override, filename, NULL); | ||
155 | 613 | if (g_file_test (filepath, G_FILE_TEST_IS_REGULAR)) | ||
156 | 614 | goto found; | ||
157 | 615 | g_free (filepath); | ||
158 | 616 | } | ||
159 | 604 | filepath = g_build_filename (dirname, subdir, filename, NULL); | 617 | filepath = g_build_filename (dirname, subdir, filename, NULL); |
160 | 605 | if (g_file_test (filepath, G_FILE_TEST_IS_REGULAR)) | 618 | if (g_file_test (filepath, G_FILE_TEST_IS_REGULAR)) |
161 | 606 | goto found; | 619 | goto found; |
162 | @@ -609,6 +622,7 @@ | |||
163 | 609 | 622 | ||
164 | 610 | filepath = NULL; | 623 | filepath = NULL; |
165 | 611 | found: | 624 | found: |
166 | 625 | g_free (desktop_override); | ||
167 | 612 | g_free (filename); | 626 | g_free (filename); |
168 | 613 | return filepath; | 627 | return filepath; |
169 | 614 | } | 628 | } |
170 | 615 | 629 | ||
171 | === removed file 'tests/Gallery.application' | |||
172 | --- tests/Gallery.application 2012-01-31 08:04:15 +0000 | |||
173 | +++ tests/Gallery.application 1970-01-01 00:00:00 +0000 | |||
174 | @@ -1,17 +0,0 @@ | |||
175 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
176 | 2 | <application id="Gallery"> | ||
177 | 3 | <description>Image gallery</description> | ||
178 | 4 | |||
179 | 5 | <services> | ||
180 | 6 | <service id="OtherService"> | ||
181 | 7 | <description>Publish images on OtherService</description> | ||
182 | 8 | </service> | ||
183 | 9 | </services> | ||
184 | 10 | |||
185 | 11 | <service-types> | ||
186 | 12 | <service-type id="sharing"> | ||
187 | 13 | <description>Share your images with your friends</description> | ||
188 | 14 | </service-type> | ||
189 | 15 | </service-types> | ||
190 | 16 | |||
191 | 17 | </application> | ||
192 | 18 | 0 | ||
193 | === removed file 'tests/Mailer.application' | |||
194 | --- tests/Mailer.application 2012-01-31 08:04:15 +0000 | |||
195 | +++ tests/Mailer.application 1970-01-01 00:00:00 +0000 | |||
196 | @@ -1,12 +0,0 @@ | |||
197 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
198 | 2 | <application id="Mailer"> | ||
199 | 3 | <description>Mailer application</description> | ||
200 | 4 | <translations>mailer-catalog</translations> | ||
201 | 5 | |||
202 | 6 | <service-types> | ||
203 | 7 | <service-type id="e-mail"> | ||
204 | 8 | <description>Mailer can retrieve your e-mails</description> | ||
205 | 9 | </service-type> | ||
206 | 10 | </service-types> | ||
207 | 11 | |||
208 | 12 | </application> | ||
209 | 13 | 0 | ||
210 | === modified file 'tests/Makefile.am' | |||
211 | --- tests/Makefile.am 2014-10-31 15:33:52 +0000 | |||
212 | +++ tests/Makefile.am 2016-02-19 10:06:27 +0000 | |||
213 | @@ -1,5 +1,7 @@ | |||
214 | 1 | ## Process this file with automake to produce Makefile.in | 1 | ## Process this file with automake to produce Makefile.in |
215 | 2 | 2 | ||
216 | 3 | SUBDIRS = data | ||
217 | 4 | |||
218 | 3 | AM_CPPFLAGS = -I$(top_srcdir) | 5 | AM_CPPFLAGS = -I$(top_srcdir) |
219 | 4 | 6 | ||
220 | 5 | test_PROGRAMS = \ | 7 | test_PROGRAMS = \ |
221 | @@ -52,7 +54,7 @@ | |||
222 | 52 | 54 | ||
223 | 53 | TESTS_ENVIRONMENT = \ | 55 | TESTS_ENVIRONMENT = \ |
224 | 54 | DTDDIR=$(top_srcdir)/libaccounts-glib/; export DTDDIR; \ | 56 | DTDDIR=$(top_srcdir)/libaccounts-glib/; export DTDDIR; \ |
226 | 55 | TESTDATADIR=$(top_srcdir)/tests/; export TESTDATADIR; \ | 57 | TESTDATADIR=$(top_srcdir)/tests/data; export TESTDATADIR; \ |
227 | 56 | TESTDIR=$(top_srcdir)/tests/; export TESTDIR; \ | 58 | TESTDIR=$(top_srcdir)/tests/; export TESTDIR; \ |
228 | 57 | XMLLINT=$(XMLLINT); export XMLLINT; \ | 59 | XMLLINT=$(XMLLINT); export XMLLINT; \ |
229 | 58 | abs_top_builddir=$(abs_top_builddir); export abs_top_builddir; | 60 | abs_top_builddir=$(abs_top_builddir); export abs_top_builddir; |
230 | @@ -72,19 +74,6 @@ | |||
231 | 72 | test_DATA = \ | 74 | test_DATA = \ |
232 | 73 | tests.xml | 75 | tests.xml |
233 | 74 | 76 | ||
234 | 75 | dist_testdata_DATA = \ | ||
235 | 76 | e-mail.service-type \ | ||
236 | 77 | Gallery.application \ | ||
237 | 78 | Mailer.application \ | ||
238 | 79 | MyProvider.provider \ | ||
239 | 80 | MyService.service \ | ||
240 | 81 | MyService2.service \ | ||
241 | 82 | OtherService.service \ | ||
242 | 83 | maemo.provider | ||
243 | 84 | |||
244 | 85 | nobase_dist_testdata_DATA = \ | ||
245 | 86 | applications/Mailer.desktop | ||
246 | 87 | |||
247 | 88 | installcheck-local: $(TESTS) | 77 | installcheck-local: $(TESTS) |
248 | 89 | cd "$(testdir)" && TESTDATADIR="$(testdatadir)" ./accounts-glib-test.sh | 78 | cd "$(testdir)" && TESTDATADIR="$(testdatadir)" ./accounts-glib-test.sh |
249 | 90 | 79 | ||
250 | 91 | 80 | ||
251 | === removed file 'tests/MyProvider.provider' | |||
252 | --- tests/MyProvider.provider 2013-10-15 11:49:25 +0000 | |||
253 | +++ tests/MyProvider.provider 1970-01-01 00:00:00 +0000 | |||
254 | @@ -1,19 +0,0 @@ | |||
255 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
256 | 2 | <provider id="MyProvider"> | ||
257 | 3 | <name>My Provider</name> | ||
258 | 4 | <description>My Provider Description</description> | ||
259 | 5 | <translations>provider_i18n</translations> | ||
260 | 6 | <icon>general_myprovider</icon> | ||
261 | 7 | <domains>.*provider\.com</domains> | ||
262 | 8 | <plugin>oauth2</plugin> | ||
263 | 9 | <single-account>true</single-account> | ||
264 | 10 | |||
265 | 11 | <!-- default settings (account settings have precedence over these) --> | ||
266 | 12 | <template> | ||
267 | 13 | <group name="login"> | ||
268 | 14 | <setting name="server">login.example.com</setting> | ||
269 | 15 | <setting name="remember-me" type="b">true</setting> | ||
270 | 16 | </group> | ||
271 | 17 | <setting name="color">green</setting> | ||
272 | 18 | </template> | ||
273 | 19 | </provider> | ||
274 | 20 | 0 | ||
275 | === removed file 'tests/MyService.service' | |||
276 | --- tests/MyService.service 2013-10-15 11:49:25 +0000 | |||
277 | +++ tests/MyService.service 1970-01-01 00:00:00 +0000 | |||
278 | @@ -1,22 +0,0 @@ | |||
279 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
280 | 2 | <service id="MyService"> | ||
281 | 3 | <type>e-mail</type> | ||
282 | 4 | <name>My Service</name> | ||
283 | 5 | <description>My Service Description</description> | ||
284 | 6 | <icon>general_myservice</icon> | ||
285 | 7 | <provider>maemo</provider> | ||
286 | 8 | <translations>myservice_i18n</translations> | ||
287 | 9 | |||
288 | 10 | <!-- default settings (account settings have precedence over these) --> | ||
289 | 11 | <template> | ||
290 | 12 | <group name="parameters"> | ||
291 | 13 | <setting name="server">talk.google.com</setting> | ||
292 | 14 | <setting name="port" type="i">5223</setting> | ||
293 | 15 | <setting name="old-ssl" type="b">true</setting> | ||
294 | 16 | <setting name="fallback-conference-server">conference.jabber.org</setting> | ||
295 | 17 | <setting name="capabilities" type="as">["chat", "file", "smileys"]</setting> | ||
296 | 18 | </group> | ||
297 | 19 | <setting name="enabled" type="b">true</setting> | ||
298 | 20 | </template> | ||
299 | 21 | |||
300 | 22 | </service> | ||
301 | 23 | 0 | ||
302 | === removed file 'tests/MyService2.service' | |||
303 | --- tests/MyService2.service 2011-06-30 07:25:14 +0000 | |||
304 | +++ tests/MyService2.service 1970-01-01 00:00:00 +0000 | |||
305 | @@ -1,15 +0,0 @@ | |||
306 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
307 | 2 | <service id="MyService2"> | ||
308 | 3 | <type>calendar</type> | ||
309 | 4 | <name>My Service #2</name> | ||
310 | 5 | <icon>general_myservice2</icon> | ||
311 | 6 | <provider>maemo</provider> | ||
312 | 7 | |||
313 | 8 | <!-- default settings (account settings have precedence over these) --> | ||
314 | 9 | <template> | ||
315 | 10 | <group name="parameters"> | ||
316 | 11 | <setting name="server">youtube.com</setting> | ||
317 | 12 | </group> | ||
318 | 13 | </template> | ||
319 | 14 | |||
320 | 15 | </service> | ||
321 | 16 | 0 | ||
322 | === removed file 'tests/OtherService.service' | |||
323 | --- tests/OtherService.service 2012-10-10 15:00:00 +0000 | |||
324 | +++ tests/OtherService.service 1970-01-01 00:00:00 +0000 | |||
325 | @@ -1,22 +0,0 @@ | |||
326 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
327 | 2 | <service id="OtherService"> | ||
328 | 3 | <type>sharing</type> | ||
329 | 4 | <name>Other Service</name> | ||
330 | 5 | <icon>general_otherservice</icon> | ||
331 | 6 | <provider>other_provider</provider> | ||
332 | 7 | <tags> | ||
333 | 8 | <tag>video</tag> | ||
334 | 9 | <tag>sharing</tag> | ||
335 | 10 | </tags> | ||
336 | 11 | |||
337 | 12 | <!-- default settings (account settings have precedence over these) --> | ||
338 | 13 | <template> | ||
339 | 14 | <group name="parameters"> | ||
340 | 15 | <setting name="server">talk.google.com</setting> | ||
341 | 16 | <setting name="port" type="i">5223</setting> | ||
342 | 17 | <setting name="old-ssl" type="b">true</setting> | ||
343 | 18 | <setting name="fallback-conference-server">conference.jabber.org</setting> | ||
344 | 19 | </group> | ||
345 | 20 | </template> | ||
346 | 21 | |||
347 | 22 | </service> | ||
348 | 23 | 0 | ||
349 | === modified file 'tests/accounts-glib-test.sh' | |||
350 | --- tests/accounts-glib-test.sh 2014-01-03 16:33:07 +0000 | |||
351 | +++ tests/accounts-glib-test.sh 2016-02-19 10:06:27 +0000 | |||
352 | @@ -1,9 +1,9 @@ | |||
353 | 1 | #!/bin/sh | 1 | #!/bin/sh |
354 | 2 | 2 | ||
359 | 3 | export AG_APPLICATIONS=$TESTDATADIR | 3 | export AG_APPLICATIONS=$TESTDATADIR/accounts/applications |
360 | 4 | export AG_SERVICES=$TESTDATADIR | 4 | export AG_SERVICES=$TESTDATADIR/accounts/services |
361 | 5 | export AG_SERVICE_TYPES=$TESTDATADIR | 5 | export AG_SERVICE_TYPES=$TESTDATADIR/accounts/service-types |
362 | 6 | export AG_PROVIDERS=$TESTDATADIR | 6 | export AG_PROVIDERS=$TESTDATADIR/accounts/providers |
363 | 7 | export ACCOUNTS=/tmp/ | 7 | export ACCOUNTS=/tmp/ |
364 | 8 | export AG_DEBUG=all | 8 | export AG_DEBUG=all |
365 | 9 | export G_MESSAGES_DEBUG=all | 9 | export G_MESSAGES_DEBUG=all |
366 | 10 | 10 | ||
367 | === removed directory 'tests/applications' | |||
368 | === removed file 'tests/applications/Mailer.desktop' | |||
369 | --- tests/applications/Mailer.desktop 2013-06-14 08:26:06 +0000 | |||
370 | +++ tests/applications/Mailer.desktop 1970-01-01 00:00:00 +0000 | |||
371 | @@ -1,8 +0,0 @@ | |||
372 | 1 | [Desktop Entry] | ||
373 | 2 | Name=Easy Mailer | ||
374 | 3 | Comment=Send and receive mail | ||
375 | 4 | Exec=/bin/sh | ||
376 | 5 | Icon=mailer-icon | ||
377 | 6 | Terminal=false | ||
378 | 7 | Type=Application | ||
379 | 8 | Categories=Application;Network;Email; | ||
380 | 9 | 0 | ||
381 | === modified file 'tests/check_ag.c' | |||
382 | --- tests/check_ag.c 2015-12-17 10:47:26 +0000 | |||
383 | +++ tests/check_ag.c 2016-02-19 10:06:27 +0000 | |||
384 | @@ -416,6 +416,56 @@ | |||
385 | 416 | } | 416 | } |
386 | 417 | END_TEST | 417 | END_TEST |
387 | 418 | 418 | ||
388 | 419 | START_TEST(test_provider_directories) | ||
389 | 420 | { | ||
390 | 421 | AgProvider *provider; | ||
391 | 422 | gchar *ag_providers_env; | ||
392 | 423 | gchar *xdg_data_home_env, *xdg_data_dirs_env; | ||
393 | 424 | |||
394 | 425 | /* Unset the AG_PROVIDERS environment variable, just for this test, as | ||
395 | 426 | * that disables the fallback mechanism which we now want to test. */ | ||
396 | 427 | ag_providers_env = g_strdup (g_getenv ("AG_PROVIDERS")); | ||
397 | 428 | g_unsetenv ("AG_PROVIDERS"); | ||
398 | 429 | /* Disable also XDG_DATA_HOME, but reuse its value for XDG_DATA_DIRS | ||
399 | 430 | * which is where the fallback mechanism is implemented. */ | ||
400 | 431 | xdg_data_home_env = g_strdup (g_getenv ("XDG_DATA_HOME")); | ||
401 | 432 | g_unsetenv ("XDG_DATA_HOME"); | ||
402 | 433 | g_setenv ("XDG_DATA_DIRS", xdg_data_home_env, TRUE); | ||
403 | 434 | |||
404 | 435 | /* check that the expected MyProvider file is loaded */ | ||
405 | 436 | g_unsetenv ("XDG_CURRENT_DESKTOP"); | ||
406 | 437 | manager = ag_manager_new (); | ||
407 | 438 | |||
408 | 439 | provider = ag_manager_get_provider (manager, "MyProvider"); | ||
409 | 440 | fail_unless (provider != NULL); | ||
410 | 441 | ck_assert_str_eq (ag_provider_get_name (provider), "MyProvider"); | ||
411 | 442 | ck_assert_str_eq (ag_provider_get_display_name (provider), "My Provider"); | ||
412 | 443 | |||
413 | 444 | ag_provider_unref (provider); | ||
414 | 445 | g_object_unref (manager); | ||
415 | 446 | |||
416 | 447 | /* Now check a desktop-specific override */ | ||
417 | 448 | g_setenv ("XDG_CURRENT_DESKTOP", "Fake-OS", TRUE); | ||
418 | 449 | manager = ag_manager_new (); | ||
419 | 450 | |||
420 | 451 | provider = ag_manager_get_provider (manager, "MyProvider"); | ||
421 | 452 | fail_unless (provider != NULL); | ||
422 | 453 | ck_assert_str_eq (ag_provider_get_name (provider), "MyProvider"); | ||
423 | 454 | ck_assert_str_eq (ag_provider_get_display_name (provider), "FakeOs Provider"); | ||
424 | 455 | |||
425 | 456 | ag_provider_unref (provider); | ||
426 | 457 | g_object_unref (manager); | ||
427 | 458 | |||
428 | 459 | g_unsetenv ("XDG_DATA_DIRS"); | ||
429 | 460 | g_setenv ("XDG_DATA_HOME", xdg_data_home_env, TRUE); | ||
430 | 461 | g_free (xdg_data_home_env); | ||
431 | 462 | g_setenv ("AG_PROVIDERS", ag_providers_env, TRUE); | ||
432 | 463 | g_free (ag_providers_env); | ||
433 | 464 | manager = NULL; | ||
434 | 465 | end_test (); | ||
435 | 466 | } | ||
436 | 467 | END_TEST | ||
437 | 468 | |||
438 | 419 | void account_store_cb (AgAccount *account, const GError *error, | 469 | void account_store_cb (AgAccount *account, const GError *error, |
439 | 420 | gpointer user_data) | 470 | gpointer user_data) |
440 | 421 | { | 471 | { |
441 | @@ -3951,6 +4001,7 @@ | |||
442 | 3951 | tc = tcase_create("Provider"); | 4001 | tc = tcase_create("Provider"); |
443 | 3952 | tcase_add_test (tc, test_provider); | 4002 | tcase_add_test (tc, test_provider); |
444 | 3953 | tcase_add_test (tc, test_provider_settings); | 4003 | tcase_add_test (tc, test_provider_settings); |
445 | 4004 | tcase_add_test (tc, test_provider_directories); | ||
446 | 3954 | IF_TEST_CASE_ENABLED("Provider") | 4005 | IF_TEST_CASE_ENABLED("Provider") |
447 | 3955 | suite_add_tcase (s, tc); | 4006 | suite_add_tcase (s, tc); |
448 | 3956 | 4007 | ||
449 | 3957 | 4008 | ||
450 | === added directory 'tests/data' | |||
451 | === added file 'tests/data/Makefile.am' | |||
452 | --- tests/data/Makefile.am 1970-01-01 00:00:00 +0000 | |||
453 | +++ tests/data/Makefile.am 2016-02-19 10:06:27 +0000 | |||
454 | @@ -0,0 +1,11 @@ | |||
455 | 1 | nobase_dist_testdata_DATA = \ | ||
456 | 2 | accounts/applications/Gallery.application \ | ||
457 | 3 | accounts/applications/Mailer.application \ | ||
458 | 4 | accounts/providers/MyProvider.provider \ | ||
459 | 5 | accounts/providers/fake-os/MyProvider.provider \ | ||
460 | 6 | accounts/providers/maemo.provider \ | ||
461 | 7 | accounts/service-types/e-mail.service-type \ | ||
462 | 8 | accounts/services/MyService.service \ | ||
463 | 9 | accounts/services/MyService2.service \ | ||
464 | 10 | accounts/services/OtherService.service \ | ||
465 | 11 | applications/Mailer.desktop | ||
466 | 0 | 12 | ||
467 | === added directory 'tests/data/accounts' | |||
468 | === added directory 'tests/data/accounts/applications' | |||
469 | === added file 'tests/data/accounts/applications/Gallery.application' | |||
470 | --- tests/data/accounts/applications/Gallery.application 1970-01-01 00:00:00 +0000 | |||
471 | +++ tests/data/accounts/applications/Gallery.application 2016-02-19 10:06:27 +0000 | |||
472 | @@ -0,0 +1,17 @@ | |||
473 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
474 | 2 | <application id="Gallery"> | ||
475 | 3 | <description>Image gallery</description> | ||
476 | 4 | |||
477 | 5 | <services> | ||
478 | 6 | <service id="OtherService"> | ||
479 | 7 | <description>Publish images on OtherService</description> | ||
480 | 8 | </service> | ||
481 | 9 | </services> | ||
482 | 10 | |||
483 | 11 | <service-types> | ||
484 | 12 | <service-type id="sharing"> | ||
485 | 13 | <description>Share your images with your friends</description> | ||
486 | 14 | </service-type> | ||
487 | 15 | </service-types> | ||
488 | 16 | |||
489 | 17 | </application> | ||
490 | 0 | 18 | ||
491 | === added file 'tests/data/accounts/applications/Mailer.application' | |||
492 | --- tests/data/accounts/applications/Mailer.application 1970-01-01 00:00:00 +0000 | |||
493 | +++ tests/data/accounts/applications/Mailer.application 2016-02-19 10:06:27 +0000 | |||
494 | @@ -0,0 +1,12 @@ | |||
495 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
496 | 2 | <application id="Mailer"> | ||
497 | 3 | <description>Mailer application</description> | ||
498 | 4 | <translations>mailer-catalog</translations> | ||
499 | 5 | |||
500 | 6 | <service-types> | ||
501 | 7 | <service-type id="e-mail"> | ||
502 | 8 | <description>Mailer can retrieve your e-mails</description> | ||
503 | 9 | </service-type> | ||
504 | 10 | </service-types> | ||
505 | 11 | |||
506 | 12 | </application> | ||
507 | 0 | 13 | ||
508 | === added directory 'tests/data/accounts/providers' | |||
509 | === added file 'tests/data/accounts/providers/MyProvider.provider' | |||
510 | --- tests/data/accounts/providers/MyProvider.provider 1970-01-01 00:00:00 +0000 | |||
511 | +++ tests/data/accounts/providers/MyProvider.provider 2016-02-19 10:06:27 +0000 | |||
512 | @@ -0,0 +1,19 @@ | |||
513 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
514 | 2 | <provider id="MyProvider"> | ||
515 | 3 | <name>My Provider</name> | ||
516 | 4 | <description>My Provider Description</description> | ||
517 | 5 | <translations>provider_i18n</translations> | ||
518 | 6 | <icon>general_myprovider</icon> | ||
519 | 7 | <domains>.*provider\.com</domains> | ||
520 | 8 | <plugin>oauth2</plugin> | ||
521 | 9 | <single-account>true</single-account> | ||
522 | 10 | |||
523 | 11 | <!-- default settings (account settings have precedence over these) --> | ||
524 | 12 | <template> | ||
525 | 13 | <group name="login"> | ||
526 | 14 | <setting name="server">login.example.com</setting> | ||
527 | 15 | <setting name="remember-me" type="b">true</setting> | ||
528 | 16 | </group> | ||
529 | 17 | <setting name="color">green</setting> | ||
530 | 18 | </template> | ||
531 | 19 | </provider> | ||
532 | 0 | 20 | ||
533 | === added directory 'tests/data/accounts/providers/fake-os' | |||
534 | === added file 'tests/data/accounts/providers/fake-os/MyProvider.provider' | |||
535 | --- tests/data/accounts/providers/fake-os/MyProvider.provider 1970-01-01 00:00:00 +0000 | |||
536 | +++ tests/data/accounts/providers/fake-os/MyProvider.provider 2016-02-19 10:06:27 +0000 | |||
537 | @@ -0,0 +1,8 @@ | |||
538 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
539 | 2 | <provider id="MyProvider"> | ||
540 | 3 | <name>FakeOs Provider</name> | ||
541 | 4 | <description>My Provider Description</description> | ||
542 | 5 | <translations>provider_i18n</translations> | ||
543 | 6 | <icon>general_myprovider</icon> | ||
544 | 7 | <domains>.*provider\.com</domains> | ||
545 | 8 | </provider> | ||
546 | 0 | 9 | ||
547 | === added file 'tests/data/accounts/providers/maemo.provider' | |||
548 | --- tests/data/accounts/providers/maemo.provider 1970-01-01 00:00:00 +0000 | |||
549 | +++ tests/data/accounts/providers/maemo.provider 2016-02-19 10:06:27 +0000 | |||
550 | @@ -0,0 +1,17 @@ | |||
551 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
552 | 2 | <provider id="maemo"> | ||
553 | 3 | <name>Example provider</name> | ||
554 | 4 | <description>An example provider</description> | ||
555 | 5 | <icon>example</icon> | ||
556 | 6 | <domains>.*example\.com</domains> | ||
557 | 7 | <!-- default settings (account settings have precedence over these) --> | ||
558 | 8 | <template> | ||
559 | 9 | <setting name="auth/method">dummy-method</setting> | ||
560 | 10 | <setting name="auth/mechanism">dummy-mechanism</setting> | ||
561 | 11 | <group name="auth/dummy-method/dummy-mechanism"> | ||
562 | 12 | <setting name="id">879</setting> | ||
563 | 13 | <setting name="display">desktop</setting> | ||
564 | 14 | <setting name="from-provider">yes</setting> | ||
565 | 15 | </group> | ||
566 | 16 | </template> | ||
567 | 17 | </provider> | ||
568 | 0 | 18 | ||
569 | === added directory 'tests/data/accounts/service-types' | |||
570 | === added file 'tests/data/accounts/service-types/e-mail.service-type' | |||
571 | --- tests/data/accounts/service-types/e-mail.service-type 1970-01-01 00:00:00 +0000 | |||
572 | +++ tests/data/accounts/service-types/e-mail.service-type 2016-02-19 10:06:27 +0000 | |||
573 | @@ -0,0 +1,11 @@ | |||
574 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
575 | 2 | <service-type id="e-mail"> | ||
576 | 3 | <name>Electronic mail</name> | ||
577 | 4 | <description>Electronic mail description</description> | ||
578 | 5 | <icon>email_icon</icon> | ||
579 | 6 | <translations>translation_file</translations> | ||
580 | 7 | <tags> | ||
581 | 8 | <tag>e-mail</tag> | ||
582 | 9 | <tag>messaging</tag> | ||
583 | 10 | </tags> | ||
584 | 11 | </service-type> | ||
585 | 0 | 12 | ||
586 | === added directory 'tests/data/accounts/services' | |||
587 | === added file 'tests/data/accounts/services/MyService.service' | |||
588 | --- tests/data/accounts/services/MyService.service 1970-01-01 00:00:00 +0000 | |||
589 | +++ tests/data/accounts/services/MyService.service 2016-02-19 10:06:27 +0000 | |||
590 | @@ -0,0 +1,22 @@ | |||
591 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
592 | 2 | <service id="MyService"> | ||
593 | 3 | <type>e-mail</type> | ||
594 | 4 | <name>My Service</name> | ||
595 | 5 | <description>My Service Description</description> | ||
596 | 6 | <icon>general_myservice</icon> | ||
597 | 7 | <provider>maemo</provider> | ||
598 | 8 | <translations>myservice_i18n</translations> | ||
599 | 9 | |||
600 | 10 | <!-- default settings (account settings have precedence over these) --> | ||
601 | 11 | <template> | ||
602 | 12 | <group name="parameters"> | ||
603 | 13 | <setting name="server">talk.google.com</setting> | ||
604 | 14 | <setting name="port" type="i">5223</setting> | ||
605 | 15 | <setting name="old-ssl" type="b">true</setting> | ||
606 | 16 | <setting name="fallback-conference-server">conference.jabber.org</setting> | ||
607 | 17 | <setting name="capabilities" type="as">["chat", "file", "smileys"]</setting> | ||
608 | 18 | </group> | ||
609 | 19 | <setting name="enabled" type="b">true</setting> | ||
610 | 20 | </template> | ||
611 | 21 | |||
612 | 22 | </service> | ||
613 | 0 | 23 | ||
614 | === added file 'tests/data/accounts/services/MyService2.service' | |||
615 | --- tests/data/accounts/services/MyService2.service 1970-01-01 00:00:00 +0000 | |||
616 | +++ tests/data/accounts/services/MyService2.service 2016-02-19 10:06:27 +0000 | |||
617 | @@ -0,0 +1,15 @@ | |||
618 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
619 | 2 | <service id="MyService2"> | ||
620 | 3 | <type>calendar</type> | ||
621 | 4 | <name>My Service #2</name> | ||
622 | 5 | <icon>general_myservice2</icon> | ||
623 | 6 | <provider>maemo</provider> | ||
624 | 7 | |||
625 | 8 | <!-- default settings (account settings have precedence over these) --> | ||
626 | 9 | <template> | ||
627 | 10 | <group name="parameters"> | ||
628 | 11 | <setting name="server">youtube.com</setting> | ||
629 | 12 | </group> | ||
630 | 13 | </template> | ||
631 | 14 | |||
632 | 15 | </service> | ||
633 | 0 | 16 | ||
634 | === added file 'tests/data/accounts/services/OtherService.service' | |||
635 | --- tests/data/accounts/services/OtherService.service 1970-01-01 00:00:00 +0000 | |||
636 | +++ tests/data/accounts/services/OtherService.service 2016-02-19 10:06:27 +0000 | |||
637 | @@ -0,0 +1,22 @@ | |||
638 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
639 | 2 | <service id="OtherService"> | ||
640 | 3 | <type>sharing</type> | ||
641 | 4 | <name>Other Service</name> | ||
642 | 5 | <icon>general_otherservice</icon> | ||
643 | 6 | <provider>other_provider</provider> | ||
644 | 7 | <tags> | ||
645 | 8 | <tag>video</tag> | ||
646 | 9 | <tag>sharing</tag> | ||
647 | 10 | </tags> | ||
648 | 11 | |||
649 | 12 | <!-- default settings (account settings have precedence over these) --> | ||
650 | 13 | <template> | ||
651 | 14 | <group name="parameters"> | ||
652 | 15 | <setting name="server">talk.google.com</setting> | ||
653 | 16 | <setting name="port" type="i">5223</setting> | ||
654 | 17 | <setting name="old-ssl" type="b">true</setting> | ||
655 | 18 | <setting name="fallback-conference-server">conference.jabber.org</setting> | ||
656 | 19 | </group> | ||
657 | 20 | </template> | ||
658 | 21 | |||
659 | 22 | </service> | ||
660 | 0 | 23 | ||
661 | === added directory 'tests/data/applications' | |||
662 | === added file 'tests/data/applications/Mailer.desktop' | |||
663 | --- tests/data/applications/Mailer.desktop 1970-01-01 00:00:00 +0000 | |||
664 | +++ tests/data/applications/Mailer.desktop 2016-02-19 10:06:27 +0000 | |||
665 | @@ -0,0 +1,8 @@ | |||
666 | 1 | [Desktop Entry] | ||
667 | 2 | Name=Easy Mailer | ||
668 | 3 | Comment=Send and receive mail | ||
669 | 4 | Exec=/bin/sh | ||
670 | 5 | Icon=mailer-icon | ||
671 | 6 | Terminal=false | ||
672 | 7 | Type=Application | ||
673 | 8 | Categories=Application;Network;Email; | ||
674 | 0 | 9 | ||
675 | === removed file 'tests/e-mail.service-type' | |||
676 | --- tests/e-mail.service-type 2012-10-10 14:59:58 +0000 | |||
677 | +++ tests/e-mail.service-type 1970-01-01 00:00:00 +0000 | |||
678 | @@ -1,11 +0,0 @@ | |||
679 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
680 | 2 | <service-type id="e-mail"> | ||
681 | 3 | <name>Electronic mail</name> | ||
682 | 4 | <description>Electronic mail description</description> | ||
683 | 5 | <icon>email_icon</icon> | ||
684 | 6 | <translations>translation_file</translations> | ||
685 | 7 | <tags> | ||
686 | 8 | <tag>e-mail</tag> | ||
687 | 9 | <tag>messaging</tag> | ||
688 | 10 | </tags> | ||
689 | 11 | </service-type> | ||
690 | 12 | 0 | ||
691 | === removed file 'tests/maemo.provider' | |||
692 | --- tests/maemo.provider 2013-01-23 13:09:21 +0000 | |||
693 | +++ tests/maemo.provider 1970-01-01 00:00:00 +0000 | |||
694 | @@ -1,17 +0,0 @@ | |||
695 | 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
696 | 2 | <provider id="maemo"> | ||
697 | 3 | <name>Example provider</name> | ||
698 | 4 | <description>An example provider</description> | ||
699 | 5 | <icon>example</icon> | ||
700 | 6 | <domains>.*example\.com</domains> | ||
701 | 7 | <!-- default settings (account settings have precedence over these) --> | ||
702 | 8 | <template> | ||
703 | 9 | <setting name="auth/method">dummy-method</setting> | ||
704 | 10 | <setting name="auth/mechanism">dummy-mechanism</setting> | ||
705 | 11 | <group name="auth/dummy-method/dummy-mechanism"> | ||
706 | 12 | <setting name="id">879</setting> | ||
707 | 13 | <setting name="display">desktop</setting> | ||
708 | 14 | <setting name="from-provider">yes</setting> | ||
709 | 15 | </group> | ||
710 | 16 | </template> | ||
711 | 17 | </provider> | ||
712 | 18 | 0 | ||
713 | === modified file 'tests/xml-dtd-validate.sh' | |||
714 | --- tests/xml-dtd-validate.sh 2012-10-17 14:14:08 +0000 | |||
715 | +++ tests/xml-dtd-validate.sh 2016-02-19 10:06:27 +0000 | |||
716 | @@ -7,16 +7,16 @@ | |||
717 | 7 | 7 | ||
718 | 8 | for application in $applications | 8 | for application in $applications |
719 | 9 | do | 9 | do |
721 | 10 | ${XMLLINT} $XMLLINT_ARGS ${DTDDIR}accounts-application.dtd ${TESTDATADIR}$application || exit 1 | 10 | ${XMLLINT} $XMLLINT_ARGS ${DTDDIR}accounts-application.dtd ${TESTDATADIR}/accounts/applications/$application || exit 1 |
722 | 11 | done | 11 | done |
723 | 12 | 12 | ||
725 | 13 | ${XMLLINT} $XMLLINT_ARGS ${DTDDIR}accounts-provider.dtd ${TESTDATADIR}MyProvider.provider | 13 | ${XMLLINT} $XMLLINT_ARGS ${DTDDIR}accounts-provider.dtd ${TESTDATADIR}/accounts/providers/MyProvider.provider |
726 | 14 | 14 | ||
727 | 15 | services="MyService.service MyService2.service OtherService.service" | 15 | services="MyService.service MyService2.service OtherService.service" |
728 | 16 | 16 | ||
729 | 17 | for service in $services | 17 | for service in $services |
730 | 18 | do | 18 | do |
732 | 19 | ${XMLLINT} $XMLLINT_ARGS ${DTDDIR}accounts-service.dtd ${TESTDATADIR}$service || exit 1 | 19 | ${XMLLINT} $XMLLINT_ARGS ${DTDDIR}accounts-service.dtd ${TESTDATADIR}/accounts/services/$service || exit 1 |
733 | 20 | done | 20 | done |
734 | 21 | 21 | ||
736 | 22 | ${XMLLINT} $XMLLINT_ARGS ${DTDDIR}accounts-service-type.dtd ${TESTDATADIR}e-mail.service-type | 22 | ${XMLLINT} $XMLLINT_ARGS ${DTDDIR}accounts-service-type.dtd ${TESTDATADIR}/accounts/service-types/e-mail.service-type |