[Initscripts-ng-commits] r848 - /trunk/src/insserv/debian/run-testsuite

kelmo-guest at users.alioth.debian.org kelmo-guest at users.alioth.debian.org
Thu Aug 28 16:06:00 UTC 2008


Author: kelmo-guest
Date: Thu Aug 28 16:06:00 2008
New Revision: 848

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=848
Log:
Add line breaks between each test function for enhanced readability.

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

Modified: trunk/src/insserv/debian/run-testsuite
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/run-testsuite?rev=848&op=diff
==============================================================================
--- trunk/src/insserv/debian/run-testsuite (original)
+++ trunk/src/insserv/debian/run-testsuite Thu Aug 28 16:06:00 2008
@@ -305,7 +305,7 @@
 check_order 6 umountroot kexec
 check_order 6 kexec reboot
 }
-
+##########################################################################
 test_override_files() {
 echo
 echo "info: test if override files replace headers in the file"
@@ -355,7 +355,7 @@
 # Make sure the override file moved mover before base
 check_order S mover base
 }
-
+##########################################################################
 test_override_loop() {
 echo
 echo "info: testing to insert scripts with a loop, and the effect of an override file"
@@ -406,8 +406,7 @@
 
 check_order S loop1 loop2
 }
-
-
+##########################################################################
 test_long_loop() {
 echo
 echo "info: testing to insert scripts with a longer loop, making sure it fail"
@@ -451,7 +450,7 @@
     error "inserting script causing a loop did not fail"
 fi
 }
-
+##########################################################################
 test_combined_loop() {
 # Test real loop in the combined start and stop sequence.  There is no
 # loop in the start sequence, and no loop in the stop sequence, but in
@@ -490,7 +489,7 @@
 test_order S startfirst startsecond
 test_order 6 startsecond startfirst
 }
-
+##########################################################################
 test_fake_loop() {
 # Test another fake loop.  This one should work, as it is possible to
 # install the two scripts in sequence because one of the dependencies
@@ -527,7 +526,7 @@
 check_order S startfirst_stopfirst startsecond_stoplast
 check_order 6 startfirst_stopfirst startsecond_stoplast
 }
-
+##########################################################################
 test_fake_loop_reverse() {
 # Test another fake loop using reverse dependencies to document that
 # it can happen based on information provided in one package only.
@@ -569,7 +568,7 @@
 check_order S startfirst_stopfirst startsecond_stoplast
 check_order 6 startfirst_stopfirst startsecond_stoplast 
 }
-
+##########################################################################
 test_badscript() {
 echo
 echo "info: test if bad script in init.d/ with no symlinks in rc*.d/ make problems"
@@ -601,7 +600,7 @@
 
 check_script_present S distroglobal
 }
-
+##########################################################################
 test_onlystart() {
 echo
 echo "info: check that it work to insert scripts with only start runlevels"
@@ -630,7 +629,7 @@
 check_script_not_present 1 onlystart
 check_script_not_present 6 onlystart
 }
-
+##########################################################################
 test_onlystop() {
 echo
 echo "info: check that it work to insert scripts with only stop runlevels"
@@ -665,7 +664,7 @@
 check_script_not_present 5 onlystop
 check_script_not_present S onlystop
 }
-
+##########################################################################
 test_removal() {
 echo
 echo "info: test if script removal removes all symlinks."




More information about the Initscripts-ng-commits mailing list