Ticket #3293: fix-props-test.patch

File fix-props-test.patch, 1.2 KB (added by Pierre Labastie, 12 years ago)
  • chapter06/procps.xml

    old new  
    7474<screen><userinput remap="make">make</userinput></screen>
    7575
    7676    <para>The test suite needs some custom modifications for LFS.
    77     The <command>which</command> is not available and the
     77    The <command>which</command> command is not available, the
    7878    <command>pmap</command> test does not match a newline character in
    79     two tests. To run the test suite, run the following commands:</para>
     79    two tests, and the <command>slabtop</command> test may return more than
     80    999,999 objects. To run the test suite, run the following commands:</para>
    8081
    8182<screen><userinput remap="test">pushd testsuite
    82   sed -i 's|exec which sleep|exec echo /tools/bin/sleep|' config/unix.exp
     83  sed -i -e 's|exec which sleep|exec echo /tools/bin/sleep|' \
     84         -e 's|999999|&amp;9|'                                config/unix.exp
    8385  sed -i 's|pmap_initname\\\$|pmap_initname|'             pmap.test/pmap.exp
    8486  make site.exp
    8587  DEJAGNU=global-conf.exp runtest