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-passfd.c
diff --git
a/tests/test-passfd.c
b/tests/test-passfd.c
index
c11a828
..
6389e15
100644
(file)
--- a/
tests/test-passfd.c
+++ b/
tests/test-passfd.c
@@
-45,8
+45,9
@@
main ()
# if HAVE_DECL_ALARM
/* Avoid hanging on failure. */
+ int alarm_value = 5;
signal (SIGALRM, SIG_DFL);
- alarm (
5
);
+ alarm (
alarm_value
);
# endif
fdnull = open ("/dev/null", O_RDWR);