summaryrefslogtreecommitdiff
path: root/modules/ptsname_r-tests
Commit message (Collapse)AuthorAgeFilesLines
* tests: Avoid compiler warning about uses of null_ptr.Bruno Haible2017-03-041-0/+1
| | | | | | | | | | | | | | * tests/null-ptr.h: New file. * tests/test-canonicalize.c: Include null-ptr.h. (null_ptr): Remove function. * tests/test-canonicalize-lgpl.c: Likewise. * tests/test-memmem.c: Likewise. * tests/test-ptsname_r.c: Likewise. * modules/canonicalize-tests (Files): Add tests/null-ptr.h. * modules/canonicalize-lgpl-tests: Likewise. * modules/memmem-tests: Likewise. * modules/ptsname_r-tests: Likewise. Reported by Jim Meyering.
* ptsname_r-tests: new test moduleEric Blake2011-11-091-0/+14
For now, this tests glibc behavior of both returning an errno value as well as setting errno; we may need to relax that. * modules/ptsname_r-tests: New module. * tests/test-ptsname_r.c: New file. Signed-off-by: Eric Blake <eblake@redhat.com>