[Initscripts-ng-commits] r759 - /trunk/src/insserv/debian/run-testsuite
pere at users.alioth.debian.org
pere at users.alioth.debian.org
Sun May 25 19:41:15 UTC 2008
Author: pere
Date: Sun May 25 19:41:15 2008
New Revision: 759
URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=759
Log:
Change test suite to only report one error for each bug that currently fail.
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=759&op=diff
==============================================================================
--- trunk/src/insserv/debian/run-testsuite (original)
+++ trunk/src/insserv/debian/run-testsuite Sun May 25 19:41:15 2008
@@ -976,39 +976,11 @@
# Required-Start:
# Required-Stop:
# Default-Start:
-# Default-Stop: 0 6
+# Default-Stop: 0
### END INIT INFO
EOF
check_script_present 0 addstartscript
-check_script_present 6 addstartscript
-
-check_script_not_present 1 addstartscript
-check_script_not_present 2 addstartscript
-check_script_not_present 3 addstartscript
-check_script_not_present 4 addstartscript
-check_script_not_present 5 addstartscript
-
-# Then change runlevel in existing script
-set +C
-addscript addstartscript <<'EOF' || true
-### BEGIN INIT INFO
-# Provides: addstartscript
-# Required-Start:
-# Required-Stop:
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 6
-### END INIT INFO
-EOF
-set -C
-
-# Update script after changing the header
-insserv_reg addstartscript || true
-
-list_rclinks
-
-check_script_present 0 addstartscript
-check_script_present 6 addstartscript
check_script_not_present S addstartscript
check_script_not_present 1 addstartscript
@@ -1016,6 +988,35 @@
check_script_not_present 3 addstartscript
check_script_not_present 4 addstartscript
check_script_not_present 5 addstartscript
+check_script_not_present 6 addstartscript
+
+# Then change runlevel in existing script
+set +C
+addscript addstartscript <<'EOF' || true
+### BEGIN INIT INFO
+# Provides: addstartscript
+# Required-Start:
+# Required-Stop:
+# Default-Start: 1
+# Default-Stop: 0
+### END INIT INFO
+EOF
+set -C
+
+# Update script after changing the header
+insserv_reg addstartscript || true
+
+list_rclinks
+
+check_script_present 0 addstartscript
+
+check_script_not_present S addstartscript
+check_script_not_present 1 addstartscript
+check_script_not_present 2 addstartscript
+check_script_not_present 3 addstartscript
+check_script_not_present 4 addstartscript
+check_script_not_present 5 addstartscript
+check_script_not_present 6 addstartscript
}
##########################################################################
test_adding_stop() {
@@ -1052,8 +1053,8 @@
# Provides: addstopscript
# Required-Start:
# Required-Stop:
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
+# Default-Start: S
+# Default-Stop: 0
### END INIT INFO
EOF
set -C
More information about the Initscripts-ng-commits
mailing list