projects
/
libc-test
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32fca61
)
fix runtest: report if sigtimedwait fails
author
Szabolcs Nagy
<nsz@port70.net>
Fri, 21 Feb 2014 16:14:42 +0000
(17:14 +0100)
committer
Szabolcs Nagy
<nsz@port70.net>
Fri, 21 Feb 2014 16:14:42 +0000
(17:14 +0100)
src/common/runtest.c
patch
|
blob
|
history
diff --git
a/src/common/runtest.c
b/src/common/runtest.c
index
28504c4
..
60e77ba
100644
(file)
--- a/
src/common/runtest.c
+++ b/
src/common/runtest.c
@@
-76,6
+76,8
@@
int main(int argc, char *argv[])
if (sigtimedwait(&set, 0, &(struct timespec){timeoutsec,0}) == -1) {
if (errno == EAGAIN)
timeout = 1;
+ else
+ t_error("%s sigtimedwait failed: %s\n", argv[0], strerror(errno));
if (kill(pid, SIGKILL) == -1)
t_error("%s kill failed: %s\n", argv[0], strerror(errno));
}