diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-05-27 18:41:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-27 18:41:01 +0200 |
commit | 6bce17455e880404984761bfe064ed8ee1dce303 (patch) | |
tree | 1904a050c5921db33e8c7e20aa16df841c6b739c /test/fuzz | |
parent | man: fix conditional in homed.conf.xml (diff) | |
parent | fuzz: Add an XDG desktop file fuzzer (diff) | |
download | systemd-6bce17455e880404984761bfe064ed8ee1dce303.tar.xz systemd-6bce17455e880404984761bfe064ed8ee1dce303.zip |
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.desktop | 10 | ||||
-rw-r--r-- | test/fuzz/fuzz-xdg-desktop/org.gnome.SettingsDaemon.Power.desktop | 10 | ||||
-rw-r--r-- | test/fuzz/fuzz-xdg-desktop/valid.desktop | 12 |
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= |