summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded
parentInitial commit. (diff)
downloadlintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz
lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded')
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/copyright29
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/patches/0001-recreate-file.diff6
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/patches/series1
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/fill-values4
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/.matches0
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir-2/filename0
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir/filename0
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir/filename-20
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-this0
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/foolib/false-positive0
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/eval/desc4
-rw-r--r--t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/eval/hints5
12 files changed, 49 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/copyright b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/copyright
new file mode 100644
index 0000000..82dfe2c
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Files-Excluded: exclude-this
+ exclude-dir
+ */exclude-dir
+ exclude-dir-2/*
+ .*
+ */js/jquery.js
+ lib/*
+ debian/*
+ debian/copyright
+ recreated-file
+
+Files: *
+Copyright: 2011 J. Random Hacker <j.r.hacker@example.com>
+License: GPL-2
+ This package is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation; version 2 dated June, 1991.
+ .
+ This package is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along with
+ this package; if not, write to the Free Software Foundation, Inc., 51 Franklin
+ St, Fifth Floor, Boston, MA 02110-1301, USA.
+ .
+ On Debian systems, the full text of the GNU General Public License version 2
+ can be found in the file `/usr/share/common-licenses/GPL-2'.
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/patches/0001-recreate-file.diff b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/patches/0001-recreate-file.diff
new file mode 100644
index 0000000..a40e2b1
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/patches/0001-recreate-file.diff
@@ -0,0 +1,6 @@
+Re-create a file.
+
+--- /dev/null
++++ debian/recreated-file
+@@ -0,0 +1 @@
++This file was created via a patch system and should be ignored.
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/patches/series b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/patches/series
new file mode 100644
index 0000000..ab898ca
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/debian/patches/series
@@ -0,0 +1 @@
+0001-recreate-file.diff
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/fill-values b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/fill-values
new file mode 100644
index 0000000..6cef61f
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/fill-values
@@ -0,0 +1,4 @@
+Testname: source-copyright-source-files-excluded
+Skeleton: upload-non-native
+Version: 1.0+dfsg-1
+Description: Test for files listed in Files-Excluded
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/.matches b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/.matches
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/.matches
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir-2/filename b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir-2/filename
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir-2/filename
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir/filename b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir/filename
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir/filename
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir/filename-2 b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir/filename-2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-dir/filename-2
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-this b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-this
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/exclude-this
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/foolib/false-positive b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/foolib/false-positive
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/build-spec/orig/foolib/false-positive
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/eval/desc b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/eval/desc
new file mode 100644
index 0000000..2605614
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/eval/desc
@@ -0,0 +1,4 @@
+Testname: source-copyright-source-files-excluded
+Test-Against:
+ files-excluded-without-copyright-format-1.0
+Check: debian/copyright/dep5
diff --git a/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/eval/hints b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/eval/hints
new file mode 100644
index 0000000..2f9d869
--- /dev/null
+++ b/t/recipes/checks/debian/copyright/dep5/source-copyright-source-files-excluded/eval/hints
@@ -0,0 +1,5 @@
+source-copyright-source-files-excluded (source): source-ships-excluded-file exclude-this [debian/copyright:2]
+source-copyright-source-files-excluded (source): source-ships-excluded-file exclude-dir/filename-2 [debian/copyright:2]
+source-copyright-source-files-excluded (source): source-ships-excluded-file exclude-dir/filename [debian/copyright:2]
+source-copyright-source-files-excluded (source): source-ships-excluded-file exclude-dir-2/filename [debian/copyright:2]
+source-copyright-source-files-excluded (source): source-ships-excluded-file .matches [debian/copyright:2]