summaryrefslogtreecommitdiff
path: root/modules/posix_spawn_file_actions_addchdir-tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix build error when libintl is installed.Bruno Haible2021-05-091-0/+1
| | | | | | | * modules/posix_spawn_file_actions_addchdir-tests (Makefile.am): Link test-posix_spawn-chdir with libintl. * modules/posix_spawn_file_actions_addfchdir-tests (Makefile.am): Link test-posix_spawn-fchdir with libintl.
* posix_spawn_file_actions_* tests: Fix module dependencies.Bruno Haible2021-01-251-0/+1
| | | | | | | | | | | * modules/posix_spawn_file_actions_addclose-tests (Depends-on): Add posix_spawn_file_actions_destroy. * modules/posix_spawn_file_actions_addopen-tests (Depends-on): Likewise. * modules/posix_spawn_file_actions_adddup2-tests (Depends-on): Likewise. * modules/posix_spawn_file_actions_addchdir-tests (Depends-on): Likewise. * modules/posix_spawn_file_actions_addfchdir-tests (Depends-on): Likewise.
* posix_spawn* tests: Add support for native Windows.Bruno Haible2020-12-241-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | * 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_file_actions_addchdir-tests: Rename test.Bruno Haible2020-12-171-3/+3
| | | | | | | * tests/test-posix_spawn-chdir.c: Renamed from tests/test-posix_spawn4.c. * modules/posix_spawn_file_actions_addchdir-tests (Files, Makefile.am): Update.
* posix_spawn_file_actions_addchdir tests: Enhance test.Bruno Haible2020-04-281-0/+1
| | | | | | | | | * tests/test-posix_spawn4.c: Include findprog.h. (test): New function, extracted from main. (main): Invoke it. Also, invoke it with a program name such as "bin/pwd". * modules/posix_spawn_file_actions_addchdir-tests (Depends-on): Add findprog.
* posix_spawn_file_actions_addchdir: Add tests.Bruno Haible2018-09-071-0/+20
* tests/test-posix_spawn_file_actions_addchdir.c: New file. * tests/test-posix_spawn4.c: New file. * modules/posix_spawn_file_actions_addchdir-tests: New file.