Fix bash stdin test to work when switching users

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8294 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Dan Nichilson 2007-08-08 18:10:57 +00:00
parent 954ca05ade
commit 31d3f32186
2 changed files with 9 additions and 2 deletions

View File

@ -39,6 +39,12 @@
<listitem>
<para>2007-08-07</para>
<itemizedlist>
<listitem>
<para>[dnicholson] - Redirected <filename
class="devicefile">/dev/tty</filename> to standard input when
running the Bash testsuite to prevent errors with terminal
permissions.</para>
</listitem>
<listitem>
<para>[dnicholson] - Added the <parameter>--disable-werror</parameter>
parameter to Binutils Pass 1.</para>

View File

@ -81,9 +81,10 @@ sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \
chown -Rv nobody ./</userinput></screen>
<para>Now, run the tests as the <systemitem
class="username">nobody</systemitem> user:</para>
class="username">nobody</systemitem> user, ensuring that the standard
input device is readable:</para>
<screen><userinput>su-tools nobody -s /bin/bash -c "make tests"</userinput></screen>
<screen><userinput>su-tools nobody -s /bin/bash -c "make tests" &lt;/dev/tty</userinput></screen>
<para>Install the package:</para>