summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/fonts/opentype
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/fonts/opentype')
-rw-r--r--t/recipes/checks/fonts/opentype/use-restricted/build-spec/debian/install1
-rw-r--r--t/recipes/checks/fonts/opentype/use-restricted/build-spec/fill-values3
-rw-r--r--t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/Editable.otfbin0 -> 1724 bytes
-rw-r--r--t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/Installable.otfbin0 -> 1724 bytes
-rw-r--r--t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/NeverEmbed.otfbin0 -> 1724 bytes
-rw-r--r--t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/Printable.otfbin0 -> 1724 bytes
-rw-r--r--t/recipes/checks/fonts/opentype/use-restricted/eval/desc3
-rw-r--r--t/recipes/checks/fonts/opentype/use-restricted/eval/hints3
-rw-r--r--t/recipes/checks/fonts/opentype/wrong-filename/build-spec/debian/install1
-rw-r--r--t/recipes/checks/fonts/opentype/wrong-filename/build-spec/fill-values3
-rw-r--r--t/recipes/checks/fonts/opentype/wrong-filename/build-spec/orig/fonts/IsOTF.ttfbin0 -> 1724 bytes
-rw-r--r--t/recipes/checks/fonts/opentype/wrong-filename/eval/desc2
-rw-r--r--t/recipes/checks/fonts/opentype/wrong-filename/eval/hints1
13 files changed, 17 insertions, 0 deletions
diff --git a/t/recipes/checks/fonts/opentype/use-restricted/build-spec/debian/install b/t/recipes/checks/fonts/opentype/use-restricted/build-spec/debian/install
new file mode 100644
index 0000000..c7427e8
--- /dev/null
+++ b/t/recipes/checks/fonts/opentype/use-restricted/build-spec/debian/install
@@ -0,0 +1 @@
+fonts/* /usr/share/fonts/
diff --git a/t/recipes/checks/fonts/opentype/use-restricted/build-spec/fill-values b/t/recipes/checks/fonts/opentype/use-restricted/build-spec/fill-values
new file mode 100644
index 0000000..2361324
--- /dev/null
+++ b/t/recipes/checks/fonts/opentype/use-restricted/build-spec/fill-values
@@ -0,0 +1,3 @@
+Testname: use-restricted
+Skeleton: upload-native
+Description: Installs an OpenType font with a restricted license.
diff --git a/t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/Editable.otf b/t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/Editable.otf
new file mode 100644
index 0000000..14e2176
--- /dev/null
+++ b/t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/Editable.otf
Binary files differ
diff --git a/t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/Installable.otf b/t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/Installable.otf
new file mode 100644
index 0000000..097d425
--- /dev/null
+++ b/t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/Installable.otf
Binary files differ
diff --git a/t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/NeverEmbed.otf b/t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/NeverEmbed.otf
new file mode 100644
index 0000000..51ad025
--- /dev/null
+++ b/t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/NeverEmbed.otf
Binary files differ
diff --git a/t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/Printable.otf b/t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/Printable.otf
new file mode 100644
index 0000000..ba78881
--- /dev/null
+++ b/t/recipes/checks/fonts/opentype/use-restricted/build-spec/orig/fonts/Printable.otf
Binary files differ
diff --git a/t/recipes/checks/fonts/opentype/use-restricted/eval/desc b/t/recipes/checks/fonts/opentype/use-restricted/eval/desc
new file mode 100644
index 0000000..cc64d13
--- /dev/null
+++ b/t/recipes/checks/fonts/opentype/use-restricted/eval/desc
@@ -0,0 +1,3 @@
+Testname: use-restricted
+Check: fonts/opentype
+See-Also: Debian Bug#635068
diff --git a/t/recipes/checks/fonts/opentype/use-restricted/eval/hints b/t/recipes/checks/fonts/opentype/use-restricted/eval/hints
new file mode 100644
index 0000000..699ec02
--- /dev/null
+++ b/t/recipes/checks/fonts/opentype/use-restricted/eval/hints
@@ -0,0 +1,3 @@
+use-restricted (binary): opentype-font-prohibits-installable-embedding (preview/print only) [usr/share/fonts/Printable.otf]
+use-restricted (binary): opentype-font-prohibits-installable-embedding (never embed) [usr/share/fonts/NeverEmbed.otf]
+use-restricted (binary): opentype-font-prohibits-installable-embedding (edit only) [usr/share/fonts/Editable.otf]
diff --git a/t/recipes/checks/fonts/opentype/wrong-filename/build-spec/debian/install b/t/recipes/checks/fonts/opentype/wrong-filename/build-spec/debian/install
new file mode 100644
index 0000000..c7427e8
--- /dev/null
+++ b/t/recipes/checks/fonts/opentype/wrong-filename/build-spec/debian/install
@@ -0,0 +1 @@
+fonts/* /usr/share/fonts/
diff --git a/t/recipes/checks/fonts/opentype/wrong-filename/build-spec/fill-values b/t/recipes/checks/fonts/opentype/wrong-filename/build-spec/fill-values
new file mode 100644
index 0000000..d4cbe4d
--- /dev/null
+++ b/t/recipes/checks/fonts/opentype/wrong-filename/build-spec/fill-values
@@ -0,0 +1,3 @@
+Testname: wrong-filename
+Skeleton: upload-native
+Description: Installs an OpenType font with an incorrect file extension.
diff --git a/t/recipes/checks/fonts/opentype/wrong-filename/build-spec/orig/fonts/IsOTF.ttf b/t/recipes/checks/fonts/opentype/wrong-filename/build-spec/orig/fonts/IsOTF.ttf
new file mode 100644
index 0000000..5f02e7b
--- /dev/null
+++ b/t/recipes/checks/fonts/opentype/wrong-filename/build-spec/orig/fonts/IsOTF.ttf
Binary files differ
diff --git a/t/recipes/checks/fonts/opentype/wrong-filename/eval/desc b/t/recipes/checks/fonts/opentype/wrong-filename/eval/desc
new file mode 100644
index 0000000..cea1815
--- /dev/null
+++ b/t/recipes/checks/fonts/opentype/wrong-filename/eval/desc
@@ -0,0 +1,2 @@
+Testname: wrong-filename
+Check: fonts/opentype
diff --git a/t/recipes/checks/fonts/opentype/wrong-filename/eval/hints b/t/recipes/checks/fonts/opentype/wrong-filename/eval/hints
new file mode 100644
index 0000000..88c3e38
--- /dev/null
+++ b/t/recipes/checks/fonts/opentype/wrong-filename/eval/hints
@@ -0,0 +1 @@
+wrong-filename (binary): opentype-font-wrong-filename [usr/share/fonts/IsOTF.ttf]