aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bash.xml
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2020-05-26 12:25:21 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2020-05-26 12:25:21 +0000
commit59b66d792f68908b95b7d91d45d5573722d9ec82 (patch)
tree849b8c7b019ae786c8b90d36ce1e06d476927f16 /chapter06/bash.xml
parentda99f961a5959cf5a6c01660377df41b5168046c (diff)
Fix various test failures:
- bison and man-db: use a symlink: tools/share/locale->/usr/share/locale/locale-archive so that the installed locales are found by programs not yet installed in /usr - vim: upstade to 8.2.0814 (used for testing by several persons) - sed in automake, fixes one test - patch for gold: allows its testsuite to run - mount /dev/pts as --bind: foxes a test in coreutils - bash: use su << EOF instead of su -c, to keep a controlling terminal git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11859 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/bash.xml')
-rw-r--r--chapter06/bash.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/chapter06/bash.xml b/chapter06/bash.xml
index adeec10a4..953c4ad72 100644
--- a/chapter06/bash.xml
+++ b/chapter06/bash.xml
@@ -80,7 +80,14 @@
<para>Now, run the tests as the <systemitem
class="username">nobody</systemitem> user:</para>
-<screen><userinput remap="test">su nobody -s /bin/bash -c "PATH=$PATH HOME=/home make tests"</userinput></screen>
+<screen><userinput remap="test">su nobody -s /bin/bash &lt;&lt; EOF
+PATH=$PATH HOME=/home make tests
+EOF</userinput></screen>
+
+ <para>The <command>su</command> command above is slightly different from
+ other places in the book. The
+ reason is that the <option>-c</option> option runs the command without
+ a controlling terminal, while the bash test suite needs one.</para>
<para>Install the package and move the main executable to
<filename class='directory'>/bin</filename>:</para>