ptsname tests: Let the test fail rather than hang (e.g. on AIX 5.1).
authorBruno Haible <bruno@clisp.org>
Sun, 18 Sep 2011 23:02:09 +0000 (01:02 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 18 Sep 2011 23:02:09 +0000 (01:02 +0200)
commitceabceacb175fe3e37d05ba7cbe74aa502115adb
tree4d25234e2f4172fc17e9cb809594a48b9f996a8d
parent6c4582fe7d5fe1751d4e545c62ef7504869e7609
ptsname tests: Let the test fail rather than hang (e.g. on AIX 5.1).

* tests/test-ptsname.c (main): Terminate the test if it takes longer
than 5 seconds.
* modules/ptsname-tests (configure.ac): Test for alarm.
ChangeLog
modules/ptsname-tests
tests/test-ptsname.c