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

pere at users.alioth.debian.org pere at users.alioth.debian.org
Mon Dec 31 16:34:35 UTC 2007


Author: pere
Date: Mon Dec 31 16:34:34 2007
New Revision: 379

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=379
Log:
Make sure the same override path is used everywhere during the test.

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=379&op=diff
==============================================================================
--- trunk/src/insserv/debian/run-testsuite (original)
+++ trunk/src/insserv/debian/run-testsuite Mon Dec 31 16:34:34 2007
@@ -5,6 +5,7 @@
 
 insserv=`pwd`/insserv
 insconf=$tmpdir/insserv.conf
+overridedir=$tmpdir/insserv/override
 
 retval=0
 
@@ -14,7 +15,7 @@
 
 insserv_reg() {
     script=$initddir/$1
-    $insserv $debug -c $insconf -p $initddir -o $tmpdir/insserv/override $script
+    $insserv $debug -c $insconf -p $initddir -o $overridedir $script
 }
 
 insertscript() {
@@ -342,8 +343,8 @@
 EOF
 
 # Test if override file can be used to break the loop
-mkdir -p $tmpdir/insserv/override
-cat <<'EOF' > $tmpdir/insserv/override/loop1
+mkdir -p $overridedir
+cat <<'EOF' > $overridedir/loop1
 ### BEGIN INIT INFO
 # Provides:          loop1
 # Required-Start:




More information about the Initscripts-ng-commits mailing list