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

[SCM] Debian package checker branch, master, updated. 2.4.3-84-gd4ec6b9



The following commit has been merged in the master branch:
commit d4ec6b9224f2c2303b1644a89386739eac59d348
Author: Niels Thykier <niels@thykier.net>
Date:   Thu Dec 30 11:11:10 2010 +0100

    Complete watch-file coverage!

diff --git a/t/COVERAGE b/t/COVERAGE
index 07dddfc..897d1e0 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -386,8 +386,6 @@ shared-libs unknown-meta-field-in-symbols-file
 shared-libs unused-shlib-entry-in-control-file
 shared-libs unused-shlib-entry-in-symbols-control-file
 
-watch-file debian-watch-file-specifies-old-upstream-version
-
 Breakdown of remaining tags in legacy test suite by test case:
 
 binary
@@ -583,7 +581,6 @@ relations
 
 scripts
   calls-suidperl-directly
-  debian-watch-file-specifies-old-upstream-version
   duplicate-updaterc.d-calls-in-postrm
   executable-is-not-world-readable
   init.d-script-has-bad-lsb-line
diff --git a/t/tests/changelog-file-become-native/debian/debian/changelog.in b/t/tests/watch-file-old-upstream-version/debian/debian/changelog.in
similarity index 63%
copy from t/tests/changelog-file-become-native/debian/debian/changelog.in
copy to t/tests/watch-file-old-upstream-version/debian/debian/changelog.in
index 5876a6f..6c926e2 100644
--- a/t/tests/changelog-file-become-native/debian/debian/changelog.in
+++ b/t/tests/watch-file-old-upstream-version/debian/debian/changelog.in
@@ -1,11 +1,13 @@
 {$srcpkg} ({$version}) unstable; urgency=low
 
+  * New upstream release.
   * Lintian Test Suite.
   * Test: {$testname}
+  * We forgot to update the watch file, lalala.
 
  -- {$author}  {$date}
 
-{$srcpkg} (0.1-2) unstable; urgency=low
+{$srcpkg} (1.0-1) unstable; urgency=low
 
   * An earlier non-native version.
 
diff --git a/t/tests/watch-file-old-upstream-version/debian/debian/watch b/t/tests/watch-file-old-upstream-version/debian/debian/watch
new file mode 100644
index 0000000..7e052d6
--- /dev/null
+++ b/t/tests/watch-file-old-upstream-version/debian/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz 1.0 uupdate
diff --git a/t/tests/watch-file-old-upstream-version/desc b/t/tests/watch-file-old-upstream-version/desc
new file mode 100644
index 0000000..46eb3cb
--- /dev/null
+++ b/t/tests/watch-file-old-upstream-version/desc
@@ -0,0 +1,6 @@
+Testname: watch-file-old-upstream-version
+Sequence: 6000
+Type: non-native
+Version: 2.0-1
+Description: Watch file with old upstream version
+Test-For: debian-watch-file-specifies-old-upstream-version
diff --git a/t/tests/watch-file-old-upstream-version/tags b/t/tests/watch-file-old-upstream-version/tags
new file mode 100644
index 0000000..93f264a
--- /dev/null
+++ b/t/tests/watch-file-old-upstream-version/tags
@@ -0,0 +1 @@
+W: watch-file-old-upstream-version source: debian-watch-file-specifies-old-upstream-version 1.0 line 3
diff --git a/t/tests/fields-version-bad/upstream/README b/t/tests/watch-file-old-upstream-version/upstream/README
similarity index 100%
copy from t/tests/fields-version-bad/upstream/README
copy to t/tests/watch-file-old-upstream-version/upstream/README

-- 
Debian package checker


Reply to: