summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/copyright/named-copyright-in-source
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debian/copyright/named-copyright-in-source')
-rw-r--r--t/recipes/checks/debian/copyright/named-copyright-in-source/build-spec/fill-values3
-rwxr-xr-xt/recipes/checks/debian/copyright/named-copyright-in-source/build-spec/pre-build4
-rw-r--r--t/recipes/checks/debian/copyright/named-copyright-in-source/eval/desc2
-rw-r--r--t/recipes/checks/debian/copyright/named-copyright-in-source/eval/hints1
4 files changed, 10 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/copyright/named-copyright-in-source/build-spec/fill-values b/t/recipes/checks/debian/copyright/named-copyright-in-source/build-spec/fill-values
new file mode 100644
index 0000000..da1fd11
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/named-copyright-in-source/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: named-copyright-in-source
+Description: Builds single package and uses d/$package.copyright as name
diff --git a/t/recipes/checks/debian/copyright/named-copyright-in-source/build-spec/pre-build b/t/recipes/checks/debian/copyright/named-copyright-in-source/build-spec/pre-build
new file mode 100755
index 0000000..90f1ee3
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/named-copyright-in-source/build-spec/pre-build
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd "$1/debian"
+mv copyright named-copyright-in-source.copyright
diff --git a/t/recipes/checks/debian/copyright/named-copyright-in-source/eval/desc b/t/recipes/checks/debian/copyright/named-copyright-in-source/eval/desc
new file mode 100644
index 0000000..f3ddca1
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/named-copyright-in-source/eval/desc
@@ -0,0 +1,2 @@
+Testname: named-copyright-in-source
+Check: debian/copyright
diff --git a/t/recipes/checks/debian/copyright/named-copyright-in-source/eval/hints b/t/recipes/checks/debian/copyright/named-copyright-in-source/eval/hints
new file mode 100644
index 0000000..4000c74
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/named-copyright-in-source/eval/hints
@@ -0,0 +1 @@
+named-copyright-in-source (source): named-copyright-for-single-installable [debian/named-copyright-in-source.copyright]