[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#859467: marked as done (lintian: check if a package contains a functional testsuite using autopkgtest)



Your message dated Sun, 18 Jun 2017 09:18:53 +0000
with message-id <E1dMWM9-00045s-5l@fasolo.debian.org>
and subject line Bug#859467: fixed in lintian 2.5.51
has caused the Debian Bug report #859467,
regarding lintian: check if a package contains a functional testsuite using autopkgtest
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
859467: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859467
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.5.50.1
Severity: wishlist
Tags: patch

Dear Maintainer,

I wish lintian could notify packages maintainers about the absence of a
functional testsuite using autopkgtest, just as a reminder. It is
important for quality assurance have these kind of tests in all
packages, and I talked about it with some others DDs and some of them do
not have any idea what I was saying. Nowadays, Debian CI covers almost
20% of the source packages in archive, the idea here is to increase this
number.

I attached a patch which I am verifying if the 'Testsuite' is in debian/control
and if this field contains the string 'autopkgtest'. Now we have just
autopkgtest* (with some teams wrappers) available, because of this I am trying
to find this specific string.

The other 2 patches attached try to fix the broken tests after this
modification, the templates used did not have the 'Testsuite' field.

I hope you consider the patches.

Cheers.


-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lintian depends on:
ii  binutils                          2.28-2
ii  bzip2                             1.0.6-8.1
ii  diffstat                          1.61-1+b1
ii  file                              1:5.29-3
ii  gettext                           0.19.8.1-2
ii  intltool-debian                   0.35.0+20060710.4
ii  libapt-pkg-perl                   0.1.32
ii  libarchive-zip-perl               1.59-1
ii  libclass-accessor-perl            0.34-1
ii  libclone-perl                     0.38-2+b1
ii  libdpkg-perl                      1.18.23
ii  libemail-valid-perl               1.202-1
ii  libfile-basedir-perl              0.07-1
ii  libipc-run-perl                   0.94-1
ii  liblist-moreutils-perl            0.416-1+b1
ii  libparse-debianchangelog-perl     1.2.0-12
ii  libperl5.24 [libdigest-sha-perl]  5.24.1-2
ii  libtext-levenshtein-perl          0.13-1
ii  libtimedate-perl                  2.3000-2
ii  liburi-perl                       1.71-1
ii  libyaml-libyaml-perl              0.63-2
ii  man-db                            2.7.6.1-2
ii  patchutils                        0.3.4-2
ii  perl                              5.24.1-2
ii  t1utils                           1.39-2
ii  xz-utils                          5.2.2-1.2+b1

Versions of packages lintian recommends:
ii  dpkg                                 1.18.23
ii  libperlio-gzip-perl                  0.19-1+b2
ii  perl                                 5.24.1-2
ii  perl-modules-5.24 [libautodie-perl]  5.24.1-2

Versions of packages lintian suggests:
pn  binutils-multiarch     <none>
ii  dpkg-dev               1.18.23
ii  libhtml-parser-perl    3.72-3
ii  libtext-template-perl  1.46-1

-- no debconf information
>From 7571fdf6dccff02733c5b620e8cb85aabb85004f Mon Sep 17 00:00:00 2001
From: Lucas Kanashiro <kanashiro@debian.org>
Date: Mon, 3 Apr 2017 17:21:03 -0300
Subject: [PATCH 2/3] add functional testsuite in tests templates

---
 t/runtests                                      | 2 +-
 t/templates/tests/pedantic/debian/tests/control | 1 +
 t/templates/tests/pedantic/debian/tests/test    | 2 ++
 t/templates/tests/skel/debian/tests/control     | 1 +
 t/templates/tests/skel/debian/tests/test        | 2 ++
 5 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100644 t/templates/tests/pedantic/debian/tests/control
 create mode 100755 t/templates/tests/pedantic/debian/tests/test
 create mode 100644 t/templates/tests/skel/debian/tests/control
 create mode 100755 t/templates/tests/skel/debian/tests/test

diff --git a/t/runtests b/t/runtests
index 020f3f8dc..dd4da7ed2 100755
--- a/t/runtests
+++ b/t/runtests
@@ -113,7 +113,7 @@ my $RUNNER_TS = (stat($0))[9];
 chomp $ARCHITECTURE;
 
 our %TEMPLATES = (
-    'tests'  => ['debian/changelog', 'debian/control', 'debian/compat'],
+    'tests'  => ['debian/changelog', 'debian/control', 'debian/compat', 'debian/tests'],
     'debs'   => ['changelog', 'control', 'Makefile'],
     'source' => ['changelog', 'control', 'dsc.in'],
 );
diff --git a/t/templates/tests/pedantic/debian/tests/control b/t/templates/tests/pedantic/debian/tests/control
new file mode 100644
index 000000000..b8562954d
--- /dev/null
+++ b/t/templates/tests/pedantic/debian/tests/control
@@ -0,0 +1 @@
+Tests: test 
diff --git a/t/templates/tests/pedantic/debian/tests/test b/t/templates/tests/pedantic/debian/tests/test
new file mode 100755
index 000000000..039e4d006
--- /dev/null
+++ b/t/templates/tests/pedantic/debian/tests/test
@@ -0,0 +1,2 @@
+#!/bin/sh
+exit 0
diff --git a/t/templates/tests/skel/debian/tests/control b/t/templates/tests/skel/debian/tests/control
new file mode 100644
index 000000000..b8562954d
--- /dev/null
+++ b/t/templates/tests/skel/debian/tests/control
@@ -0,0 +1 @@
+Tests: test 
diff --git a/t/templates/tests/skel/debian/tests/test b/t/templates/tests/skel/debian/tests/test
new file mode 100755
index 000000000..039e4d006
--- /dev/null
+++ b/t/templates/tests/skel/debian/tests/test
@@ -0,0 +1,2 @@
+#!/bin/sh
+exit 0
-- 
2.11.0

>From 15f4d425368ba4612e3e0ff9cd8796f66e5bcff9 Mon Sep 17 00:00:00 2001
From: Lucas Kanashiro <kanashiro@debian.org>
Date: Mon, 3 Apr 2017 17:23:32 -0300
Subject: [PATCH 3/3] add functional testsuite in source tests

---
 t/runtests                                                 | 2 +-
 t/source/changelog-file-symlink/Makefile                   | 1 +
 t/source/changelog-file-symlink/dsc.in.in                  | 1 +
 t/source/control-field-traversal-2/Makefile                | 1 +
 t/source/control-field-traversal-2/dsc.in.in               | 1 +
 t/source/control-file-duplicate-field/Makefile             | 1 +
 t/source/control-file-duplicate-field/dsc.in.in            | 1 +
 t/source/control-file-missing-separator/Makefile           | 1 +
 t/source/control-file-missing-separator/dsc.in.in          | 1 +
 t/source/control-file-syntax-error/Makefile                | 1 +
 t/source/control-file-syntax-error/dsc.in.in               | 1 +
 t/source/cruft-ancient-file/Makefile                       | 1 +
 t/source/debconf-traversal/Makefile                        | 1 +
 t/source/debconf-traversal/dsc.in.in                       | 1 +
 t/source/debian-source-dir-traversal-1/Makefile            | 1 +
 t/source/debian-source-dir-traversal-1/dsc.in.in           | 1 +
 t/source/debian-source-dir-traversal-2/Makefile            | 1 +
 t/source/debian-source-dir-traversal-2/dsc.in.in           | 1 +
 t/source/debian-source-dir-unknown-source-format/Makefile  | 1 +
 t/source/debian-source-dir-unknown-source-format/dsc.in.in | 1 +
 t/source/debian-symlink/Makefile                           | 1 +
 t/source/debian-symlink/dsc.in.in                          | 1 +
 t/source/fields-src-bad-version/Makefile                   | 1 +
 t/source/fields-src-bad-version/dsc.in.in                  | 1 +
 t/source/fields-src-fields-filename/Makefile               | 1 +
 t/source/fields-src-fields-filename/dsc.in.in              | 1 +
 t/source/magic-architecture-srcpkg-ok/Makefile             | 1 +
 t/source/magic-architecture-srcpkg-wrong/Makefile          | 1 +
 t/source/no-sha256-checksum/Makefile                       | 1 +
 t/source/no-sha256-checksum/dsc.in.in                      | 1 +
 t/source/package-version-0/Makefile                        | 1 +
 t/source/testsuite-inconsistent-field/Makefile             | 4 +---
 t/source/testsuite-inconsistent-field/tags                 | 1 +
 t/source/unpack-srcpkg-dot-dir/Makefile                    | 1 +
 t/source/unpack-srcpkg-dot-subdir/Makefile                 | 1 +
 t/source/unpack-srcpkg-no-subdir/Makefile                  | 1 +
 t/source/unpack-srcpkg-xz/Makefile                         | 1 +
 t/templates/source/skel/tests/control                      | 1 +
 t/templates/source/skel/tests/test                         | 2 ++
 39 files changed, 40 insertions(+), 4 deletions(-)
 create mode 100644 t/templates/source/skel/tests/control
 create mode 100755 t/templates/source/skel/tests/test

diff --git a/t/runtests b/t/runtests
index dd4da7ed2..0599692dc 100755
--- a/t/runtests
+++ b/t/runtests
@@ -115,7 +115,7 @@ chomp $ARCHITECTURE;
 our %TEMPLATES = (
     'tests'  => ['debian/changelog', 'debian/control', 'debian/compat', 'debian/tests'],
     'debs'   => ['changelog', 'control', 'Makefile'],
-    'source' => ['changelog', 'control', 'dsc.in'],
+    'source' => ['changelog', 'control', 'dsc.in', 'tests/control', 'tests/test'],
 );
 my $DATE = safe_qx(qw(date -R));
 chomp $DATE;
diff --git a/t/source/changelog-file-symlink/Makefile b/t/source/changelog-file-symlink/Makefile
index 931b1df7a..5c83bc8d4 100644
--- a/t/source/changelog-file-symlink/Makefile
+++ b/t/source/changelog-file-symlink/Makefile
@@ -5,6 +5,7 @@ all:
 	mkdir $(dir)
 	mkdir $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	mv $(dir)/debian/changelog $(dir)/debian/changelog.old
 	ln -s changelog.old $(dir)/debian/changelog
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
diff --git a/t/source/changelog-file-symlink/dsc.in.in b/t/source/changelog-file-symlink/dsc.in.in
index 98528217d..8166eb684 100644
--- a/t/source/changelog-file-symlink/dsc.in.in
+++ b/t/source/changelog-file-symlink/dsc.in.in
@@ -6,6 +6,7 @@ Version: 1
 Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 9)
