summaryrefslogtreecommitdiff
path: root/test/fuzz
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-05-27 18:41:01 +0200
committerGitHub <noreply@github.com>2020-05-27 18:41:01 +0200
commit6bce17455e880404984761bfe064ed8ee1dce303 (patch)
tree1904a050c5921db33e8c7e20aa16df841c6b739c /test/fuzz
parentf978844eb62e1c47431b388ab90aafdd29f624ec (diff)
parent2ad7597e44dc1cfd82c6b5211575dc8dc10c24a5 (diff)
downloadsystemd-6bce17455e880404984761bfe064ed8ee1dce303.tar.gz
Merge pull request #15226 from benzea/benzea/xdg-autostart-generator
xdg-autostart-generator: a generator for XDG autostart files
Diffstat (limited to 'test/fuzz')
-rw-r--r--test/fuzz/fuzz-xdg-desktop/full.desktop10
-rw-r--r--test/fuzz/fuzz-xdg-desktop/org.gnome.SettingsDaemon.Power.desktop10
-rw-r--r--test/fuzz/fuzz-xdg-desktop/valid.desktop12
3 files changed, 32 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-xdg-desktop/full.desktop b/test/fuzz/fuzz-xdg-desktop/full.desktop
new file mode 100644
index 0000000000..e5da36bbab
--- /dev/null
+++ b/test/fuzz/fuzz-xdg-desktop/full.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Name=GNOME Settings Daemon's power plugin
+Exec=/usr/bin/sleep %i %f "%F" "--test" ";\\\\!?"
+OnlyShowIn=GNOME;
+NoDisplay=true
+X-GNOME-Autostart-Phase=Initialization
+X-GNOME-Autostart-Notify=true
+X-GNOME-AutoRestart=true
+X-GNOME-HiddenUnderSystemd=true
diff --git a/test/fuzz/fuzz-xdg-desktop/org.gnome.SettingsDaemon.Power.desktop b/test/fuzz/fuzz-xdg-desktop/org.gnome.SettingsDaemon.Power.desktop
new file mode 100644
index 0000000000..9d3e0c5a02
--- /dev/null
+++ b/test/fuzz/fuzz-xdg-desktop/org.gnome.SettingsDaemon.Power.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Name=GNOME Settings Daemon's power plugin
+Exec=/usr/libexec/gsd-power
+OnlyShowIn=GNOME;
+NoDisplay=true
+X-GNOME-Autostart-Phase=Initialization
+X-GNOME-Autostart-Notify=true
+X-GNOME-AutoRestart=true
+X-GNOME-HiddenUnderSystemd=true
diff --git a/test/fuzz/fuzz-xdg-desktop/valid.desktop b/test/fuzz/fuzz-xdg-desktop/valid.desktop
new file mode 100644
index 0000000000..20fb5fecb7
--- /dev/null
+++ b/test/fuzz/fuzz-xdg-desktop/valid.desktop
@@ -0,0 +1,12 @@
+Desktop Entry
+Name=
+Exec=
+TryExec=
+Type=
+OnlyShowIn=
+NotShowIn=
+Hidden=
+AutostartCondition=
+X-KDE-autostart-condition=
+X-GNOME-Autostart-Phase=
+X-GNOME-HiddenUnderSystemd=