summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or')
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/debian/copyright16
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/fill-values3
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/orig/README1
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/desc2
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/hints5
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/post-test1
6 files changed, 28 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/debian/copyright
new file mode 100644
index 0000000..31e3563
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/debian/copyright
@@ -0,0 +1,16 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Doohickey
+Upstream-Contact: J. Random Hacker <j.r.hacker@example.com>
+Source: http://examples.com/doohickey/source/
+
+Files: *
+Copyright: 2014, somebody1
+License: this | that
+
+Files: debian/*
+Copyright: 2014, somebody1
+License: this|that
+ this is a valid license short name
+
+License: this | that
+ should be "this or that"
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/fill-values
new file mode 100644
index 0000000..a5bfa60
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: source-copyright-pipe-as-or
+Description: Test for the pipe symbol being used as an "or"
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/orig/README b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/orig/README
new file mode 100644
index 0000000..1a9d2ad
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/build-spec/orig/README
@@ -0,0 +1 @@
+trivial
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/desc
new file mode 100644
index 0000000..2ddc75d
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/desc
@@ -0,0 +1,2 @@
+Testname: source-copyright-pipe-as-or
+Check: debian/copyright/dep5
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/hints
new file mode 100644
index 0000000..7ecd5b0
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/hints
@@ -0,0 +1,5 @@
+source-copyright-pipe-as-or (source): update-debian-copyright 2014 vs CHANGELOG-YEAR [debian/copyright:11]
+source-copyright-pipe-as-or (source): space-in-std-shortname-in-dep5-copyright this | that [debian/copyright:8]
+source-copyright-pipe-as-or (source): space-in-std-shortname-in-dep5-copyright this | that [debian/copyright:15]
+source-copyright-pipe-as-or (source): pipe-symbol-used-as-license-disjunction this | that [debian/copyright:8]
+source-copyright-pipe-as-or (source): pipe-symbol-used-as-license-disjunction this | that [debian/copyright:15]
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/post-test b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/post-test
new file mode 100644
index 0000000..feeacfc
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-pipe-as-or/eval/post-test
@@ -0,0 +1 @@
+s/vs [0-9]+/vs CHANGELOG-YEAR/