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_r.c
diff --git
a/tests/test-ptsname_r.c
b/tests/test-ptsname_r.c
index
acc3c94
..
b194303
100644
(file)
--- a/
tests/test-ptsname_r.c
+++ b/
tests/test-ptsname_r.c
@@
-104,8
+104,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
{