diff options
author | Dan Nichilson <dnicholson@linuxfromscratch.org> | 2007-08-11 17:00:48 +0000 |
---|---|---|
committer | Dan Nichilson <dnicholson@linuxfromscratch.org> | 2007-08-11 17:00:48 +0000 |
commit | b2f6f2443f0132a8b7590818cd440506ef4a3256 (patch) | |
tree | 0f7907a5ed461a5bdfd44b79b8bf273e8e9e0d65 /chapter06 | |
parent | a44a1c3a1f5be8912c5c402d8fe544a761f7dcb4 (diff) |
Change bash stdin test fix to affect only the necessary script
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8309 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/bash.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/chapter06/bash.xml b/chapter06/bash.xml index 56d077a22..a6a694b86 100644 --- a/chapter06/bash.xml +++ b/chapter06/bash.xml @@ -75,16 +75,17 @@ sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \ <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> + class="username">nobody</systemitem> user can read the standard input + device and write to the sources tree:</para> <screen><userinput>sed -i 's/LANG/LC_ALL/' tests/intl.tests +sed -i 's@tests@& </dev/tty@' tests/run-test chown -Rv nobody ./</userinput></screen> <para>Now, run the tests as the <systemitem - class="username">nobody</systemitem> user, ensuring that the standard - input device is readable:</para> + class="username">nobody</systemitem> user:</para> -<screen><userinput>su-tools nobody -s /bin/bash -c "make tests" </dev/tty</userinput></screen> +<screen><userinput>su-tools nobody -s /bin/bash -c "make tests"</userinput></screen> <para>Install the package:</para> |