The following commit has been merged in the master branch:
commit 2a542bc3e5c07df6eb84d2628dd6b6f26c81de54
Author: Niels Thykier <[email protected]>
Date:   Thu Feb 9 15:56:01 2012 +0100

    Added test for no-upstream-changelog
    
    The check was lost as a side-effect of commit dde19e4.
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git a/t/COVERAGE b/t/COVERAGE
index 7f0c7c4..75cebc5 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,5 +1,5 @@
-Last generated 2012-01-22
-Coverage: 788/956 (82.43%), w. legacy tests: 894/956 (93.51%)
+Last generated 2012-02-09
+Coverage: 792/960 (82.50%), w. legacy tests: 898/960 (93.54%)
 
 The following tags are not tested by the test suite:
 
diff --git a/t/tests/changelog-file-wrong-name-upstream/debian/debian/rules 
b/t/tests/changelog-file-no-upstream-changelog/debian/debian/rules
similarity index 55%
copy from t/tests/changelog-file-wrong-name-upstream/debian/debian/rules
copy to t/tests/changelog-file-no-upstream-changelog/debian/debian/rules
index 45fbec8..f845572 100644
--- a/t/tests/changelog-file-wrong-name-upstream/debian/debian/rules
+++ b/t/tests/changelog-file-no-upstream-changelog/debian/debian/rules
@@ -1,11 +1,11 @@
 #!/usr/bin/make -f
 
 PKG:=$(shell dh_listpackages)
-DOC:=debian/$(PKG)/usr/share/doc/$(PKG)
+DOCDIR:=debian/$(PKG)/usr/share/doc/$(PKG)
 
 %:
        dh $@
 
 override_dh_installchangelogs:
        dh_installchangelogs
-       cp some-changelog $(DOC)/Changes
+       rm -f $(DOCDIR)/changelog $(DOCDIR)/changelog.gz
diff --git a/t/tests/changelog-file-no-upstream-changelog/desc 
b/t/tests/changelog-file-no-upstream-changelog/desc
new file mode 100644
index 0000000..7fbd647
--- /dev/null
+++ b/t/tests/changelog-file-no-upstream-changelog/desc
@@ -0,0 +1,8 @@
+Testname: changelog-file-no-upstream-changelog
+Sequence: 6000
+Type: non-native
+Version: 1.0-1
+Skeleton: pedantic
+Options: --pedantic -IE
+Description: Check a package without an upstream changelog
+Test-For: no-upstream-changelog
diff --git a/t/tests/changelog-file-no-upstream-changelog/tags 
b/t/tests/changelog-file-no-upstream-changelog/tags
new file mode 100644
index 0000000..20a1e7b
--- /dev/null
+++ b/t/tests/changelog-file-no-upstream-changelog/tags
@@ -0,0 +1 @@
+P: changelog-file-no-upstream-changelog: no-upstream-changelog
diff --git a/t/tests/changelog-file-extra-upstream/upstream/changelog 
b/t/tests/changelog-file-no-upstream-changelog/upstream/changelog
similarity index 100%
copy from t/tests/changelog-file-extra-upstream/upstream/changelog
copy to t/tests/changelog-file-no-upstream-changelog/upstream/changelog

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to