[SCM] Debian package checker branch, master, updated. 2.2.14-44-gfee7702
The following commit has been merged in the master branch:
commit c041a39f143d31f1dc82817c6baa6dff40060e3b
Author: Raphael Geissert <atomo64@gmail.com>
Date: Tue Aug 25 12:29:00 2009 -0500
Check some init script LSB header tags
diff --git a/t/tests/init.d-general/debian/debian/init.d-general.init b/t/tests/init.d-lsb-headers/debian/debian/init.d-lsb-headers.init
similarity index 86%
copy from t/tests/init.d-general/debian/debian/init.d-general.init
copy to t/tests/init.d-lsb-headers/debian/debian/init.d-lsb-headers.init
index c277e99..620d667 100644
--- a/t/tests/init.d-general/debian/debian/init.d-general.init
+++ b/t/tests/init.d-lsb-headers/debian/debian/init.d-lsb-headers.init
@@ -6,8 +6,8 @@ set -e
# Provides: nothing
# Required-Start:
# Required-Stop:
-# Default-Start:
-# Default-Stop:
+# Default-Start: X
+# Default-Stop: S Y
# Short-Description: Do nothing at all
### END INIT INFO
diff --git a/t/tests/init.d-lsb-headers/desc b/t/tests/init.d-lsb-headers/desc
new file mode 100644
index 0000000..58499c1
--- /dev/null
+++ b/t/tests/init.d-lsb-headers/desc
@@ -0,0 +1,8 @@
+Testname: init.d-lsb-headers
+Sequence: 6000
+Version: 1.0
+Description: Test tags related to the init.d lsb header checks
+Test-For:
+ init.d-script-has-bad-start-runlevel
+ init.d-script-has-bad-stop-runlevel
+ init-d-script-stops-in-s-runlevel
diff --git a/t/tests/init.d-lsb-headers/tags b/t/tests/init.d-lsb-headers/tags
new file mode 100644
index 0000000..0fe75cb
--- /dev/null
+++ b/t/tests/init.d-lsb-headers/tags
@@ -0,0 +1,3 @@
+W: init.d-lsb-headers: init-d-script-stops-in-s-runlevel /etc/init.d/init.d-lsb-headers
+W: init.d-lsb-headers: init.d-script-has-bad-start-runlevel /etc/init.d/init.d-lsb-headers X
+W: init.d-lsb-headers: init.d-script-has-bad-stop-runlevel /etc/init.d/init.d-lsb-headers Y
--
Debian package checker
Reply to: