[Tarantool-patches] [PATCH 0/7] popen: various fixes and a test
Cyrill Gorcunov
gorcunov at gmail.com
Mon Mar 2 23:12:20 MSK 2020
Here are a few fixes for popen engine I discovered during
testing on macos. Now the unit test passes.
branch gorcunov/gh-4031-popen-fixup
Cyrill Gorcunov (7):
core/say: Export logger fd
popen: allow accessing environ variable
popen: close_inherited_fds - add support for macos/freebsd
popen: log errors if popen creation failed
popen: add logging in child process
popen: handle setsid os specifics
test/unit: add popen test
src/lib/core/popen.c | 92 ++++++++------
src/lib/core/say.c | 6 +
src/lib/core/say.h | 7 ++
test/unit/CMakeLists.txt | 3 +
test/unit/popen.c | 250 +++++++++++++++++++++++++++++++++++++++
test/unit/popen.result | 25 ++++
6 files changed, 348 insertions(+), 35 deletions(-)
create mode 100644 test/unit/popen.c
create mode 100644 test/unit/popen.result
base-commit: 5e5d5a4a7a567891de2082e7f6c173497bb4e84b
--
2.20.1
More information about the Tarantool-patches
mailing list