summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/files/special
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/files/special')
-rw-r--r--t/recipes/checks/files/special/files-special-file/build-spec/debian/rules12
-rw-r--r--t/recipes/checks/files/special/files-special-file/build-spec/fill-values3
-rw-r--r--t/recipes/checks/files/special/files-special-file/eval/desc2
-rw-r--r--t/recipes/checks/files/special/files-special-file/eval/hints1
4 files changed, 18 insertions, 0 deletions
diff --git a/t/recipes/checks/files/special/files-special-file/build-spec/debian/rules b/t/recipes/checks/files/special/files-special-file/build-spec/debian/rules
new file mode 100644
index 0000000..80395cd
--- /dev/null
+++ b/t/recipes/checks/files/special/files-special-file/build-spec/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+PKG=$(shell dh_listpackages)
+
+%:
+ dh $@
+
+override_dh_builddeb:
+ mkdir -p debian/$(PKG)/usr/share/$(PKG)/
+ mkfifo debian/$(PKG)/usr/share/$(PKG)/fifo-pipe
+ dh_builddeb
+
diff --git a/t/recipes/checks/files/special/files-special-file/build-spec/fill-values b/t/recipes/checks/files/special/files-special-file/build-spec/fill-values
new file mode 100644
index 0000000..604318f
--- /dev/null
+++ b/t/recipes/checks/files/special/files-special-file/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: files-special-file
+Description: Test for special files in the deb
diff --git a/t/recipes/checks/files/special/files-special-file/eval/desc b/t/recipes/checks/files/special/files-special-file/eval/desc
new file mode 100644
index 0000000..9e7d65e
--- /dev/null
+++ b/t/recipes/checks/files/special/files-special-file/eval/desc
@@ -0,0 +1,2 @@
+Testname: files-special-file
+Check: files/special
diff --git a/t/recipes/checks/files/special/files-special-file/eval/hints b/t/recipes/checks/files/special/files-special-file/eval/hints
new file mode 100644
index 0000000..43b6d34
--- /dev/null
+++ b/t/recipes/checks/files/special/files-special-file/eval/hints
@@ -0,0 +1 @@
+files-special-file (binary): special-file 0644 [usr/share/files-special-file/fifo-pipe]