summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/copyright/dep5/redundant-wildcard
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debian/copyright/dep5/redundant-wildcard')
-rw-r--r--t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/debian/copyright11
-rw-r--r--t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/debian/patches/a.patch1
-rw-r--r--t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/fill-values3
-rw-r--r--t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/orig/a-file1
-rw-r--r--t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/desc3
-rw-r--r--t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/hints2
-rw-r--r--t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/post-test1
7 files changed, 22 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/debian/copyright
new file mode 100644
index 0000000..3ff770b
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/debian/copyright
@@ -0,0 +1,11 @@
+# taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905747#5
+# but split up for each of the two conditions
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files: *
+ debian/patches/*
+Copyright: (C) 2018 Niels Thykier
+License: License1
+
+License: License1
+ Please call the author for this license.
diff --git a/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/debian/patches/a.patch b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/debian/patches/a.patch
new file mode 100644
index 0000000..294a68c
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/debian/patches/a.patch
@@ -0,0 +1 @@
+A PATCH
diff --git a/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/fill-values
new file mode 100644
index 0000000..412ba3e
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: redundant-wildcard
+Description: Two wildcards matching the same file in the same section
diff --git a/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/orig/a-file b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/orig/a-file
new file mode 100644
index 0000000..fadb157
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/build-spec/orig/a-file
@@ -0,0 +1 @@
+A FILE
diff --git a/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/desc b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/desc
new file mode 100644
index 0000000..dd15714
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/desc
@@ -0,0 +1,3 @@
+Testname: redundant-wildcard
+Check: debian/copyright/dep5
+See-Also: Bug#905747
diff --git a/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/hints b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/hints
new file mode 100644
index 0000000..21912fa
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/hints
@@ -0,0 +1,2 @@
+redundant-wildcard (source): update-debian-copyright 2018 vs CHANGELOG-YEAR [debian/copyright:7]
+redundant-wildcard (source): redundant-globbing-patterns (* debian/patches/*) for debian/patches/a.patch [debian/copyright:5]
diff --git a/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/post-test b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/post-test
new file mode 100644
index 0000000..feeacfc
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/redundant-wildcard/eval/post-test
@@ -0,0 +1 @@
+s/vs [0-9]+/vs CHANGELOG-YEAR/