summaryrefslogtreecommitdiff
path: root/src/xdg-autostart-generator/test-xdg-autostart.c
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2021-02-09 13:06:40 +0000
committerGitHub <noreply@github.com>2021-02-09 13:06:40 +0000
commit0f15cb224347a97d9c0f6ab782af68139358e1ef (patch)
treef000a3ecea447dba89d84a3740bb3703bc29b6e1 /src/xdg-autostart-generator/test-xdg-autostart.c
parent5bbf3314342c3bf90a69ad729a65bbdfb3ffff90 (diff)
parent8762049792024df1be9f0b219438220bb9ee547d (diff)
downloadsystemd-0f15cb224347a97d9c0f6ab782af68139358e1ef.tar.gz
Merge pull request #18470 from mrc0mmand/ci-clang-12
ci: run build test with clang-12 as well
Diffstat (limited to 'src/xdg-autostart-generator/test-xdg-autostart.c')
-rw-r--r--src/xdg-autostart-generator/test-xdg-autostart.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/xdg-autostart-generator/test-xdg-autostart.c b/src/xdg-autostart-generator/test-xdg-autostart.c
index 5108beeaa9..c7a816bc25 100644
--- a/src/xdg-autostart-generator/test-xdg-autostart.c
+++ b/src/xdg-autostart-generator/test-xdg-autostart.c
@@ -37,17 +37,17 @@ static void test_xdg_format_exec_start(void) {
}
static const char* const xdg_desktop_file[] = {
- "[Desktop Entry]\n"
- "Exec\t =\t /bin/sleep 100\n" /* Whitespace Before/After = must be ignored */
- "OnlyShowIn = A;B;\n"
- "NotShowIn=C;;D\\\\\\;;E\n", /* "C", "", "D\;", "E" */
+ ("[Desktop Entry]\n"
+ "Exec\t =\t /bin/sleep 100\n" /* Whitespace Before/After = must be ignored */
+ "OnlyShowIn = A;B;\n"
+ "NotShowIn=C;;D\\\\\\;;E\n"), /* "C", "", "D\;", "E" */
- "[Desktop Entry]\n"
- "Exec=a\n"
- "Exec=b\n",
+ ("[Desktop Entry]\n"
+ "Exec=a\n"
+ "Exec=b\n"),
- "[Desktop Entry]\n"
- "Hidden=\t true\n",
+ ("[Desktop Entry]\n"
+ "Hidden=\t true\n"),
};
static void test_xdg_desktop_parse(unsigned i, const char *s) {