Author: pierre
Date: Mon Aug 12 03:23:47 2019
New Revision: 21940
Log:
Some remap="test" added, one role="nodump", and one remap="doc". No change to
the rendered book, but helps jhalfs
Modified:
trunk/BOOK/general/genlib/enchant.xml
trunk/BOOK/general/genlib/keyutils.xml
trunk/BOOK/general/prog/openjdk.xml
trunk/BOOK/general/prog/rust.xml
trunk/BOOK/multimedia/libdriv/sdl.xml
trunk/BOOK/postlfs/filesystems/btrfs-progs.xml
trunk/BOOK/postlfs/filesystems/mdadm.xml
trunk/BOOK/postlfs/security/cracklib.xml
trunk/BOOK/server/databases/mariadb.xml
trunk/BOOK/server/major/bind.xml
trunk/BOOK/x/lib/fltk.xml
trunk/BOOK/xsoft/other/inkscape.xml
Modified: trunk/BOOK/general/genlib/enchant.xml
==============================================================================
--- trunk/BOOK/general/genlib/enchant.xml Sun Aug 11 22:16:34 2019
(r21939)
+++ trunk/BOOK/general/genlib/enchant.xml Mon Aug 12 03:23:47 2019
(r21940)
@@ -152,7 +152,7 @@
linkend="aspell"/>):
</para>
-<screen><userinput>cat > /tmp/test-enchant.txt << "EOF"
+<screen remap="test"><userinput>cat > /tmp/test-enchant.txt << "EOF"
<literal>Tel me more abot linux
Ther ar so many commads</literal>
EOF
Modified: trunk/BOOK/general/genlib/keyutils.xml
==============================================================================
--- trunk/BOOK/general/genlib/keyutils.xml Sun Aug 11 22:16:34 2019
(r21939)
+++ trunk/BOOK/general/genlib/keyutils.xml Mon Aug 12 03:23:47 2019
(r21940)
@@ -83,7 +83,7 @@
<para>To test the results, issue, as the
<systemitem class="username">root</systemitem> user: </para>
-<screen role="root"><userinput>sed -i '/find/s:/usr/bin/::' tests/Makefile
&&
+<screen role="root" remap="test"><userinput>sed -i '/find/s:/usr/bin/::'
tests/Makefile &&
make -k test </userinput></screen>
<para>Note that several tests will fail if certain uncommon kernel options
Modified: trunk/BOOK/general/prog/openjdk.xml
==============================================================================
--- trunk/BOOK/general/prog/openjdk.xml Sun Aug 11 22:16:34 2019 (r21939)
+++ trunk/BOOK/general/prog/openjdk.xml Mon Aug 12 03:23:47 2019 (r21940)
@@ -244,7 +244,7 @@
value in the below command (tests will run sequentially otherwise):
</para>
-<screen><userinput>export JT_JAVA=$(echo $PWD/build/*/jdk) &&
+<screen remap="test"><userinput>export JT_JAVA=$(echo $PWD/build/*/jdk)
&&
jtreg/bin/jtreg -jdk:$JT_JAVA -automatic -ignore:quiet -v1 \
test/jdk:tier1 test/langtools:tier1 &&
unset JT_JAVA</userinput></screen>
Modified: trunk/BOOK/general/prog/rust.xml
==============================================================================
--- trunk/BOOK/general/prog/rust.xml Sun Aug 11 22:16:34 2019 (r21939)
+++ trunk/BOOK/general/prog/rust.xml Mon Aug 12 03:23:47 2019 (r21940)
@@ -313,14 +313,14 @@
total number of tests which were considered is found by running:
</para>
-<screen><command>grep 'running .* tests' rustc-testlog | awk '{ sum += $2 }
END { print sum }'</command></screen>
+<screen remap="test"><userinput>grep 'running .* tests' rustc-testlog | awk '{
sum += $2 } END { print sum }'</userinput></screen>
<para>
That should report 16499 tests. Similarly, the total tests which failed
can
be found by running:
</para>
-<screen><command>grep '^test result:' rustc-testlog | awk '{ sum += $6 } END
{ print sum }'</command></screen>
+<screen remap="test"><userinput>grep '^test result:' rustc-testlog | awk '{
sum += $6 } END { print sum }'</userinput></screen>
<para>
And similarly for the tests which passed use $4, for those which were
ignored
Modified: trunk/BOOK/multimedia/libdriv/sdl.xml
==============================================================================
--- trunk/BOOK/multimedia/libdriv/sdl.xml Sun Aug 11 22:16:34 2019
(r21939)
+++ trunk/BOOK/multimedia/libdriv/sdl.xml Mon Aug 12 03:23:47 2019
(r21940)
@@ -112,7 +112,7 @@
to validate the installation. Issue the following commands to build the
test programs:</para>
-<screen><userinput>cd test &&
+<screen remap="test"><userinput>cd test &&
./configure &&
make</userinput></screen>
Modified: trunk/BOOK/postlfs/filesystems/btrfs-progs.xml
==============================================================================
--- trunk/BOOK/postlfs/filesystems/btrfs-progs.xml Sun Aug 11 22:16:34
2019 (r21939)
+++ trunk/BOOK/postlfs/filesystems/btrfs-progs.xml Mon Aug 12 03:23:47
2019 (r21940)
@@ -120,7 +120,7 @@
<para>Before running tests, build a support program and
disable several that fail:</para>
-<screen><userinput>make fssum &&
+<screen remap="test"><userinput>make fssum &&
sed -i '/found/s/^/: #/' tests/convert-tests.sh &&
@@ -134,7 +134,7 @@
<para>To test the results, issue (as the <systemitem
class="username">root</systemitem> user): </para>
-<screen><userinput>pushd tests
+<screen remap="test"><userinput>pushd tests
./fsck-tests.sh
./mkfs-tests.sh
./cli-tests.sh
Modified: trunk/BOOK/postlfs/filesystems/mdadm.xml
==============================================================================
--- trunk/BOOK/postlfs/filesystems/mdadm.xml Sun Aug 11 22:16:34 2019
(r21939)
+++ trunk/BOOK/postlfs/filesystems/mdadm.xml Mon Aug 12 03:23:47 2019
(r21940)
@@ -109,12 +109,12 @@
<para>First fix the test script to avoid a bogus error message when
tests fail and build the supporting programs:</para>
-<screen><userinput>sed -i 's# if.* == "1"#& -a -e $targetdir/log#' test
&&
+<screen remap="test"><userinput>sed -i 's# if.* == "1"#& -a -e
$targetdir/log#' test &&
make test</userinput></screen>
<para>Run the tests as the <systemitem class="username">root</systemitem>
user:</para>
-<screen role="root"><userinput>./test --keep-going --logdir=test-logs
--save-logs</userinput></screen>
+<screen role="root" remap="test"><userinput>./test --keep-going
--logdir=test-logs --save-logs</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
Modified: trunk/BOOK/postlfs/security/cracklib.xml
==============================================================================
--- trunk/BOOK/postlfs/security/cracklib.xml Sun Aug 11 22:16:34 2019
(r21939)
+++ trunk/BOOK/postlfs/security/cracklib.xml Mon Aug 12 03:23:47 2019
(r21940)
@@ -150,7 +150,7 @@
<para>If desired, check the proper operation of the library as an
unprivileged user by issuing the following command:</para>
-<screen><userinput>make test</userinput></screen>
+<screen remap="test"><userinput>make test</userinput></screen>
<important>
<para>If you are installing <application>CrackLib</application> after
Modified: trunk/BOOK/server/databases/mariadb.xml
==============================================================================
--- trunk/BOOK/server/databases/mariadb.xml Sun Aug 11 22:16:34 2019
(r21939)
+++ trunk/BOOK/server/databases/mariadb.xml Mon Aug 12 03:23:47 2019
(r21940)
@@ -176,8 +176,8 @@
<note><para>
A more extensive set of tests can be run with the following:</para>
-<screen><userinput>pushd mysql-test
-./mtr --parallel <N> --mem --force
+<screen remap="test"><userinput>pushd mysql-test
+./mtr --parallel <replaceable><N></replaceable> --mem --force
popd</userinput></screen>
<para>
Modified: trunk/BOOK/server/major/bind.xml
==============================================================================
--- trunk/BOOK/server/major/bind.xml Sun Aug 11 22:16:34 2019 (r21939)
+++ trunk/BOOK/server/major/bind.xml Mon Aug 12 03:23:47 2019 (r21940)
@@ -145,7 +145,7 @@
error messages: "RTNETLINK answers: Operation not permitted". These
messages do not affect the tests.</para></note>
-<screen role="root"><userinput>bin/tests/system/ifconfig.sh
up</userinput></screen>
+<screen role="root" remap="test"><userinput>bin/tests/system/ifconfig.sh
up</userinput></screen>
<para>The test suite may indicate some skipped tests depending on
what configuration options are used. Some tests are marked <quote>UNTESTED
@@ -157,7 +157,7 @@
<para>Again as <systemitem class="username">root</systemitem>, clean up the
test interfaces:</para>
-<screen role="root"><userinput>bin/tests/system/ifconfig.sh
down</userinput></screen>
+<screen role="root" remap="test"><userinput>bin/tests/system/ifconfig.sh
down</userinput></screen>
<para>Finally, install the package as the <systemitem
class="username">root</systemitem> user:</para>
Modified: trunk/BOOK/x/lib/fltk.xml
==============================================================================
--- trunk/BOOK/x/lib/fltk.xml Sun Aug 11 22:16:34 2019 (r21939)
+++ trunk/BOOK/x/lib/fltk.xml Mon Aug 12 03:23:47 2019 (r21940)
@@ -140,7 +140,7 @@
extra documentation and example programs. As the <systemitem
class="username">root</systemitem> user:</para>
-<screen role="root"><userinput>make -C test
docdir=/usr/share/doc/fltk-&fltk-version; install-linux &&
+<screen role="root" remap="doc"><userinput>make -C test
docdir=/usr/share/doc/fltk-&fltk-version; install-linux &&
make -C documentation docdir=/usr/share/doc/fltk-&fltk-version;
install-linux</userinput></screen>
</sect2>
Modified: trunk/BOOK/xsoft/other/inkscape.xml
==============================================================================
--- trunk/BOOK/xsoft/other/inkscape.xml Sun Aug 11 22:16:34 2019 (r21939)
+++ trunk/BOOK/xsoft/other/inkscape.xml Mon Aug 12 03:23:47 2019 (r21940)
@@ -171,7 +171,7 @@
<application>googlemock</application> by running:
</para>
-<screen><userinput>bash download-gtest.sh</userinput></screen>
+<screen remap="test"><userinput>bash download-gtest.sh</userinput></screen>
<para>
Install <application>Inkscape</application> by running the following
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page