summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/scripts/scripts-killall
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/scripts/scripts-killall')
-rw-r--r--t/recipes/checks/scripts/scripts-killall/build-spec/debian/postinst8
-rw-r--r--t/recipes/checks/scripts/scripts-killall/build-spec/fill-values3
-rw-r--r--t/recipes/checks/scripts/scripts-killall/eval/desc2
-rw-r--r--t/recipes/checks/scripts/scripts-killall/eval/hints1
4 files changed, 14 insertions, 0 deletions
diff --git a/t/recipes/checks/scripts/scripts-killall/build-spec/debian/postinst b/t/recipes/checks/scripts/scripts-killall/build-spec/debian/postinst
new file mode 100644
index 0000000..0e052fe
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-killall/build-spec/debian/postinst
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+killall fish
+
+#DEBHELPER#
+
diff --git a/t/recipes/checks/scripts/scripts-killall/build-spec/fill-values b/t/recipes/checks/scripts/scripts-killall/build-spec/fill-values
new file mode 100644
index 0000000..7d78e3c
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-killall/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: scripts-killall
+Description: Test for killall usage in maint script
diff --git a/t/recipes/checks/scripts/scripts-killall/eval/desc b/t/recipes/checks/scripts/scripts-killall/eval/desc
new file mode 100644
index 0000000..f791e4c
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-killall/eval/desc
@@ -0,0 +1,2 @@
+Testname: scripts-killall
+Check: scripts
diff --git a/t/recipes/checks/scripts/scripts-killall/eval/hints b/t/recipes/checks/scripts/scripts-killall/eval/hints
new file mode 100644
index 0000000..27cfd7d
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-killall/eval/hints
@@ -0,0 +1 @@
+scripts-killall (binary): maintainer-script-interpreter /bin/sh [postinst]