diff options
author | Bruno Haible <bruno@clisp.org> | 2010-12-22 17:53:09 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-12-22 17:53:09 +0100 |
commit | f7fecbfc47c114a633f1fa754a0d9e1ad6cfc868 (patch) | |
tree | 8571f5e36aeda19b0f133189031ad54c844868c0 /modules/ptsname-tests | |
parent | 1a56c64d39a790bc69b58166f7b963334951e1a9 (diff) | |
download | gnulib-f7fecbfc47c114a633f1fa754a0d9e1ad6cfc868.tar.gz |
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.
Diffstat (limited to 'modules/ptsname-tests')
-rw-r--r-- | modules/ptsname-tests | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/ptsname-tests b/modules/ptsname-tests index 30136aa64b..344b8a7038 100644 --- a/modules/ptsname-tests +++ b/modules/ptsname-tests @@ -4,6 +4,7 @@ tests/signature.h tests/macros.h Depends-on: +same-inode configure.ac: |