+Testsuite: autopkgtest
 Checksums-Sha1:
  @SHA1@ @SIZE@ changelog-file-symlink_1.tar.gz
 Checksums-Sha256:
diff --git a/t/source/control-field-traversal-2/Makefile b/t/source/control-field-traversal-2/Makefile
index b2062fce0..5d7b9ef64 100644
--- a/t/source/control-field-traversal-2/Makefile
+++ b/t/source/control-field-traversal-2/Makefile
@@ -5,6 +5,7 @@ all:
 	mkdir $(dir)
 	mkdir $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	mkdir $(dir)/debian/source
 	echo 1.0 > $(dir)/debian/source/format
diff --git a/t/source/control-field-traversal-2/dsc.in.in b/t/source/control-field-traversal-2/dsc.in.in
index 6d0587138..004ae8f17 100644
--- a/t/source/control-field-traversal-2/dsc.in.in
+++ b/t/source/control-field-traversal-2/dsc.in.in
@@ -6,6 +6,7 @@ Version: 1
 Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
+Testsuite: autopkgtest
 Checksums-Sha1:
  @SHA1@ @SIZE@ control-field-traversal-2_1.tar.gz
 Checksums-Sha256:
diff --git a/t/source/control-file-duplicate-field/Makefile b/t/source/control-file-duplicate-field/Makefile
index f9b5b8f1f..69bf91552 100644
--- a/t/source/control-file-duplicate-field/Makefile
+++ b/t/source/control-file-duplicate-field/Makefile
@@ -5,6 +5,7 @@ all:
 	mkdir $(dir)
 	mkdir $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	mkdir $(dir)/debian/source
 	echo 1.0 > $(dir)/debian/source/format
diff --git a/t/source/control-file-duplicate-field/dsc.in.in b/t/source/control-file-duplicate-field/dsc.in.in
index e7bd2d1f2..2fe5c66d6 100644
--- a/t/source/control-file-duplicate-field/dsc.in.in
+++ b/t/source/control-file-duplicate-field/dsc.in.in
@@ -6,6 +6,7 @@ Version: 1
 Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
