[lsb-discuss] Tests for libc APIs

Stew Benedict stewb at linux-foundation.org
Thu Oct 25 04:42:51 PDT 2007

On Wed, 24 Oct 2007, Pavan Naregundi wrote:

> Hi,
>    I and Munipradeep wrote tests for inet_aton, posix_fallocate,
> posix_fadvise, posix_madvise APIs of libc. I have attached corresponding
> patch files(lts_li18nux2k.l1-3.1.90.tgz.patch - inet_aton and
> lts_vsx-pcts-3.1.90.tgz.patch - posix_fallocate, posix_fadvise,
> posix_madvise). I request LSB community to review our patches and reply
> to us with the review comments.

I don't seem to be able to do much with your patches.  I'll have to say I 
haven't really used patches to binaries before, so it may be user error. 
These tarballs are also regenerated each build, so it may be that your 
tarball is not the same as mine.

SLES10-presario30:~/rpm/BUILD/lsb-test-core-3.1.90$ patch -p0 --dry-run < 
patching file lts_li18nux2k.l1-3.1.90.tgz
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 605.
Hunk #3 succeeded at 7052 with fuzz 2 (offset 4620 lines).
Hunk #4 FAILED at 7066.
Hunk #5 FAILED at 7076.
Hunk #6 FAILED at 7129.
Hunk #7 FAILED at 10100.
Hunk #8 FAILED at 10110.
7 out of 8 hunks FAILED -- saving rejects to file 

SLES10-presario30:~/rpm/BUILD/lsb-test-core-3.1.90$ patch -p0 --dry-run < 
patching file lts_vsx-pcts-3.1.90.tgz
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 505.
Hunk #3 FAILED at 560.
3 out of 3 hunks FAILED -- saving rejects to file 

Any chance of getting source patches or source?

Stew Benedict
The Linux Foundation

More information about the lsb-discuss mailing list