nuttx-apps/testing/libc/popen
cuiziwei 00a219843c testing/libc/popen: add popen/dpopen test for shell and no-shell modes
Add tests for popen()/pclose() and dpopen()/dpclose() that work in
both shell (NSH) and no-shell (direct posix_spawnp) modes.  The test
binary doubles as its own target via the --echo sub-command.

Tests:
 1-4: popen  - basic read, multi-arg, pclose, invalid mode
 5-7: dpopen - basic read, multi-arg, dpclose

Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2026-06-02 17:59:10 +08:00
..
CMakeLists.txt testing/libc/popen: add popen/dpopen test for shell and no-shell modes 2026-06-02 17:59:10 +08:00
Kconfig testing/libc/popen: add popen/dpopen test for shell and no-shell modes 2026-06-02 17:59:10 +08:00
Make.defs testing/libc/popen: add popen/dpopen test for shell and no-shell modes 2026-06-02 17:59:10 +08:00
Makefile testing/libc/popen: add popen/dpopen test for shell and no-shell modes 2026-06-02 17:59:10 +08:00
popen_test.c testing/libc/popen: add popen/dpopen test for shell and no-shell modes 2026-06-02 17:59:10 +08:00