+Testsuite: autopkgtest
 Checksums-Sha1:
  @SHA1@ @SIZE@ control-file-duplicate-field_1.tar.gz
 Checksums-Sha256:
diff --git a/t/source/control-file-missing-separator/Makefile b/t/source/control-file-missing-separator/Makefile
index 2fd3dfe50..f5c854f47 100644
--- a/t/source/control-file-missing-separator/Makefile
+++ b/t/source/control-file-missing-separator/Makefile
@@ -5,6 +5,7 @@ all:
 	mkdir $(dir)
 	mkdir $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	mkdir $(dir)/debian/source
 	echo 1.0 > $(dir)/debian/source/format
diff --git a/t/source/control-file-missing-separator/dsc.in.in b/t/source/control-file-missing-separator/dsc.in.in
index e66300ecd..fefc14f7d 100644
--- a/t/source/control-file-missing-separator/dsc.in.in
+++ b/t/source/control-file-missing-separator/dsc.in.in
@@ -6,6 +6,7 @@ Version: 1
 Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7), fiddle [amd64 powerpc mips mipsel hppa s390], faddle (>> 2) [sparc i386 amd64]
+Testsuite: autopkgtest
 Checksums-Sha1:
  @SHA1@ @SIZE@ control-file-missing-separator_1.tar.gz
 Checksums-Sha256:
diff --git a/t/source/control-file-syntax-error/Makefile b/t/source/control-file-syntax-error/Makefile
index 3e08ee003..f133ce1de 100644
--- a/t/source/control-file-syntax-error/Makefile
+++ b/t/source/control-file-syntax-error/Makefile
@@ -5,6 +5,7 @@ all:
 	mkdir $(dir)
 	mkdir $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	mkdir $(dir)/debian/source
 	echo 1.0 > $(dir)/debian/source/format
diff --git a/t/source/control-file-syntax-error/dsc.in.in b/t/source/control-file-syntax-error/dsc.in.in
index 8a918f4b9..5894165a8 100644
--- a/t/source/control-file-syntax-error/dsc.in.in
+++ b/t/source/control-file-syntax-error/dsc.in.in
@@ -6,6 +6,7 @@ Version: 1
 Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
+Testsuite: autopkgtest
 Checksums-Sha1:
  @SHA1@ @SIZE@ control-file-syntax-error_1.tar.gz
 Checksums-Sha256:
diff --git a/t/source/cruft-ancient-file/Makefile b/t/source/cruft-ancient-file/Makefile
index 584a18f8b..2ce82d725 100644
--- a/t/source/cruft-ancient-file/Makefile
+++ b/t/source/cruft-ancient-file/Makefile
@@ -8,6 +8,7 @@ all:
 	tar -c -f $(name)_1.0.orig.tar.gz -z $(dir)
 	mkdir $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	echo '# foo' > $(dir)/debian/watch
 	mkdir $(dir)/debian/source
diff --git a/t/source/debconf-traversal/Makefile b/t/source/debconf-traversal/Makefile
index 91c800a75..e66a1f829 100644
--- a/t/source/debconf-traversal/Makefile
+++ b/t/source/debconf-traversal/Makefile
@@ -5,6 +5,7 @@ all:
 	mkdir $(dir)
 	mkdir $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	mkdir $(dir)/debian/source
 	echo 1.0 > $(dir)/debian/source/format
diff --git a/t/source/debconf-traversal/dsc.in.in b/t/source/debconf-traversal/dsc.in.in
index 7ba83e73c..c3da5ab5b 100644
--- a/t/source/debconf-traversal/dsc.in.in
+++ b/t/source/debconf-traversal/dsc.in.in
@@ -6,6 +6,7 @@ Version: 1
 Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
+Testsuite: autopkgtest
 Checksums-Sha1:
  @SHA1@ @SIZE@ debconf-traversal_1.tar.gz
 Checksums-Sha256:
diff --git a/t/source/debian-source-dir-traversal-1/Makefile b/t/source/debian-source-dir-traversal-1/Makefile
index e8ffe1ee9..d49661c5e 100644
--- a/t/source/debian-source-dir-traversal-1/Makefile
+++ b/t/source/debian-source-dir-traversal-1/Makefile
@@ -5,6 +5,7 @@ all:
 	mkdir $(dir)
 	mkdir $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	# prevent patch-system-but-no-source-readme
 	echo "Hallo World" > $(dir)/debian/README.source
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
diff --git a/t/source/debian-source-dir-traversal-1/dsc.in.in b/t/source/debian-source-dir-traversal-1/dsc.in.in
index 910e5b13d..98183c179 100644
--- a/t/source/debian-source-dir-traversal-1/dsc.in.in
+++ b/t/source/debian-source-dir-traversal-1/dsc.in.in
@@ -6,6 +6,7 @@ Version: 1
 Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7), quilt
+Testsuite: autopkgtest
 Checksums-Sha1:
  @SHA1@ @SIZE@ debian-source-dir-traversal-1_1.tar.gz
 Checksums-Sha256:
diff --git a/t/source/debian-source-dir-traversal-2/Makefile b/t/source/debian-source-dir-traversal-2/Makefile
index fc318d71f..caa3e5e94 100644
--- a/t/source/debian-source-dir-traversal-2/Makefile
+++ b/t/source/debian-source-dir-traversal-2/Makefile
@@ -5,6 +5,7 @@ all:
 	mkdir $(dir)
 	mkdir $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	# Link to the lab entry - should trigger a myriad of
 	# "unknown-file-in-debian-source" tags, if lintian is vulnerable
 	ln -s ../../ $(dir)/debian/source
diff --git a/t/source/debian-source-dir-traversal-2/dsc.in.in b/t/source/debian-source-dir-traversal-2/dsc.in.in
index 8bcf0e881..320d127ab 100644
--- a/t/source/debian-source-dir-traversal-2/dsc.in.in
+++ b/t/source/debian-source-dir-traversal-2/dsc.in.in
@@ -6,6 +6,7 @@ Version: 1
 Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
+Testsuite: autopkgtest
 Checksums-Sha1:
  @SHA1@ @SIZE@ debian-source-dir-traversal-2_1.tar.gz
 Checksums-Sha256:
