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-ptsname.c
diff --git
a/tests/test-ptsname.c
b/tests/test-ptsname.c
index
29cf72c
..
15d4925
100644
(file)
--- a/
tests/test-ptsname.c
+++ b/
tests/test-ptsname.c
@@
-59,8
+59,9
@@
main (void)
#if HAVE_DECL_ALARM
/* Declare failure if test takes too long, by using default abort
caused by SIGALRM. */
+ int alarm_value = 5;
signal (SIGALRM, SIG_DFL);
- alarm (
5
);
+ alarm (
alarm_value
);
#endif
{