nuttx-apps/testing/libc/popen/Kconfig
cuiziwei 97802bd9e0 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 23:35:28 +08:00

16 lines
413 B
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config TESTING_POPEN
tristate "popen()/dpopen() test"
default n
depends on SYSTEM_POPEN
---help---
Test popen()/pclose() and dpopen()/dpclose() in both shell
and no-shell modes. The test binary doubles as its own
popen/dpopen target via --echo.
if TESTING_POPEN
endif