diff --git a/t/source/debian-source-dir-unknown-source-format/Makefile b/t/source/debian-source-dir-unknown-source-format/Makefile
index 4b20c5c78..b9db9d197 100644
--- a/t/source/debian-source-dir-unknown-source-format/Makefile
+++ b/t/source/debian-source-dir-unknown-source-format/Makefile
@@ -5,6 +5,7 @@ all:
 	mkdir $(dir)
 	mkdir $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	mkdir $(dir)/debian/source
 	echo "3.0 (unknown-format)" > $(dir)/debian/source/format
diff --git a/t/source/debian-source-dir-unknown-source-format/dsc.in.in b/t/source/debian-source-dir-unknown-source-format/dsc.in.in
index b62c59165..0df0980c7 100644
--- a/t/source/debian-source-dir-unknown-source-format/dsc.in.in
+++ b/t/source/debian-source-dir-unknown-source-format/dsc.in.in
@@ -6,6 +6,7 @@ Version: 1
 Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
+Testsuite: autopkgtest
 Checksums-Sha1:
  @SHA1@ @SIZE@ debian-source-dir-unknown-source-format_1.tar.gz
 Checksums-Sha256:
diff --git a/t/source/debian-symlink/Makefile b/t/source/debian-symlink/Makefile
index ffa2799ca..c1ebc6600 100644
--- a/t/source/debian-symlink/Makefile
+++ b/t/source/debian-symlink/Makefile
@@ -5,6 +5,7 @@ all:
 	mkdir $(dir)
 	ln -s . $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	mkdir $(dir)/debian/source
 	echo 1.0 > $(dir)/debian/source/format
diff --git a/t/source/debian-symlink/dsc.in.in b/t/source/debian-symlink/dsc.in.in
index 05c2fd56a..47d41188c 100644
--- a/t/source/debian-symlink/dsc.in.in
+++ b/t/source/debian-symlink/dsc.in.in
@@ -6,6 +6,7 @@ Version: 1
 Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
+Testsuite: autopkgtest
 Checksums-Sha1:
  @SHA1@ @SIZE@ debian-symlink_1.tar.gz
 Checksums-Sha256:
diff --git a/t/source/fields-src-bad-version/Makefile b/t/source/fields-src-bad-version/Makefile
index 3e08ee003..f133ce1de 100644
--- a/t/source/fields-src-bad-version/Makefile
+++ b/t/source/fields-src-bad-version/Makefile
@@ -5,6 +5,7 @@ all:
 	mkdir $(dir)
 	mkdir $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	mkdir $(dir)/debian/source
 	echo 1.0 > $(dir)/debian/source/format
diff --git a/t/source/fields-src-bad-version/dsc.in.in b/t/source/fields-src-bad-version/dsc.in.in
index 2269f2a1f..af8225078 100644
--- a/t/source/fields-src-bad-version/dsc.in.in
+++ b/t/source/fields-src-bad-version/dsc.in.in
@@ -6,6 +6,7 @@ Version: 1
 Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7), g++ (>= s4.0), gcc ((>= 4)
+Testsuite: autopkgtest
 Checksums-Sha1:
  @SHA1@ @SIZE@ control-file-syntax-error_1.tar.gz
 Checksums-Sha256:
diff --git a/t/source/fields-src-fields-filename/Makefile b/t/source/fields-src-fields-filename/Makefile
index 7fff7999a..0a4e36ecf 100644
--- a/t/source/fields-src-fields-filename/Makefile
+++ b/t/source/fields-src-fields-filename/Makefile
@@ -9,6 +9,7 @@ all:
 	echo "1.0" > $(dir)/debian/source/format
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	tar cfz $(dsc)_1.tar.gz $(dir)
 	subst-dsc $(dsc)_1.tar.gz < dsc.in > $(dsc)_1.dsc
 	mv $(dsc)_1.dsc $(name)_1.dsc
diff --git a/t/source/fields-src-fields-filename/dsc.in.in b/t/source/fields-src-fields-filename/dsc.in.in
index c256315a9..bcb4f9410 100644
--- a/t/source/fields-src-fields-filename/dsc.in.in
+++ b/t/source/fields-src-fields-filename/dsc.in.in
@@ -6,6 +6,7 @@ Version: 1
 Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
+Testsuite: autopkgtest
 Checksums-Sha1:
  @SHA1@ @SIZE@ some-other-name_1.tar.gz
 Checksums-Sha256:
diff --git a/t/source/magic-architecture-srcpkg-ok/Makefile b/t/source/magic-architecture-srcpkg-ok/Makefile
index 90330cdaa..a04ec3ff3 100644
--- a/t/source/magic-architecture-srcpkg-ok/Makefile
+++ b/t/source/magic-architecture-srcpkg-ok/Makefile
@@ -7,6 +7,7 @@ all:
 	tar -c -f $(name)_1.0.orig.tar.gz -z $(dir)
 	mkdir $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	echo '# foo' > $(dir)/debian/watch
 	mkdir $(dir)/debian/source
diff --git a/t/source/magic-architecture-srcpkg-wrong/Makefile b/t/source/magic-architecture-srcpkg-wrong/Makefile
index d680a0c56..93f3a4c84 100644
--- a/t/source/magic-architecture-srcpkg-wrong/Makefile
+++ b/t/source/magic-architecture-srcpkg-wrong/Makefile
@@ -7,6 +7,7 @@ all:
 	tar -c -f $(name)_1.0.orig.tar.gz -z $(dir)
 	mkdir $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	echo '# foo' > $(dir)/debian/watch
 	mkdir $(dir)/debian/source
diff --git a/t/source/no-sha256-checksum/Makefile b/t/source/no-sha256-checksum/Makefile
index 4e6543b59..bb8c912bf 100644
--- a/t/source/no-sha256-checksum/Makefile
+++ b/t/source/no-sha256-checksum/Makefile
@@ -4,6 +4,7 @@ dir  = $(name)-1
 all:
 	mkdir -p $(dir)/debian/source
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo 9 > $(dir)/debian/compat
 	echo "3.0 (native)" > $(dir)/debian/source/format
 	tar cfz $(name)_1.tar.gz $(dir)
diff --git a/t/source/no-sha256-checksum/dsc.in.in b/t/source/no-sha256-checksum/dsc.in.in
index e169c45e8..ed0edadc0 100644
--- a/t/source/no-sha256-checksum/dsc.in.in
+++ b/t/source/no-sha256-checksum/dsc.in.in
@@ -6,6 +6,7 @@ Version: 1
 Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 9)
