The following commit has been merged in the master branch: commit ace61b227a9eff446297617aaababe848dfe6bff Author: Niels Thykier <ni...@thykier.net> Date: Tue Dec 28 21:03:18 2010 +0100
Test for file-in-etc-not-marked-as-conffile diff --git a/t/COVERAGE b/t/COVERAGE index 51940bf..ad5a397 100644 --- a/t/COVERAGE +++ b/t/COVERAGE @@ -240,8 +240,6 @@ debconf using-question-in-extended-description-in-templates debhelper uses-dh-python-with-no-pycompat -etcfiles file-in-etc-not-marked-as-conffile - fields build-depends-indep-without-arch-indep fields dbg-package-missing-depends fields debug-package-should-be-priority-extra @@ -510,7 +508,6 @@ debug unused-shlib-entry-in-symbols-control-file etcfiles - file-in-etc-not-marked-as-conffile file-missing-in-md5sums malformed-md5sums-control-file md5sum-mismatch diff --git a/t/tests/etcfiles-etc-not-marked/debian/debian/install b/t/tests/etcfiles-etc-not-marked/debian/debian/install new file mode 100644 index 0000000..ec665e8 --- /dev/null +++ b/t/tests/etcfiles-etc-not-marked/debian/debian/install @@ -0,0 +1 @@ +something.conf etc/ diff --git a/t/tests/etcfiles-etc-not-marked/debian/debian/rules b/t/tests/etcfiles-etc-not-marked/debian/debian/rules new file mode 100644 index 0000000..5afe3f7 --- /dev/null +++ b/t/tests/etcfiles-etc-not-marked/debian/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_builddeb: + DIR=$$(find -name 'DEBIAN'); \ + rm "$$DIR/conffiles" && \ + md5sum something.conf | sed 's/ s/ etc\/s/' >> "$$DIR/md5sums" + dh_builddeb + diff --git a/t/tests/etcfiles-etc-not-marked/debian/something.conf b/t/tests/etcfiles-etc-not-marked/debian/something.conf new file mode 100644 index 0000000..432ea47 --- /dev/null +++ b/t/tests/etcfiles-etc-not-marked/debian/something.conf @@ -0,0 +1 @@ +hello=world diff --git a/t/tests/etcfiles-etc-not-marked/desc b/t/tests/etcfiles-etc-not-marked/desc new file mode 100644 index 0000000..60b86e7 --- /dev/null +++ b/t/tests/etcfiles-etc-not-marked/desc @@ -0,0 +1,5 @@ +Testname: etcfiles-etc-not-marked +Sequence: 6000 +Version: 1.0 +Description: Test checking etc files not being marked as conffiles +Test-For: file-in-etc-not-marked-as-conffile diff --git a/t/tests/etcfiles-etc-not-marked/tags b/t/tests/etcfiles-etc-not-marked/tags new file mode 100644 index 0000000..172788d --- /dev/null +++ b/t/tests/etcfiles-etc-not-marked/tags @@ -0,0 +1 @@ +E: etcfiles-etc-not-marked: file-in-etc-not-marked-as-conffile /etc/something.conf -- 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 Archive: http://lists.debian.org/e1pxfnm-0000un...@alioth.debian.org