From b2f6f2443f0132a8b7590818cd440506ef4a3256 Mon Sep 17 00:00:00 2001 From: Dan Nichilson Date: Sat, 11 Aug 2007 17:00:48 +0000 Subject: 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 --- chapter06/bash.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'chapter06') 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: -- cgit v1.2.3-54-g00ecf