+Testsuite: autopkgtest
 Checksums-Sha1:
  @SHA1@ @SIZE@ no-sha256-checksum_1.tar.gz
 Files:
diff --git a/t/source/package-version-0/Makefile b/t/source/package-version-0/Makefile
index f909603dd..fa70616a6 100644
--- a/t/source/package-version-0/Makefile
+++ b/t/source/package-version-0/Makefile
@@ -5,6 +5,7 @@ all:
 	mkdir $(dir)
 	mkdir $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	mkdir $(dir)/debian/source
 	echo 1.0 > $(dir)/debian/source/format
diff --git a/t/source/testsuite-inconsistent-field/Makefile b/t/source/testsuite-inconsistent-field/Makefile
index 17e2ca9de..005058f3e 100644
--- a/t/source/testsuite-inconsistent-field/Makefile
+++ b/t/source/testsuite-inconsistent-field/Makefile
@@ -5,12 +5,10 @@ all:
 	mkdir $(dir)
 	mkdir $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	mkdir $(dir)/debian/source
 	echo 1.0 > $(dir)/debian/source/format
-	mkdir $(dir)/debian/tests
-	echo 'Tests: test.sh' > $(dir)/debian/tests/control
-	echo '#!/bin/sh' > $(dir)/debian/tests/test.sh
 	dpkg-source -sn -b $(dir)
 	sed -i '/^Testsuite: /d' *.dsc
 
diff --git a/t/source/testsuite-inconsistent-field/tags b/t/source/testsuite-inconsistent-field/tags
index e9d98ef58..7104ab2b7 100644
--- a/t/source/testsuite-inconsistent-field/tags
+++ b/t/source/testsuite-inconsistent-field/tags
@@ -1 +1,2 @@
 I: testsuite-inconsistent-field source: inconsistent-testsuite-field
+I: testsuite-inconsistent-field source: testsuite-autopkgtest-missing
diff --git a/t/source/unpack-srcpkg-dot-dir/Makefile b/t/source/unpack-srcpkg-dot-dir/Makefile
index a7b81b202..87fdeae4b 100644
--- a/t/source/unpack-srcpkg-dot-dir/Makefile
+++ b/t/source/unpack-srcpkg-dot-dir/Makefile
@@ -9,6 +9,7 @@ all:
 	mkdir -p $(dir)/debian
 	cp README foo.c foo.h $(dir)
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	echo > $(dir)/debian/watch
 	mkdir $(dir)/debian/source
diff --git a/t/source/unpack-srcpkg-dot-subdir/Makefile b/t/source/unpack-srcpkg-dot-subdir/Makefile
index ccbef43ee..01d2f6e9b 100644
--- a/t/source/unpack-srcpkg-dot-subdir/Makefile
+++ b/t/source/unpack-srcpkg-dot-subdir/Makefile
@@ -8,6 +8,7 @@ all:
 	tar -c -z -f $(name)_1.0.orig.tar.gz ./$(name)
 	mkdir -p $(name)/debian
 	cp changelog copyright control rules $(name)/debian/
+	cp -R tests/ $(name)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(name)/debian/compat
 	echo > $(name)/debian/watch
 	mkdir $(name)/debian/source
diff --git a/t/source/unpack-srcpkg-no-subdir/Makefile b/t/source/unpack-srcpkg-no-subdir/Makefile
index c8da8dde3..02e044b8e 100644
--- a/t/source/unpack-srcpkg-no-subdir/Makefile
+++ b/t/source/unpack-srcpkg-no-subdir/Makefile
@@ -9,6 +9,7 @@ all:
 	mkdir -p $(dir)/debian
 	cp README foo.c foo.h $(dir)
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	echo > $(dir)/debian/watch
 	mkdir $(dir)/debian/source
diff --git a/t/source/unpack-srcpkg-xz/Makefile b/t/source/unpack-srcpkg-xz/Makefile
index f11b81982..b69b1a4dd 100644
--- a/t/source/unpack-srcpkg-xz/Makefile
+++ b/t/source/unpack-srcpkg-xz/Makefile
@@ -7,6 +7,7 @@ all:
 	tar -c -f $(name)_1.0.orig.tar.xz --xz $(dir)
 	mkdir $(dir)/debian
 	cp changelog copyright control rules $(dir)/debian/
+	cp -R tests/ $(dir)/debian/
 	echo $(DEFAULT_DH_COMPAT) > $(dir)/debian/compat
 	touch $(dir)/debian/watch
 	mkdir $(dir)/debian/source
diff --git a/t/templates/source/skel/tests/control b/t/templates/source/skel/tests/control
new file mode 100644
index 000000000..b8562954d
--- /dev/null
+++ b/t/templates/source/skel/tests/control
@@ -0,0 +1 @@
+Tests: test 
diff --git a/t/templates/source/skel/tests/test b/t/templates/source/skel/tests/test
new file mode 100755
index 000000000..039e4d006
--- /dev/null
+++ b/t/templates/source/skel/tests/test
@@ -0,0 +1,2 @@
+#!/bin/sh
+exit 0
-- 
2.11.0

>From b0455eb89bef1a2b5a0ef421ca02b834c0b0e229 Mon Sep 17 00:00:00 2001
From: Lucas Kanashiro <kanashiro@debian.org>
Date: Mon, 3 Apr 2017 17:18:11 -0300
Subject: [PATCH 1/3] check if source package contains functional testsuite

---
 checks/testsuite.desc                                  | 18 ++++++++++++++++++
 checks/testsuite.pm                                    |  2 ++
 .../debian/debian/control.in                           | 15 +++++++++++++++
 t/tests/testsuite-autopkgtest-missing/desc             |  5 +++++
 t/tests/testsuite-autopkgtest-missing/pre_build        |  2 ++
 t/tests/testsuite-autopkgtest-missing/tags             |  1 +
 6 files changed, 43 insertions(+)
 create mode 100644 t/tests/testsuite-autopkgtest-missing/debian/debian/control.in
 create mode 100644 t/tests/testsuite-autopkgtest-missing/desc
 create mode 100755 t/tests/testsuite-autopkgtest-missing/pre_build
 create mode 100644 t/tests/testsuite-autopkgtest-missing/tags

