• Eric Blake's avatar
    test-rawmemchr: make more robust · 349a6770
    Eric Blake authored
    * modules/rawmemchr-tests (Files): Add zerosize-ptr.h, mmap-anon.m4.
    (Depends-on, configure.ac): Add needed prerequisites to use it.
    * modules/memchr-tests (Files, Depends-on, configure.ac):
    Likewise, to avoid implicit reliance on memchr module prereqs.
    * tests/test-memchr.c (main): Ensure proper masking.
    * tests/test-rawmemchr.c (main): Likewise.  Detect oversized
    reads.
    Signed-off-by: 's avatarEric Blake <eblake@redhat.com>
    349a6770
memchr-tests 352 Bytes