]> Savannah Git Hosting - gnulib.git/commit
lock tests: Prevent that the test takes too long.
authorBruno Haible <bruno@clisp.org>
Sat, 27 Apr 2019 22:19:33 +0000 (00:19 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 27 Apr 2019 22:19:33 +0000 (00:19 +0200)
commita4398f60f17e3de5463540311bd6bc5c33045822
treee2e8c1e3190576ae9735179fa0d4fe306efd08c3
parent00991ec9b670feb41b3726f1d7e7ff59b95e1317
lock tests: Prevent that the test takes too long.

* tests/test-lock.c: Include <signal.h>, <unistd.h>.
(main): Let the test fail if it takes more than 10 minutes.
* modules/lock-tests (configure.ac): Test whether 'alarm' is declared.
ChangeLog
modules/lock-tests
tests/test-lock.c