diff --git a/checks/testsuite.desc b/checks/testsuite.desc
index 4a5327839..febc25083 100644
--- a/checks/testsuite.desc
+++ b/checks/testsuite.desc
@@ -128,3 +128,21 @@ Info: Lintian cannot parse the Depends field for the given autopkgtest.
  If Lintian complains about a new special "@"-dependency, please file
  a bug against Lintian and have it added to the whitelist.
 Ref: https://anonscm.debian.org/git/autopkgtest/autopkgtest.git/tree/doc/README.package-tests.rst
+
+Tag: testsuite-autopkgtest-missing
+Severity: wishlist
+Certainty: certain
+Info: This package does not declare a test suite. Having a test suite helps with
+ automated QA in response to changes in the archive. For example, if your
+ package has a test suite, it is possible to re-execute that test suite when
+ any of the package dependencies has a new version and check whether that
+ update caused problems for your package.
+ .
+ To declare a test suite in your package, you need to add a `Testsuite` field to
+ the source part of debian/control. This field will usually have a value of
+ `autopkgtest`, i.e.:
+ .
+	Testsuite: autopkgtest
+ .
+ For more information on how to add functional tests to your package, browse to
+ https://ci.debian.net/doc/.
diff --git a/checks/testsuite.pm b/checks/testsuite.pm
index 3839c39f0..60495da0a 100644
--- a/checks/testsuite.pm
+++ b/checks/testsuite.pm
@@ -78,6 +78,8 @@ sub run {
     my $control = $info->index('debian/tests/control');
     my $needs_control = 0;
 
+    tag 'testsuite-autopkgtest-missing' if ($testsuites !~ /autopkgtest/);
+
     for my $testsuite (split(m/\s*,\s*/o, $testsuites)) {
         if (not exists($KNOWN_TESTSUITES{$testsuite})) {
             tag 'unknown-testsuite', $testsuite;
diff --git a/t/tests/testsuite-autopkgtest-missing/debian/debian/control.in b/t/tests/testsuite-autopkgtest-missing/debian/debian/control.in
new file mode 100644
index 000000000..842d74276
--- /dev/null
+++ b/t/tests/testsuite-autopkgtest-missing/debian/debian/control.in
@@ -0,0 +1,15 @@
+Source: {$source}
+Priority: extra
+Section: devel
+Maintainer: {$author}
+Standards-Version: {$standards_version}
+Build-Depends: {$build_depends}
+
+Package: {$source}
+Architecture: all
+Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
+Description: {$description}
+ This is a test package designed to exercise some feature or tag of
+ Lintian.  It is part of the Lintian test suite and may do very odd
+ things.  It should not be installed like a regular package.  It may
+ be an empty package.
diff --git a/t/tests/testsuite-autopkgtest-missing/desc b/t/tests/testsuite-autopkgtest-missing/desc
new file mode 100644
index 000000000..ec5862e95
--- /dev/null
+++ b/t/tests/testsuite-autopkgtest-missing/desc
@@ -0,0 +1,5 @@
+Testname: testsuite-autopkgtest-missing
+Version: 1.0
+Description: Verify if Testsuite field and autopkgtest are used
+Test-For:
+  testsuite-autopkgtest-missing
diff --git a/t/tests/testsuite-autopkgtest-missing/pre_build b/t/tests/testsuite-autopkgtest-missing/pre_build
new file mode 100755
index 000000000..5d971921c
--- /dev/null
+++ b/t/tests/testsuite-autopkgtest-missing/pre_build
@@ -0,0 +1,2 @@
+#!/bin/bash
+rm -f "$1/debian/tests/control"
diff --git a/t/tests/testsuite-autopkgtest-missing/tags b/t/tests/testsuite-autopkgtest-missing/tags
new file mode 100644
index 000000000..cb51a6662
--- /dev/null
+++ b/t/tests/testsuite-autopkgtest-missing/tags
@@ -0,0 +1 @@
+I: testsuite-autopkgtest-missing source: testsuite-autopkgtest-missing
-- 
2.11.0


--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.5.51

We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 859467@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niels Thykier <niels@thykier.net> (supplier of updated lintian package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 18 Jun 2017 07:57:57 +0000
Source: lintian
Binary: lintian
Architecture: source
Version: 2.5.51
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Niels Thykier <niels@thykier.net>
Description:
 lintian    - Debian package checker
Closes: 540294 633850 645455 695345 698723 814521 815233 829649 848878 849470 849880 851215 852005 852084 852145 852369 852404 852407 852409 852410 852411 852413 852414 852416 852419 852421 852426 852891 854132 855243 856155 856312 856857 856954 856975 857194 857654 857655 857656 858117 858326 859412 859467 860419 860558 861509 861599 861958 863020 863386
Changes:
 lintian (2.5.51) unstable; urgency=medium
 .
   * Summary of tag changes:
     + Added:
       - debian-control-has-dbgsym-package
       - debian-control-has-obsolete-dbg-package
       - debian-rules-parses-dpkg-parsechangelog
       - desktop-entry-lacks-icon-entry
       - distribution-and-changes-mismatch
       - distribution-and-experimental-mismatch
       - gir-in-arch-all-package
       - gir-missing-typelib-dependency
       - gir-section-not-libdevel
       - multiarch-foreign-shared-library
       - r-data-without-readme-source
       - readme-source-is-dh_make-template
       - repeated-trigger-name
       - systemd-service-file-refers-to-obsolete-bindto
       - testsuite-autopkgtest-missing
       - typelib-in-arch-all-package
       - typelib-missing-gir-depends
       - typelib-not-in-multiarch-directory
       - typelib-package-name-does-not-match
       - typelib-section-not-introspection
       - unknown-trigger
       - unreleased-changes
       - uses-implicit-await-trigger
     + Removed:
       - ancient-autotools-helper-file
       - init.d-script-missing-dependency-on-remote_fs
       - maintainer-script-should-not-use-ancient-dpkg-epoch-check
       - maintainer-script-should-not-use-ancient-dpkg-multi-conrep-check
       - outdated-autotools-helper-file
       - package-would-benefit-from-build-arch-targets
       - suidregister-used-in-maintainer-script
 .
   * checks/binaries.{desc,pm}:
     + [NT] Apply patch from Adrian Bunk to bump severity of the
       hardening-no-pie to a W-tag and improve the tag description.
       (Closes: #856155)
     + [NT] Apply patches from Michael Stapelberg to improve handling
       of golang binaries.  (Closes: #857654, #857655, #857656)
   * checks/changelog-file.pm:
     + [BR] Check also bug over 1000000 as improbable. Bug below
       50004 are not archived and are thus improbable.
   * checks/changes-file.{desc,pm}:
     + [BR] Apply patch by Simon McVittie to detect unreleased package
       uploaded to unstable and  mismatched .changes and
       Changes: distribution.  (Closes: #540294).
   * checks/control.{desc,pm}:
     + [BR] Detect dbgsym package in control file.  (Closes: #858117).
     + [BR] Warn about obsolete -dbg package.
   * checks/cruft.{desc,pm}:
     + [BR] Document long line tagged source-is-missing as a feature
       not a bug.  (Closes: #849470).
     + [BR] Correct a typo in description of tag
       license-problem-convert-utf-code.
     + [BR] Avoid a false positive in gfdl file detection.
     + [NT] Drop tags about outdated autotools config.guess and
       config.sub files.  These days debhelper automatically updates
       them when people use the dh-sequencer and the check is not
       geared for more thorough analysis.  (Closes: #848878)
     + [CL] Check that README.source is not the dh_make template.
       (Closes: #633850)
   * checks/debian-readme.{desc,pm}:
     + [NT] Locate the README.Debian using the index rather than relying
       on a collection.
   * checks/fields.pm:
     + [BR] Enforce naming convention for debug package.  (Closes: #645455).
     + [NT] Avoid proposing "/git/git/" as a part of the canonical URL for
       anonscm.debian.org.  Thanks to Andreas Beckmann for spotting the
       bug.  (Closes: #851215)
     + [NT] Apply patch from Dylan Aïssi to recommend "javascript" section
       for libjs packages.  Previously, lintian would recommend "web".
       (Closes: #863386)
   * checks/files.pm:
     + [BR] Do not report duplicates for package-installs-apt-preferences
       and package-installs-apt-sources.  (Closes: #814521).
     + [NT] Apply patch from Helmut Grohne to detect some possible invalid
       uses of "Multi-Arch: foreign".  (Closes: #856975)
     + [NT] Improve the empty-binary-package tag by adding more common
       files that should be ignored.  Thanks to Helmut Grohne for all the
       research behind it.  (Closes: #856857)
     + [BR] Detect symlink pointing to builddir.  (Closes: #860419)
     + [CL] Detect RData without README.source.  (Closes: #815233)
     + [NT] Remove work around for segmentation faults in t1disasm from
       t1utils (<< 1.38-4~).  Given Jessie is the minimum supported Debian
       version, we can now assume t1utils to be (>= 1.38-4).
   * checks/gir.{desc,pm}:
     + [NT] Add check for gir packages written by Simon McVittie.
       (Closes: #695345)
   * checks/init.d.{desc,pm}:
     + [NT] Remove check for init.d scripts accessing /usr without a
       $remote_fs dependency as /usr must now be mounted by the initramfs.
       (Closes: #829649)
   * checks/menu-format.{desc,pm}:
     + [NT] Update the reference to Desktop Entry Specification to point
       to version 1.1.
     + [NT] Apply patch from Laurent Bigonville to check desktop files
       for missing "Icon" field.  (Closes: #854132)
   * checks/rules.{desc,pm}:
     + [NT] Drop "package-would-benefit-from-build-arch-targets".  The
       dpkg-buildpackage refuses to build packages that trigger this tag.
       Also, the tag implies two other "W" tags so contributors are still
       notified of a potential problem.
     + [CL] Check for manual parsing of dpkg-parsechangelog output now that
       we have /usr/share/dpkg/pkg-info.mk.
   * checks/scripts.{desc,pm}:
     + [NT] Apply patch from Christopher Hoskin to except -doc packages
       from the "new-package-should-not-package-python2-module" tag.
       (Closes: #855243)
     + [NT] Remove references to tags about calling suidregister,
       dpkg --assert-working-epoch, and dpkg --assert-multi-conrep from
       maintainer scripts.
   * checks/systemd.{desc,pm}:
     + [NT] Apply patch from Michael Biebl to warn about deprecated
       "BindTo" option in systemd service files.  (Closes: #857194)
   * checks/testsuite.{desc,pm}:
     + [NT] Apply patch from Lucas Kanashiro to add a tag for recommending
       packagers to create an autopkgtest for their package.
       (Closes: #859467)
     + [NT] Fix false-positive "missing-runtime-test-file" when the
       "Tests-Directory" field is set to a single dot.  Thanks to
       Ian Jackson for reporting the issue.  (Closes: #849880)
   * checks/triggers.{desc,pm}:
     + [NT] New check.  (Closes: #698723)
   * checks/upstream-metadata.pm:
     + [JW, NT] Disable YAML parsing of upstream metadata file as the YAML
       parser executes code.  (Closes: #861958, CVE-2017-8829)
   * checks/watch-file.pm:
     + [NT] Apply patch from Alexander Kulak to handle whitespace correctly
       in the options in v4 watch files.  (Closes: #861599)
 .
   * coll/debian-readme{,desc}:
     + [NT] Remove.  Merge what little functionality it offers into the
       debian-readme check.
 .
   * commands/{lintian => lintian.pm}:
     + [NT] Turn the lintian frontend into a dplint command module to avoid
       code duplication.
   * commands/reporting-*:
     + [NT] Rewrite the config file handling.  The reporting framework now
       uses a YAML configuration file instead of a perl script.
     + [NT] Support processing packages from multiple archives and different
       suites in these archives.  This enables lintian.d.o to also process
       dbgsym packages.  (Closes: #856312)
 .
   * data/changes-file/known-dists:
     + [NT] Add buster and remove squeeze.
   * data/common/source-fields:
     + [NT] Add new "Testsuite-Restrictions" field.
   * data/files/privacy-breaker-websites:
     + [BR] Add digit.com as tracker.
     + [BR] Add static.ak.fbcdn.net as facebook.
     + [BR] Add forkme as logo.
   * data/files/standard-files:
     + [NT] Add more common files based on feedback from Helmut Grohne.
   * data/obsolete-sites/obsolete-sites:
     + [BR] Apply patch from Hideki Yamane in order to warn about
       fedorahosted.  (Closes: #856954).
     + [NT] Apply patch from Hideki Yamane to warn about codeplex.com
       closing down.  (Closes: #859412).
   * data/scripts/interpreters:
     + [NT] Add stap as a known interpreter.  Thanks to gustavo panizzo
       for the suggestion.  (Closes: #858326)
   * data/scripts/maintainer-script-bad-command:
     + [NT] Remove check for suidregister, dpkg --assert-working-epoch, and
       dpkg --assert-multi-conrep.  None of these trigger any tags in the
       archive any longer and the (new) features have been available for
       8+ years.
   * data/spelling/corrections:
     + [NT] Apply patches from Edward Betts to fix bugs in the correction
       word lists.  (Closes: #852005, #852084)
     + [NT] Apply patch from Edward Betts to remove corrections for
       "targetted" and "targetting" as they are valid alternative
       spellings in AU.  (Closes: #852145)
     + [EB] Add some more spelling corrections.  (Closes: #852369, #852404,
       #852407, #852409, #852410, #852411, #852413, #852414, #852416,
       #852419, #852421, #852426)
     + [CL] Add "none were" -> "none was" multiword spelling correction.
       (Closes: 860558)
   * data/standards-version/release-dates:
     + [NT] Add 4.0.0 as a known standards version along with its release
       date.
 .
   * debian/control:
     + [NT] Add explicit (Build-)Depends on dpkg (>= 1.17.14) to make it
       explicit that we no longer support Wheezy or older.
     + [NT] Drop versioned dependencies that are there to assist to
       Wheezy.
     + [NT] Mention Debian Policy v4.0.0 in the description.
     + [NT] Bump Standards-Version to 4.0.0 - no changes required.
   * debian/copyright:
     + [EB] Add Edward Betts.
 .
   * frontend/dplint:
     + [NT] Ensure all include directories are absolute before passing
       them on to the actual command.
     + [NT] Work around a "Bizarre Copy" bug in perl that could trigger
       on errors.
 .
   * lib/Lintian/CheckScript.pm:
     + [NT] Remove fallback code for "old" style "pm"-less checks.
   * lib/Lintian/Util.pm:
     + [NT] Drop dpkg_deb_has_ctrl_tarfile.  Lintian now assumes that
       dpkg 1.17.14 is available (provided by Debian jessie or later).
 .
   * reporting/{config => config.yaml}:
     + [NT] Rewrite the reporting config template into the new YAML format.
   * reporting/graphs/tags.gpi:
     + [NT] Tweak tags.gpi so it works with gnuplot 5.
   * reporting/templates/{index.tmpl,lintian.css.tmpl}:
     + [NT] Update to support multiple archives.
 .
   * t/*:
     + [NT] Drop "Test-Depends" from tests where the versions in Debian
       jessie will satisfy the dependency.
     + [NT] Update tests to fix FTBFS caused by dpkg-source now ignoring
       debian/files by default.  (Closes: #863020)
   * t/runtests:
     + [NT] Re-sort test output after running the "post_test" sed script
       on the output.  This prevent test failures caused by the order
       changing on different architectures prior to the sed script is run
       (assuming the sed script otherwise normalises the differences
       correctly).
   * t/tests/cruft-general-upstream/pre_upstream:
     + [EB] Fix failing tests by making the fake flash object more
       convincing.  The most recent version of libmagic uses a more precise
       definition of the data within a flash file.  (Closes: #852891)
   * t/tests/java-jars:
     + [NT] Provide a more convincing corrupt .zip file that also fools
       file 5.30.
 .
   * vendors/ubuntu/main/data/changes-file/known-dists:
     + [CW] Add zesty.
     + [NT] Apply patch from "Unit 193" to add "devel" as a known Ubuntu
       distribution.  (Closes: #861509)
     + [NT] Add artful.
Checksums-Sha1:
 9958814b241b14a8c8bfde5a8648e55e61ffc87a 2798 lintian_2.5.51.dsc
 1124965ea2017a7527fbe20c9c40f4162a835347 1223124 lintian_2.5.51.tar.xz
 5c2c6f419d1bb54e3ee3a69f22b0623bafa917d1 17473 lintian_2.5.51_source.buildinfo
Checksums-Sha256:
 f03ef8831439f33a38e8bb495653075e996485f4f66a1fcf25e00ff06dfdd783 2798 lintian_2.5.51.dsc
 608747cf4c7277673b02e1ea0964234f3e46e80bcc43fa7d39427fd49946dd77 1223124 lintian_2.5.51.tar.xz
 9db4c5037eae541fbf23e95333292c698643a7895b0e1d8bf2cadcaff3db7281 17473 lintian_2.5.51_source.buildinfo
Files:
 2516131ac63f745a7e2ce279419f6dc0 2798 devel optional lintian_2.5.51.dsc
 de06a374f50bcd6441e7995b1bcc7f21 1223124 devel optional lintian_2.5.51.tar.xz
 379b2de6ac61b0b09312264efcfd0964 17473 devel optional lintian_2.5.51_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEsxMaRR2/33ygW0GXBUu7n32AZEIFAllGOxcACgkQBUu7n32A
ZEIwUxAAoGn6TvnVNYgzUQ589TpO9aCDVDJ3AHcbsua/l/fH8b0KBvwa/VV6j6Ua
YTSxHVsEfTskG4hbQmUsny0hRXU2jDAWi3PCRE8UHRuVYqGeXGmLF85+bGetpO8d
Z6IgU2i8QnN+JwL1W/sUdLjnguw726A3KhufquK+p9p18/em17CaRSlv0ZM68Km2
izZqkDJZ0n668NXmfxbqiQJSqaV39AnS2cXmLLPhDE9KSlMx5axJln3oADXSaGdS
G6arHbYlNzCKFVnM7C/WbE8i6ql+45Aqta4byeOr/aUZoQcGwgnHn2SfTrCpRhEL
S9wMmFDsgpcDn4Rpq9OrzUk+O+MV91azffAEf0rWFrUzUUKGkt7VLWos+Xhxu3rK
pnF2rU4mWpCPVJOwvXysKsW51qQvU+XimBLAKAesZne9SsYeVjyEg3t2FP6iiqVX
glvToxyNYJZZtdeWsE6wocNfn3nP/1nfL6RlKUsnLb9qfYXONJwP4PusdSebfwfb
+MQbkEiqyZI6CT62nJ2rYIF+K4HuGMfv/lyVzfy7pQ1CEufpGDJj4h8ECjEoG2sW
H7Uy4625iZeW6hvdCBtwKVsaZZaEqOHF277wJvGjis2D1h6ej6Lo6zbRG8kc0T50
xHUHuNs4XfnLjQy8858h+KIjpWek5s3Nfx3ahZWqlyQYvB2WJN4=
=ty20
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: