projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: make it easier to bypass alarm time in debugger
[gnulib.git]
/
tests
/
test-strcasestr.c
diff --git
a/tests/test-strcasestr.c
b/tests/test-strcasestr.c
index
0ca3692
..
df75e78
100644
(file)
--- a/
tests/test-strcasestr.c
+++ b/
tests/test-strcasestr.c
@@
-37,8
+37,9
@@
main ()
caused by SIGALRM. All known platforms that lack alarm also lack
strcasestr, and the replacement strcasestr is known to not take too
long. */
+ int alarm_value = 50;
signal (SIGALRM, SIG_DFL);
- alarm (
50
);
+ alarm (
alarm_value
);
#endif
{