Add unit tests regarding execution of scripts.
commit7e9ecfe3790f40ea5b9b18cbfdbb11d0277d27ed
authorBruno Haible <bruno@clisp.org>
Thu, 24 Dec 2020 00:14:49 +0000 (24 01:14 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 24 Dec 2020 05:52:20 +0000 (24 06:52 +0100)
tree8e92c23d7174a0957eeb542215798661810dd487
parent9042e0456ac72d9333e2d48970c7f2835acfbf79
Add unit tests regarding execution of scripts.

* tests/executable-script: New file.
* tests/executable-shell-script: New file.
* tests/test-posix_spawn-script.c: New file.
* tests/test-posix_spawnp-script.c: New file.
* tests/test-execute-script.c: New file.
* tests/test-spawn-pipe-script.c: New file.
* modules/posix_spawn-tests (Files): Add
tests/test-posix_spawn-script.c, tests/executable-script,
tests/executable-shell-script.
(Makefile.am): Compile and run test-posix_spawn-script.
* modules/posix_spawnp-tests (Files): Add
tests/test-posix_spawnp-script.c, tests/executable-script,
tests/executable-shell-script.
(Makefile.am): Compile and run test-posix_spawnp-script.
* modules/execute-tests (Files): Add tests/test-execute-script.c,
tests/executable-script, tests/executable-shell-script.
(Makefile.am): Compile and run test-execute-script.
* modules/spawn-pipe-tests (Files): Add tests/test-spawn-pipe-script.c,
tests/executable-script, tests/executable-shell-script.
(Makefile.am): Compile and run test-spawn-pipe-script.
ChangeLog
modules/execute-tests
modules/posix_spawn-tests
modules/posix_spawnp-tests
modules/spawn-pipe-tests
tests/executable-script [new file with mode: 0755]
tests/executable-shell-script [new file with mode: 0755]
tests/test-execute-script.c [new file with mode: 0644]
tests/test-posix_spawn-script.c [new file with mode: 0644]
tests/test-posix_spawnp-script.c [new file with mode: 0644]
tests/test-spawn-pipe-script.c [new file with mode: 0644]