summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/scripts/scripts-missing-call-to-update-fonts')
-rw-r--r--t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/debian/install1
-rw-r--r--t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/debian/postinst8
-rw-r--r--t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/fill-values3
-rw-r--r--t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/orig/foo.afm0
-rw-r--r--t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/eval/desc2
-rw-r--r--t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/eval/hints2
6 files changed, 16 insertions, 0 deletions
diff --git a/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/debian/install b/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/debian/install
new file mode 100644
index 0000000..4690206
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/debian/install
@@ -0,0 +1 @@
+foo.afm usr/share/fonts/X11/Type1
diff --git a/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/debian/postinst b/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/debian/postinst
new file mode 100644
index 0000000..72a8dfb
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/debian/postinst
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+if false
+then
+ echo "Deliberately not including DEBHELPER snippet."
+fi
diff --git a/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/fill-values b/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/fill-values
new file mode 100644
index 0000000..4b17473
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: scripts-missing-call-to-update-fonts
+Description: Check missing calls to update-fonts
diff --git a/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/orig/foo.afm b/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/orig/foo.afm
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/build-spec/orig/foo.afm
diff --git a/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/eval/desc b/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/eval/desc
new file mode 100644
index 0000000..fe7fa11
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/eval/desc
@@ -0,0 +1,2 @@
+Testname: scripts-missing-call-to-update-fonts
+Check: scripts
diff --git a/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/eval/hints b/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/eval/hints
new file mode 100644
index 0000000..599bdd6
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-missing-call-to-update-fonts/eval/hints
@@ -0,0 +1,2 @@
+scripts-missing-call-to-update-fonts (binary): maintainer-script-interpreter /bin/sh [postrm]
+scripts-missing-call-to-update-fonts (binary): maintainer-script-interpreter /bin/sh [postinst]