modules/pipe-tests


Log

Author Commit Date CI Message
Bruno Haible 368e6627 2010-01-24T17:42:21 Provide EXEEXT and srcdir in TESTS_ENVIRONMENT by default.
Eric Blake 9a345436 2009-12-25T16:06:48 tests: use macros.h in more places Make the ASSERT macro a bit more reusable. * tests/macros.h (ASSERT): Depend on ASSERT_STREAM. (ASSERT_STREAM): Provide default of stderr. * tests/test-dirent-safer.c: Include macros.h, using alternate stream for assertions. * tests/test-dup-safer.c: Likewise. * tests/test-freopen-safer.c: Likewise. * tests/test-getopt.c: Likewise. * tests/test-openat-safer.c: Likewise. * tests/test-pipe.c: Likewise. * tests/test-popen-safer.c: Likewise. * modules/dirent-safer-tests (Files): Include macros.h. * modules/unistd-safer-tests (Files): Likewise. * modules/freopen-safer-tests (Files): Likewise. * modules/getopt-posix-tests (Files): Likewise. * modules/openat-safer-tests (Files): Likewise. * modules/pipe-tests (Files): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible a49cfc24 2009-08-11T12:52:19 Most tests don't need module 'close' any more.
Bruno Haible d626b70f 2009-07-19T17:16:51 Fix build error on mingw with the modules sys_select and unistd.
Bruno Haible 77462a90 2009-07-18T17:13:00 Fix typo.
Eric Blake fdccb1c3 2009-07-17T12:00:07 pipe: be robust in face of closed fds * lib/pipe.c (create_pipe): Closed standard descriptors in parent should cause child to misbehave. * modules/pipe-tests: New module. * tests/test-pipe.c: New file. * tests/test-pipe.sh: New file. Reported by Akim Demaille. Signed-off-by: Eric Blake <ebb9@byu.net>