jhalfs does not parse procps-ng test correctly

Pierre Labastie pierre.labastie at neuf.fr
Tue Feb 19 10:36:32 PST 2013


Hi,

The file /mnt/lfs/jhalfs/lfs-commands/chapter06/087-procps-ng
contains:
[...]
pushd testsuite
   sed -i 's|exec which sleep|exec echo /tools/bin/sleep|' config/unix.exp
   sed -i 's|pmap_initname\\\$|pmap_initname|'             
pmap.test/pmap.exp
   make site.exp
   DEJAGNU=global-conf.exp runtest
popd >> $TEST_LOG 2>&1
[...]
This is not what is wanted I guess...
I attach a patch which creates :
{ pushd testsuite
   sed -i 's|exec which sleep|exec echo /tools/bin/sleep|' config/unix.exp
   sed -i 's|pmap_initname\\\$|pmap_initname|'             
pmap.test/pmap.exp
   make site.exp
   DEJAGNU=global-conf.exp runtest
popd; } >> $TEST_LOG 2>&1

The last line has an additional || true if we should not stop on errors.

Let me know if I should commit it

Regards
Pierre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: procps-ng-fix-testlog.patch
Type: text/x-patch
Size: 2004 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/alfs-discuss/attachments/20130219/2390256c/attachment.bin>


More information about the alfs-discuss mailing list