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

[lintian] 06/06: t: Fix test case using dh compat 1



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit 551f116f2868002eb97f8fd925b1a36af41c5be0
Author: Niels Thykier <niels@thykier.net>
Date:   Mon Jan 18 20:17:28 2016 +0000

    t: Fix test case using dh compat 1
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 debian/changelog                | 4 ++++
 t/tests/legacy-fields/pre_build | 5 -----
 t/tests/legacy-fields/tags      | 3 +--
 3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2d059be..e58594c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -48,6 +48,10 @@ lintian (2.5.40) UNRELEASED; urgency=medium
     + [NT] Share more data for a ~15% memory reduction on an old
       dataset.
 
+  * t:
+    + [NT] Fix test case relying on removed debhelper compat level.
+      (Closes: #811309)
+
  -- Niels Thykier <niels@thykier.net>  Sun, 27 Dec 2015 09:43:24 +0000
 
 lintian (2.5.39.1) unstable; urgency=medium
diff --git a/t/tests/legacy-fields/pre_build b/t/tests/legacy-fields/pre_build
deleted file mode 100755
index b5649a8..0000000
--- a/t/tests/legacy-fields/pre_build
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-DIR="$1"
-
-rm -f "$DIR/debian/compat"
diff --git a/t/tests/legacy-fields/tags b/t/tests/legacy-fields/tags
index 88ed362..25587a3 100644
--- a/t/tests/legacy-fields/tags
+++ b/t/tests/legacy-fields/tags
@@ -11,10 +11,9 @@ W: fields source: ancient-standards-version 3.9.2 (current is CURRENT)
 W: fields source: changelog-should-mention-nmu
 W: fields source: debhelper-but-no-misc-depends another-version
 W: fields source: debhelper-but-no-misc-depends fields
-W: fields source: debhelper-compat-file-is-missing
 W: fields source: debian-revision-not-well-formed 1.5-.3
 W: fields source: native-package-with-dash-version
-W: fields source: package-uses-deprecated-debhelper-compat-version 1
+W: fields source: package-needs-versioned-debhelper-build-depends 9
 W: fields source: source-nmu-has-incorrect-version-number 1.5-.3
 W: fields: debian-revision-not-well-formed 1.5-.3
 W: fields: essential-no-not-needed

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: