summaryrefslogtreecommitdiff
path: root/tests/test-strstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-strstr.c')
-rw-r--r--tests/test-strstr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-strstr.c b/tests/test-strstr.c
index 81242e5b47..9f2ecde1ae 100644
--- a/tests/test-strstr.c
+++ b/tests/test-strstr.c
@@ -43,6 +43,7 @@ main (int argc, char *argv[])
caused by SIGALRM. All known platforms that lack alarm also have
a quadratic strstr, and the replacement strstr is known to not
take too long. */
+ signal (SIGALRM, SIG_DFL);
alarm (50);
#endif