aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bash.xml
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-06-10 09:07:00 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-06-10 09:07:00 +0000
commitecbbbd480d1e5b50bebbab19bccbd03e2d9d8ef6 (patch)
tree82084646920fd14633a32fbc0f19530dcf96f81d /chapter06/bash.xml
parent01670aadbe681af0f2f957230b660bbee2b72565 (diff)
Added explanations to Bash testsuite commands.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8153 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/bash.xml')
-rw-r--r--chapter06/bash.xml15
1 files changed, 12 insertions, 3 deletions
diff --git a/chapter06/bash.xml b/chapter06/bash.xml
index 823542933..14208e3c1 100644
--- a/chapter06/bash.xml
+++ b/chapter06/bash.xml
@@ -70,11 +70,20 @@ sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \
<screen><userinput>make</userinput></screen>
- <para>To test the results, issue:</para>
+ <para>Skip down to <quote>Install the
+ package</quote> if not running the test suite.</para>
+
+ <para>To prepare the tests, ensure that the locale
+ setting from our environment will be used and that the <systemitem
+ class="username">nobody</systemitem> user can write to the sources tree:</para>
<screen><userinput>sed -i 's/LANG/LC_ALL/' tests/intl.tests
-chown -Rv nobody ./
-su-tools nobody -s /bin/bash -c "make tests"</userinput></screen>
+chown -Rv nobody ./</userinput></screen>
+
+ <para>Now, run the tests as the <systemitem
+ class="username">nobody</systemitem> user:</para>
+
+<screen><userinput>su-tools nobody -s /bin/bash -c "make tests"</userinput></screen>
<para>Install the package:</para>