From 821470c373ebd37c4916908ea7bdcc3de08d040a Mon Sep 17 00:00:00 2001 From: Dan Nichilson Date: Sat, 11 Aug 2007 17:08:38 +0000 Subject: Merge r8309 from trunk git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.3/BOOK@8310 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 7 +++++-- chapter06/bash.xml | 9 +++++---- general.ent | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 0f8b3046c..6812b0b8b 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,16 +36,19 @@ --> - 2007-08-11 + + [dnicholson] - Changed the Bash testsuite standard input fix + to only affect the necessary test script. + [bdubbs] - Created LFS 6.3-rc-2.. [bdubbs] - Upgrade to Linux-2.6.22.1, fixes - #2059. + #2059. 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;|" \ To prepare the tests, ensure that the locale setting from our environment will be used and that the nobody user can write to the sources tree: + class="username">nobody user can read the standard input + device and write to the sources tree: sed -i 's/LANG/LC_ALL/' tests/intl.tests +sed -i 's@tests@& </dev/tty@' tests/run-test chown -Rv nobody ./ Now, run the tests as the nobody user, ensuring that the standard - input device is readable: + class="username">nobody user: -su-tools nobody -s /bin/bash -c "make tests" </dev/tty +su-tools nobody -s /bin/bash -c "make tests" Install the package: diff --git a/general.ent b/general.ent index fe4cb69c1..998233521 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - + -- cgit v1.2.3-54-g00ecf