Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Provide EXEEXT and srcdir in TESTS_ENVIRONMENT by default. | Bruno Haible | 2010-01-24 | 1 | -1/+1 |
| | |||||
* | Refactor common macros used in tests. | Bruno Haible | 2009-12-24 | 1 | -0/+1 |
| | |||||
* | Test must fail if libsigsegv could not distinguish stack overflow and crash. | Bruno Haible | 2008-07-21 | 1 | -1/+1 |
| | |||||
* | Make c-stack use libsigsegv, when available. | Eric Blake | 2008-07-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | * modules/c-stack (Depends-on): Add libsigsegv. * modules/c-stack-tests (Makefile.am): Link with libsigsegv, if needed. * lib/c-stack.c (SIGSTKSZ): Define fallback. (segv_handler, overflow_handler, c_stack_action) [HAVE_LIBSIGSEGV && !HAVE_XSI_STACK_OVERFLOW_HEURISTIC]: Add new implementation when libsigsegv is available, but only when using the library is necessary. * m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Add comment, explaining why XSI check fails on Linux. (gl_PREREQ_C_STACK): Supply LIBCSTACK, LTLIBCSTACK. * tests/test-c-stack2.sh: Tweak skip message. * NEWS: Document new link-time requirements. Signed-off-by: Eric Blake <ebb9@byu.net> | ||||
* | c-stack: Expose false positives when not using libsigsegv. | Eric Blake | 2008-07-16 | 1 | -2/+3 |
| | | | | | | | | | * modules/c-stack-tests (Files): Expand test. * tests/test-c-stack.c (main): Add means to conditionally trigger non-overflow SIGSEGV. * tests/test-c-stack2.sh: New file. Signed-off-by: Eric Blake <ebb9@byu.net> | ||||
* | Move c-stack test into testsuite. | Eric Blake | 2008-06-17 | 1 | -0/+15 |
* modules/c-stack-tests: New file. * lib/c-stack.c [DEBUG]: Move test program... * tests/test-c-stack.c: ...into this new file. Skip rather than fail test if sigaltstack is lacking. * tests/test-c-stack.sh: New driver file. Signed-off-by: Eric Blake <ebb9@byu.net> |