1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-08-22 09:06:25 +00:00

3 Commits

Author SHA1 Message Date
Bruno Haible ceabceacb1 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.
2011-09-19 01:02:09 +02:00
Bruno Haible f7fecbfc47 ptsname: Avoid test failure on OSF/1 5.1.
* modules/ptsname-tests (Depends-on): Add 'same-inode'.
* tests/test-ptsname.c: Include <sys/stat.h>, same-inode.h.
(same_slave): New function.
(main): Use it to compare ptsname's result with the expected file name.
2010-12-22 17:53:09 +01:00
Bruno Haible fc4d0a0d1a Tests for module 'ptsname'. 2010-03-21 16:18:07 +01:00