[Initscripts-ng-commits] r328 - /trunk/src/insserv/debian/run-testsuite
pere at users.alioth.debian.org
pere at users.alioth.debian.org
Sat Dec 29 18:21:27 UTC 2007
Author: pere
Date: Sat Dec 29 18:21:27 2007
New Revision: 328
URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=328
Log:
Add test for X-Start-Before.
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=328&op=diff
==============================================================================
--- trunk/src/insserv/debian/run-testsuite (original)
+++ trunk/src/insserv/debian/run-testsuite Sat Dec 29 18:21:27 2007
@@ -131,6 +131,17 @@
### END INIT INFO
EOF
+insertscript beforenfs <<EOF
+### BEGIN INIT INFO
+# Provides: beforenfs
+# Required-Start: $local_fs
+# Required-Stop:
+# X-Start-Before: mountnfs
+# Default-Start: S
+# Default-Stop:
+### END INIT INFO
+EOF
+
insertscript daemon <<EOF
#### BEGIN INIT INFO
# Provides: daemon
@@ -201,6 +212,8 @@
check_order S ifupdown-clean ifupdown
check_order S ifupdown-clean ifupdown
check_order S mountall.sh mountnfs.sh
+check_order S mountall.sh beforenfs
+check_order S beforenfs mountnfs.sh
check_order 0 daemon umountnfs
check_order 0 umountroot halt
@@ -208,7 +221,6 @@
check_order 6 daemon umountnfs
check_order 6 umountfs umountroot
check_order 6 umountnfs umountfs
-
rm -rf $tmpdir
if [ 0 != $retval ] ; then
More information about the Initscripts-ng-commits
mailing list