summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec')
-rw-r--r--t/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec/debian/install1
-rw-r--r--t/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec/fill-values3
-rw-r--r--t/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec/orig/unknown-type.desktop4
3 files changed, 8 insertions, 0 deletions
diff --git a/t/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec/debian/install b/t/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec/debian/install
new file mode 100644
index 0000000..af33e1a
--- /dev/null
+++ b/t/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec/debian/install
@@ -0,0 +1 @@
+unknown-type.desktop usr/share/applications
diff --git a/t/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec/fill-values b/t/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec/fill-values
new file mode 100644
index 0000000..f604a1b
--- /dev/null
+++ b/t/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: desktop-entry-unknown-type
+Description: Test desktop file type field value validity
diff --git a/t/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec/orig/unknown-type.desktop b/t/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec/orig/unknown-type.desktop
new file mode 100644
index 0000000..41dd262
--- /dev/null
+++ b/t/recipes/checks/menu-format/desktop-entry-unknown-type/build-spec/orig/unknown-type.desktop
@@ -0,0 +1,4 @@
+[Desktop Entry]
+Type=foo
+Name=unknown-type
+Comment=Type should be one of Application, Link or Directory