Bug running LFS bash tests with jhalfs-2.3

Dan Nicholson dbn.lists at gmail.com
Wed Aug 1 08:29:16 PDT 2007

I'm hitting a bug running the testsuite for bash in Ch. 6. The problem
is that the stylesheet tries to add "-k" to make tests since I'm using
bomb-testsuite=n. It's ends up being applied to the previous block
too, and the build bombs because it tries to execute 'sed -i ... -k

Attached is a patch to fix this. It also means that the chown command
won't always return successfully with "|| true". Below is the
difference in the command outputs. I can apply this if you'd like.

diff -pNur lfs-commands.orig/chapter06/084-bash lfs-commands/chapter06/084-bash
--- lfs-commands.orig/chapter06/084-bash        2007-08-01
08:05:36.000000000 -0700
+++ lfs-commands/chapter06/084-bash     2007-08-01 08:20:39.000000000 -0700
@@ -10,8 +10,8 @@ patch -Np1 -i ../bash-3.2-fixes-5.patch
 ./configure --prefix=/usr --bindir=/bin \
     --without-bash-malloc --with-installed-readline
-sed -i 's/LANG/LC_ALL/' -k tests/intl.tests
-chown -Rv nobody ./ >> $TEST_LOG 2>&1 || true
+sed -i 's/LANG/LC_ALL/' tests/intl.tests
+chown -Rv nobody ./
 su-tools nobody -s /bin/bash -c "make -k tests" >> $TEST_LOG 2>&1 || true
 make install
\ No newline at end of file

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jhalfs-2.3-bash-tests.patch
Type: text/x-patch
Size: 918 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/alfs-discuss/attachments/20070801/01dc240b/attachment.bin>

More information about the alfs-discuss mailing list