mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
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:
parent
954ca05ade
commit
31d3f32186
@ -39,6 +39,12 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>2007-08-07</para>
|
<para>2007-08-07</para>
|
||||||
<itemizedlist>
|
<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>
|
<listitem>
|
||||||
<para>[dnicholson] - Added the <parameter>--disable-werror</parameter>
|
<para>[dnicholson] - Added the <parameter>--disable-werror</parameter>
|
||||||
parameter to Binutils Pass 1.</para>
|
parameter to Binutils Pass 1.</para>
|
||||||
|
@ -81,9 +81,10 @@ sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \
|
|||||||
chown -Rv nobody ./</userinput></screen>
|
chown -Rv nobody ./</userinput></screen>
|
||||||
|
|
||||||
<para>Now, run the tests as the <systemitem
|
<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" </dev/tty</userinput></screen>
|
||||||
|
|
||||||
<para>Install the package:</para>
|
<para>Install the package:</para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user