[Initscripts-ng-commits] r1054 - in /trunk/src/insserv/debian: changelog make-testsuite
pere at users.alioth.debian.org
pere at users.alioth.debian.org
Thu May 6 22:04:07 UTC 2010
Author: pere
Date: Thu May 6 22:04:06 2010
New Revision: 1054
URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=1054
Log:
Improve the output from make-testsuite.
Modified:
trunk/src/insserv/debian/changelog
trunk/src/insserv/debian/make-testsuite
Modified: trunk/src/insserv/debian/changelog
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/changelog?rev=1054&op=diff
==============================================================================
--- trunk/src/insserv/debian/changelog (original)
+++ trunk/src/insserv/debian/changelog Thu May 6 22:04:06 2010
@@ -6,6 +6,7 @@
* Add 100_show.patch which allows insserv --showall to dump start/stop
bit, sequence number, runlevels and script name in the format:
SK:NUM:RUNLEVELS:SCRIPT. (Closes: #573004)
+ * Improve the output from make-testsuite.
-- Kel Modderman <kel at otaku42.de> Mon, 03 May 2010 19:12:23 +1000
Modified: trunk/src/insserv/debian/make-testsuite
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/make-testsuite?rev=1054&op=diff
==============================================================================
--- trunk/src/insserv/debian/make-testsuite (original)
+++ trunk/src/insserv/debian/make-testsuite Thu May 6 22:04:06 2010
@@ -3,9 +3,12 @@
# Extract key information from the current to try to generate a test
# suite script to demonstrate detected bugs.
-echo "cat <<'EOF' > \$tmpdir\$insconf"
+echo 'set +C'
+echo "cat <<'EOF' > \$insconf"
grep -v '#' /etc/insserv.conf |grep -v '^$'
echo "EOF"
+echo 'set -C'
+echo
for f in /etc/init.d/*; do
name=$(basename $f)
@@ -21,6 +24,8 @@
esac
done
+echo 'cd $tmpdir/etc'
+echo 'mkdir rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d rcS.d'
cd /etc
for f in rc?.d/*; do
case $f in
@@ -31,3 +36,6 @@
;;
esac
done
+
+echo
+echo list_rclinks
More information about the Initscripts-ng-commits
mailing list