diff options
author | Eric Blake <ebb9@byu.net> | 2009-06-08 06:17:39 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-06-08 06:34:32 -0600 |
commit | 294cd32bcabea638d959dc004073800842e85ad6 (patch) | |
tree | c3ea6f7c9ab811ca89827da38b3b08102e0b9b24 /modules/strstr-tests | |
parent | 5030430b04497de72734ed1a03f396dd2aeefe43 (diff) | |
download | gnulib-294cd32bcabea638d959dc004073800842e85ad6.tar.gz |
test-strstr: use memory fence, when possible
* tests/test-strstr.c (main): Use memory fence, in order to be
more likely to trigger Debian bug 521737.
* modules/strstr-tests (Files): Pull in additional files.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'modules/strstr-tests')
-rw-r--r-- | modules/strstr-tests | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/strstr-tests b/modules/strstr-tests index 23e67b0142..8f09e58f5b 100644 --- a/modules/strstr-tests +++ b/modules/strstr-tests @@ -1,12 +1,18 @@ Files: tests/test-strstr.c +tests/zerosize-ptr.h +m4/mmap-anon.m4 Depends-on: +extensions +getpagesize configure.ac: AC_CHECK_DECLS_ONCE([alarm]) +gl_FUNC_MMAP_ANON +AC_CHECK_HEADERS_ONCE([sys/mman.h]) +AC_CHECK_FUNCS_ONCE([mprotect]) Makefile.am: TESTS += test-strstr check_PROGRAMS += test-strstr - |