X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fcommon%2Fruntest.c;fp=src%2Fcommon%2Fruntest.c;h=60e77baac49f36046722f68e634887c83cf0544a;hb=1291ba124bab6f045cfeeeed1e824f107ca54403;hp=28504c4e15c563303469602110161c82459b45f1;hpb=32fca61b208425e16262e4d007dabad44bcd872b;p=libc-test diff --git a/src/common/runtest.c b/src/common/runtest.c index 28504c4..60e77ba 100644 --- 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)); }