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

[SCM] Debian package checker branch, master, updated. 2.5.2-28-g9f4ec5d



The following commit has been merged in the master branch:
commit 9f4ec5dc6c5a2363f57ea2c610e17c32c7fa25ae
Author: Niels Thykier <niels@thykier.net>
Date:   Tue Aug 16 20:32:20 2011 +0200

    Updated new test suite coverage; all tags in libbaz covered

diff --git a/t/COVERAGE b/t/COVERAGE
index 6492c71..2cb88b0 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,5 +1,5 @@
 Last generated 2011-08-16
-Coverage: 689/915 (75.30%), w. legacy tests: 815/915 (89.07%)
+Coverage: 690/915 (75.41%), w. legacy tests: 815/915 (89.07%)
 
 The following tags are not tested by the test suite:
 
@@ -231,7 +231,6 @@ menus maintainer-script-does-not-check-for-existence-of-wm-menu-config
 menus menu-file-in-usr-lib
 menus menu-method-should-include-menu-h
 menus postinst-does-not-call-updatemenus
-menus postinst-should-not-set-usr-doc-link
 menus postrm-does-not-call-updatemenus
 
 nmu changelog-should-mention-qa
@@ -371,7 +370,6 @@ filenames
 foo++
 
 libbaz
-  postinst-should-not-set-usr-doc-link
 
 maintainer-scripts
   changelog-should-mention-qa
diff --git a/t/tests/menus-usr-doc-link/debian/debian/postinst b/t/tests/menus-usr-doc-link/debian/debian/postinst
new file mode 100644
index 0000000..621f250
--- /dev/null
+++ b/t/tests/menus-usr-doc-link/debian/debian/postinst
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e 
+
+PKG=menus-usr-doc-link
+
+if [ "$1" = "configure" ] ; then
+    if [ -d /usr/doc -a ! -e /usr/doc/$PKG -a -d /usr/share/doc/$PKG ] ; then
+        ln -sf ../share/doc/$PKG /usr/doc/$PKG
+    fi
+fi
+
+#DEBHELPER#
+
diff --git a/t/tests/menus-usr-doc-link/desc b/t/tests/menus-usr-doc-link/desc
new file mode 100644
index 0000000..7553364
--- /dev/null
+++ b/t/tests/menus-usr-doc-link/desc
@@ -0,0 +1,5 @@
+Testname: menus-usr-doc-link
+Sequence: 6000
+Version: 1.0
+Description: Test for setting the usr-doc link in postinst
+Test-For: postinst-should-not-set-usr-doc-link
diff --git a/t/tests/menus-usr-doc-link/tags b/t/tests/menus-usr-doc-link/tags
new file mode 100644
index 0000000..3c6d2ee
--- /dev/null
+++ b/t/tests/menus-usr-doc-link/tags
@@ -0,0 +1 @@
+W: menus-usr-doc-link: postinst-should-not-set-usr-doc-link

-- 
Debian package checker


Reply to: