[Initscripts-ng-commits] r495 - /trunk/src/insserv/debian/run-testsuite
pere at users.alioth.debian.org
pere at users.alioth.debian.org
Fri Jan 11 08:53:32 UTC 2008
Author: pere
Date: Fri Jan 11 08:53:32 2008
New Revision: 495
URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=495
Log:
Update test to verify that the symlinks are present before checking if they are removed.
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=495&op=diff
==============================================================================
--- trunk/src/insserv/debian/run-testsuite (original)
+++ trunk/src/insserv/debian/run-testsuite Fri Jan 11 08:53:32 2008
@@ -607,9 +607,9 @@
echo
# This test check that the common way to update the runlevels used by
# a given script is working. It simulates these calls to update-rc.d:
-# update-rc.d hotkey-setup default
-# update-rc.d -f hotkey-setup remove
-# update-rc.d hotkey-setup start 20 2 3 4 5 . stop 20 1 .
+# update-rc.d oldscript default
+# update-rc.d -f oldscript remove
+# update-rc.d oldscript start 20 2 3 4 5 . stop 20 1 .
rm -rf $initddir
mkdir -p $initddir
@@ -625,6 +625,12 @@
### END INIT INFO
EOF
+# Check that the problematic symlinks are presend, as well as one that
+# is OK.
+check_script_present 0 oldscript
+check_script_present 1 oldscript
+check_script_present 6 oldscript
+
addscript oldscript <<'EOF' || true
### BEGIN INIT INFO
# Provides: oldscript
More information about the Initscripts-ng-commits
mailing list