- Timestamp:
- 02/19/2008 07:54:40 PM (17 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- be53dbd
- Parents:
- af09574
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/grep.xml
raf09574 re577c86e 42 42 43 43 <para>The current Grep package has many bugs, especially in the support of 44 multibyte locales. RedHat fixed some of them with the following patch:</para> 44 multibyte locales. The following consolidated patch from Debian fixes some of them, 45 improves the number of individual tests which are passed, and much improves the 46 speed in UTF-8 locales:</para> 47 48 <screen><userinput remap="pre">patch -Np1 -i ../&grep-debian-patch;</userinput></screen> 49 50 <para>Upstream have fixed some of the documentation, and changed some of the 51 tests and the expected results in the newest test scripts. This means that 52 not so many of the individual tests fail:</para> 45 53 46 54 <screen><userinput remap="pre">patch -Np1 -i ../&grep-fixes-patch;</userinput></screen> 47 48 <para>In order for the tests added by this patch to pass, the permissions for49 the test file have to be changed:</para>50 51 <screen><userinput remap="pre">chmod +x tests/fmbtest.sh</userinput></screen>52 55 53 56 <para>Prepare Grep for compilation:</para> … … 61 64 <para>To test the results, issue:</para> 62 65 63 <screen><userinput remap="test">make check</userinput></screen> 66 <screen><userinput remap="test">make check || true</userinput></screen> 67 68 <para>There are known test failures in the <command>foad1.sh</command> and 69 <command>fmbtest.sh</command> tests. The "|| true" construct is 70 used to avoid build automated build scripts failing due to the test failures. 71 A good run will show 2 failures from 14 tests, but if you look at the 72 output you will see in excess of forty individual tests which failed - these 73 are all in the new tests added since the previous version.</para> 64 74 65 75 <para>Install the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.