From 31d3f3218663df11fbc3f51e558c75a87fe5a5dd Mon Sep 17 00:00:00 2001 From: Dan Nichilson Date: Wed, 8 Aug 2007 18:10:57 +0000 Subject: 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 --- chapter06/bash.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chapter06') diff --git a/chapter06/bash.xml b/chapter06/bash.xml index ba08418f3..56d077a22 100644 --- a/chapter06/bash.xml +++ b/chapter06/bash.xml @@ -81,9 +81,10 @@ sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \ chown -Rv nobody ./ Now, run the tests as the nobody user: + class="username">nobody user, ensuring that the standard + input device is readable: -su-tools nobody -s /bin/bash -c "make tests" +su-tools nobody -s /bin/bash -c "make tests" </dev/tty Install the package: -- cgit v1.2.3-54-g00ecf