summaryrefslogtreecommitdiff
path: root/tests/test-posix_spawn-dup2-stdin.c
Commit message (Collapse)AuthorAgeFilesLines
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* posix_spawn* tests: Add support for native Windows.Bruno Haible2020-12-241-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | * tests/test-posix_spawn-open1.c (DATA_FILENAME): Treat native Windows like Cygwin. * tests/test-posix_spawn-dup2-stdin.c (main): Don't assume the signals SIGHUP and SIGPIPE. On native Windows, don't call posix_spawnattr_setsigmask. * tests/test-posix_spawn-dup2-stdout.c (main): Likewise. * tests/test-posix_spawn-fchdir.c (main): Likewise. * tests/test-posix_spawn-chdir.c (test): Likewise. Accept the child output from Cygwin's 'pwd' program. * tests/test-posix_spawn-script.c (main): On native Windows, skip the executable-shell-script part of the test. * tests/test-posix_spawnp-script.c (main): Likewise. * modules/posix_spawn-tests (Depends-on): Add freopen, waitpid. (configure.ac): Don't define the POSIX_SPAWN_PORTED conditional. (Makefile.am): Don't test the POSIX_SPAWN_PORTED conditional. * modules/posix_spawnp-tests (Depends-on): Add waitpid. (configure.ac): Don't define the POSIX_SPAWN_PORTED conditional. (Makefile.am): Don't test the POSIX_SPAWN_PORTED conditional. * modules/posix_spawn_file_actions_addchdir-tests (Makefile.am): Don't test the POSIX_SPAWN_PORTED conditional. * modules/posix_spawn_file_actions_addfchdir-tests (configure.ac): Define the POSIX_SPAWN_PORTED conditional here.
* posix_spawn tests: Add another test.Bruno Haible2020-12-231-1/+1
| | | | | | | * tests/test-posix_spawn-open2.c: New file, based on tests/test-posix_spawn-open1.c. * modules/posix_spawn-tests (Files): Add it. (Makefile.am): Compile and run test-posix_spawn-open1.
* posix_spawnp-tests: Rename test.Bruno Haible2020-12-171-0/+137
* tests/test-posix_spawn-dup2-stdin.c: Renamed from tests/test-posix_spawn2.c. * tests/test-posix_spawn-dup2-stdin.in.sh: Renamed from tests/test-posix_spawn2.in.sh. * modules/posix_spawnp-tests (Files, Makefile.am): Update.