[Initscripts-ng-commits] r956 - in /trunk/src/insserv/debian: changelog run-testsuite

pere at users.alioth.debian.org pere at users.alioth.debian.org
Tue Aug 18 12:54:34 UTC 2009


Author: pere
Date: Tue Aug 18 12:54:34 2009
New Revision: 956

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=956
Log:
Correct test test_early_all to fail if  do not work with stop sequences, as documented in #542043.

Modified:
    trunk/src/insserv/debian/changelog
    trunk/src/insserv/debian/run-testsuite

Modified: trunk/src/insserv/debian/changelog
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/changelog?rev=956&op=diff
==============================================================================
--- trunk/src/insserv/debian/changelog (original)
+++ trunk/src/insserv/debian/changelog Tue Aug 18 12:54:34 2009
@@ -23,6 +23,8 @@
   * Add new test case test_insserv_virt_loop to reproduce a bug reported
     by Raphael Geissert, where an incorrect insserv.conf will make
     insserv hang forever.
+  * Correct test test_early_all to fail if $all do not work with stop
+    sequences, as documented in #542043.
 
   [ Kel Modderman ]
   * Add new patch 20_install_perms_fixup.patch to install binary and

Modified: trunk/src/insserv/debian/run-testsuite
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/run-testsuite?rev=956&op=diff
==============================================================================
--- trunk/src/insserv/debian/run-testsuite (original)
+++ trunk/src/insserv/debian/run-testsuite Tue Aug 18 12:54:34 2009
@@ -1744,8 +1744,9 @@
 ##########################################################################
 test_early_all() {
 echo
-echo "info: Check that \$all only affect the start or stop sequence"
-echo "BTS #485307"
+echo "info: Check that start dependency on \$all only affect the start"
+echo "sequence. BTS #485307"
+
 echo
 
 initdir_purge
@@ -1782,9 +1783,9 @@
 EOF
 
 # This script should start early and stop before all other scripts
-insertscript complex <<'EOF' || true
-### BEGIN INIT INFO
-# Provides:          compex
+insertscript zcomplex <<'EOF' || true
+### BEGIN INIT INFO
+# Provides:          zcompex
 # Required-Start:    early
 # X-Start-Before:    center
 # Required-Stop:     $all
@@ -1796,10 +1797,11 @@
 list_rclinks
 
 check_script_present 2 early
-check_script_present 2 complex
-check_order 2 early complex
-check_order 2 complex center
-check_order 0 complex late
+check_script_present 2 zcomplex
+check_order 2 early zcomplex
+check_order 2 zcomplex center
+check_order 0 zcomplex late
+check_order 0 zcomplex early
 }
 ##########################################################################
 test_script_in_runlevel() {




More information about the Initscripts-ng-commits mailing list