The following commit has been merged in the master branch:
commit 6de8f8a3b3906ecc9ac8b48cee1eb0166c2755c9
Author: Niels Thykier <ni...@thykier.net>
Date:   Mon Dec 27 11:27:08 2010 +0100

    Added test for debian-rules-is-symlink and remembered to commit
    the updated COVERAGE file this time.

diff --git a/t/COVERAGE b/t/COVERAGE
index b665a42..b67d658 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,4 +1,4 @@
-Last generated 2010-12-26
+Last generated 2010-12-27
 
 The following tags are not tested by the test suite:
 
@@ -163,8 +163,6 @@ po-debconf missing-potfiles-in
 po-debconf missing-templates-pot
 po-debconf not-using-po-debconf
 
-rules debian-rules-is-symlink
-
 scripts csh-considered-harmful
 scripts killall-is-dangerous
 scripts maintainer-script-needs-depends-on-adduser
@@ -221,8 +219,6 @@ control-files control-file-is-empty
 copyright-file old-fsf-address-in-copyright-file
 copyright-file usr-share-doc-symlink-without-dependency
 
-cruft native-package-with-dash-version
-
 debconf config-does-not-load-confmodule
 debconf debconf-config-not-executable
 debconf loads-obsolete-confmodule
@@ -467,7 +463,6 @@ binary
   menu-item-uses-apps-section
   menu-item-uses-windowmanagers-section
   menu-method-should-include-menu-h
-  native-package-with-dash-version
   no-md5sums-control-file
   non-wm-in-windowmanager-menu-section
   non-wm-module-in-wm-modules-menu-section
diff --git a/t/source/changelog-file-symlink/rules 
b/t/tests/rules-symlink/debian/debian/rules.real
old mode 100755
new mode 100644
similarity index 96%
copy from t/source/changelog-file-symlink/rules
copy to t/tests/rules-symlink/debian/debian/rules.real
index cbe925d..2d33f6a
--- a/t/source/changelog-file-symlink/rules
+++ b/t/tests/rules-symlink/debian/debian/rules.real
@@ -1,3 +1,4 @@
 #!/usr/bin/make -f
+
 %:
        dh $@
diff --git a/t/tests/rules-symlink/desc b/t/tests/rules-symlink/desc
new file mode 100644
index 0000000..7664dd9
--- /dev/null
+++ b/t/tests/rules-symlink/desc
@@ -0,0 +1,6 @@
+Testname: rules-symlink
+Sequence: 6000
+Version: 1.0
+Description: Test for debian/rules being a symlink
+Test-For:
+ debian-rules-is-symlink
diff --git a/t/tests/rules-symlink/pre_build b/t/tests/rules-symlink/pre_build
new file mode 100755
index 0000000..c887d2c
--- /dev/null
+++ b/t/tests/rules-symlink/pre_build
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Create d/rules as a symlink.
+
+ROOT_DIR="$1"
+
+ln -fs rules.real "${ROOT_DIR}/debian/rules"
diff --git a/t/tests/rules-symlink/tags b/t/tests/rules-symlink/tags
new file mode 100644
index 0000000..0251b44
--- /dev/null
+++ b/t/tests/rules-symlink/tags
@@ -0,0 +1 @@
+W: rules-symlink source: debian-rules-is-symlink

-- 
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/e1pxaku-0002nt...@alioth.debian.org

Reply via email to