[SCM] Debian package checker branch, master, updated. 2.1.3-13-gf354c44

2008-12-29 Thread Russ Allbery
The following commit has been merged in the master branch:
commit 76937c40017990709b246be873f9945d701ff099
Author: Russ Allbery r...@debian.org
Date:   Mon Dec 29 12:02:38 2008 -0800

Add test for invalid-standards-version

diff --git a/private/tags-never-seen b/private/tags-never-seen
index 22c5ddf..3bfec6a 100644
--- a/private/tags-never-seen
+++ b/private/tags-never-seen
@@ -267,6 +267,4 @@ shared-libs shlib-with-bad-permissions
 shared-libs shlib-with-executable-stack
 shared-libs shlib-without-PT_GNU_STACK-section
 
-standards-version invalid-standards-version
-
 watch-file debian-watch-file-missing-version
diff --git a/t/tests/6000_standards-version-invalid.desc 
b/t/tests/6000_standards-version-invalid.desc
new file mode 100644
index 000..91319c6
--- /dev/null
+++ b/t/tests/6000_standards-version-invalid.desc
@@ -0,0 +1,4 @@
+Testname: standards-version-invalid
+Version: 1.0
+Description: Test invalid standards version
+Test-For: invalid-standards-version
diff --git a/t/templates/skel/debian/control.in 
b/t/tests/standards-version-invalid/debian/debian/control.in
similarity index 94%
copy from t/templates/skel/debian/control.in
copy to t/tests/standards-version-invalid/debian/debian/control.in
index f8f5c04..a55e976 100644
--- a/t/templates/skel/debian/control.in
+++ b/t/tests/standards-version-invalid/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8.0
+Standards-Version: 3.8
 Build-Depends: debhelper (= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/standards-version-invalid/tags 
b/t/tests/standards-version-invalid/tags
new file mode 100644
index 000..dc1c915
--- /dev/null
+++ b/t/tests/standards-version-invalid/tags
@@ -0,0 +1 @@
+E: standards-version-invalid source: invalid-standards-version 3.8

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



[SCM] Debian package checker branch, master, updated. 2.1.3-13-gf354c44

2008-12-29 Thread Russ Allbery
The following commit has been merged in the master branch:
commit 475ddb0cc86724a8da8f2b8bcead1a658d927cb6
Author: Russ Allbery r...@debian.org
Date:   Mon Dec 29 12:06:01 2008 -0800

Add test case for newer-standards-version

diff --git a/t/tests/6000_standards-version-newer.desc 
b/t/tests/6000_standards-version-newer.desc
new file mode 100644
index 000..ff136f5
--- /dev/null
+++ b/t/tests/6000_standards-version-newer.desc
@@ -0,0 +1,4 @@
+Testname: standards-version-newer
+Version: 1.0
+Description: Test too-new standards version
+Test-For: newer-standards-version
diff --git a/t/tests/standards-version-invalid/debian/debian/control.in 
b/t/tests/standards-version-newer/debian/debian/control.in
similarity index 94%
copy from t/tests/standards-version-invalid/debian/debian/control.in
copy to t/tests/standards-version-newer/debian/debian/control.in
index a55e976..4874ff4 100644
--- a/t/tests/standards-version-invalid/debian/debian/control.in
+++ b/t/tests/standards-version-newer/debian/debian/control.in
@@ -2,7 +2,7 @@ Source: {$srcpkg}
 Priority: extra
 Section: {$section}
 Maintainer: {$author}
-Standards-Version: 3.8
+Standards-Version: 3.9.0
 Build-Depends: debhelper (= 7)
 
 Package: {$srcpkg}
diff --git a/t/tests/standards-version-newer/tags 
b/t/tests/standards-version-newer/tags
new file mode 100644
index 000..99e7aa5
--- /dev/null
+++ b/t/tests/standards-version-newer/tags
@@ -0,0 +1 @@
+W: standards-version-newer source: newer-standards-version 3.9.0 (current is 
3.8.0)

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



[SCM] Debian package checker branch, master, updated. 2.1.3-13-gf354c44

2008-12-29 Thread Russ Allbery
The following commit has been merged in the master branch:
commit f354c44d55b357b6177cb305171f6ccdeb7d372d
Author: Russ Allbery r...@debian.org
Date:   Mon Dec 29 12:08:00 2008 -0800

Remove the old dh7-minimal test case

Minimal debhelper 7 rules files are now tested by nearly all of the new
test suite, which was the original goal of this test.  The only other
thing it was testing was newer-standards-version, which now has an
explicit test of its own.

diff --git a/testset/dh7-minimal/debian/changelog 
b/testset/dh7-minimal/debian/changelog
deleted file mode 100644
index 6b7a730..000
--- a/testset/dh7-minimal/debian/changelog
+++ /dev/null
@@ -1,6 +0,0 @@
-dh7-minimal (1) unstable; urgency=low
-
-  * Initial release, also testing case-insensitive matching.
-
- -- Russ Allbery r...@debian.org  Fri, 06 Jun 2008 17:20:53 -0700
-
diff --git a/testset/dh7-minimal/debian/compat 
b/testset/dh7-minimal/debian/compat
deleted file mode 100644
index 7f8f011..000
--- a/testset/dh7-minimal/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-7
diff --git a/testset/dh7-minimal/debian/control 
b/testset/dh7-minimal/debian/control
deleted file mode 100644
index 0083073..000
--- a/testset/dh7-minimal/debian/control
+++ /dev/null
@@ -1,16 +0,0 @@
-Source: dh7-minimal
-Section: devel
-Priority: optional
-Maintainer: Russ Allbery r...@debian.org
-Build-Depends: debhelper (= 7)
-Standards-Version: 3.9.0
-
-Package: dh7-test
-Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Checks related to debhelper rule minimization
- New in debhelper 7.
- .
- 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.
diff --git a/testset/dh7-minimal/debian/copyright 
b/testset/dh7-minimal/debian/copyright
deleted file mode 100644
index 9b24687..000
--- a/testset/dh7-minimal/debian/copyright
+++ /dev/null
@@ -1 +0,0 @@
-Copyright 2008 Russ Allbery
diff --git a/testset/dh7-minimal/debian/rules b/testset/dh7-minimal/debian/rules
deleted file mode 100755
index cbe925d..000
--- a/testset/dh7-minimal/debian/rules
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/make -f
-%:
-   dh $@
diff --git a/testset/tags.dh7-minimal b/testset/tags.dh7-minimal
deleted file mode 100644
index c4a9800..000
--- a/testset/tags.dh7-minimal
+++ /dev/null
@@ -1 +0,0 @@
-W: dh7-minimal source: newer-standards-version 3.9.0 (current is 3.8.0)

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



[SCM] Debian package checker branch, master, updated. 2.1.3-13-gf354c44

2008-12-29 Thread Russ Allbery
The following commit has been merged in the master branch:
commit b32c5c6c08a724d59951a3fad7e8cf62e46d1337
Author: Russ Allbery r...@debian.org
Date:   Mon Dec 29 11:56:37 2008 -0800

Make update-never-seen merge data from both test suites

* private/update-never-seen:
  + [RA] Merge data from both test suites and use the tag files for the
old test suite rather than relying on runtests -v.

Also update private/tags-never-seen.

diff --git a/debian/changelog b/debian/changelog
index d16a39d..36d331a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -32,10 +32,14 @@ lintian (2.1.4) UNRELEASED; urgency=low
   - unusual-control-interpreter is certain, not possible.
   - Suppress some cases of multiple tags about the same basic problem.
 
+  * private/update-never-seen:
++ [RA] Merge data from both test suites and use the tag files for the
+  old test suite rather than relying on runtests -v.
+
   * t/runtests:
 + [RA] Check that a test produces all tags listed in Test-For and
   doesn't produce any tages listed in Test-Against.
-  
+
  -- Russ Allbery r...@debian.org  Sun, 28 Dec 2008 13:02:03 -0800
 
 lintian (2.1.3) unstable; urgency=low
diff --git a/private/tags-never-seen b/private/tags-never-seen
index 2419b01..22c5ddf 100644
--- a/private/tags-never-seen
+++ b/private/tags-never-seen
@@ -1,254 +1,272 @@
-Last generated 2008-07-14
-
-binaries.desc apparently-corrupted-elf-binary
-binaries.desc arch-dependent-file-in-usr-share
-binaries.desc binary-compiled-with-profiling-enabled
-binaries.desc binary-file-compressed-with-upx
-binaries.desc binary-in-etc
-binaries.desc binary-or-shlib-defines-rpath
-binaries.desc library-in-debug-or-profile-should-not-be-stripped
-binaries.desc library-not-linked-against-libc
-binaries.desc program-not-linked-against-libc
-changelog-file.desc html-changelog-without-text-version
-changelog-file.desc no-upstream-changelog
-changelog-file.desc spelling-error-in-changelog
-changelog-file.desc wrong-name-for-changelog-of-native-package
-changelog-file.desc wrong-name-for-debian-changelog-file
-changelog-file.desc wrong-name-for-upstream-changelog
-conffiles.desc duplicate-conffile
-conffiles.desc file-in-usr-marked-as-conffile
-conffiles.desc relative-conffile
-control-file.desc debian-control-file-is-a-symlink
-control-file.desc debian-control-with-duplicate-fields
-control-files.desc control-file-has-bad-owner
-control-files.desc not-allowed-control-file
-control-files.desc unknown-control-file
-copyright-file.desc 
cannot-check-whether-usr-share-doc-symlink-points-to-foreign-package
-copyright-file.desc copyright-does-not-refer-to-common-license-file
-copyright-file.desc copyright-should-refer-to-common-license-file-for-lgpl
-copyright-file.desc spelling-error-in-copyright
-copyright-file.desc usr-share-doc-symlink-points-outside-of-usr-share-doc
-copyright-file.desc usr-share-doc-symlink-to-foreign-package
-cruft.desc diff-contains-git-control-dir
-cruft.desc diff-contains-hg-control-dir
-cruft.desc diff-contains-patch-failure-file
-cruft.desc documentation-package-not-architecture-independent
-cruft.desc outdated-autotools-helper-file
-cruft.desc source-contains-arch-control-dir
-cruft.desc source-contains-arch-inventory-file
-cruft.desc source-contains-bzr-control-dir
-cruft.desc source-contains-cvs-conflict-copy
-cruft.desc source-contains-cvs-control-dir
-cruft.desc source-contains-hg-control-dir
-cruft.desc source-contains-svk-commit-file
-cruft.desc source-contains-svn-conflict-file
-cruft.desc source-contains-svn-control-dir
-debconf.desc boolean-template-has-bogus-default
-debconf.desc debconf-is-not-a-registry
-debconf.desc duplicate-fields-in-templates
-debconf.desc duplicate-long-description-in-template
-debconf.desc empty-translated-choices
-debconf.desc isdefault-flag-is-deprecated
-debconf.desc malformed-template-name
-debconf.desc no-template-name
-debconf.desc select-without-choices
-debconf.desc unknown-field-in-templates
-debconf.desc unknown-template-type
-debhelper.desc debhelper-compat-file-is-empty
-debhelper.desc dh-make-template-in-source
-debhelper.desc dh_dhelp-is-deprecated
-debian-readme.desc spelling-error-in-readme-debian
-description.desc description-synopsis-has-leading-spaces
-fields.desc alternates-not-allowed
-fields.desc arch-any-in-binary-pkg
-fields.desc aspell-package-not-arch-all
-fields.desc bad-menu-item
-fields.desc bad-package-name
-fields.desc bad-relation
-fields.desc bad-version-number
-fields.desc build-depends-on-x-metapackage
-fields.desc debian-revision-not-well-formed
-fields.desc debian-revision-should-not-be-zero
-fields.desc depends-on-libdb1-compat
-fields.desc depends-on-python-minimal
-fields.desc doc-package-depends-on-main-package
-fields.desc essential-in-source-package
-fields.desc essential-no-not-needed
-fields.desc magic-arch-in-arch-list
-fields.desc maintainer-address-is-on-localhost
-fields.desc maintainer-address-looks-weird
-fields.desc