nuttx-apps/testing/cmocka
wangjianyu3 3da204c23e Pack parameters of nsh_execute() as struct nsh_exec_param_s
1. Input redirect flags currently is hardcode, passing by arguments maybe better.
2. Only support redirect to path_name, redirect to fd is needed for pipeline.

Test
  1. Redirect in
    cat < /etc/init.d/rc.sysinit

  2. Redirect with FIFO
    mkfifo /dev/testfifo
    cat /dev/testfifo &
    ls > /dev/testfifo

  3. NSH Params
    set name `uname`
    echo $name

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2024-11-11 10:36:46 +08:00
..
tools add cmocka tools and fix __WORDSIZE not defined warning 2024-02-15 04:56:13 -08:00
.gitignore ignore zip file 2024-04-04 12:07:21 +08:00
0001-cmocka.c-Reduce-the-call-stack-consumption-of-printf.patch testing/cmocka: update cmocka version and add patch 2023-02-17 23:44:30 +08:00
0002-cmocka-feature-to-forwarding-cmocka-log-message-to-c.patch testing/cmocka: update cmocka version and add patch 2023-02-17 23:44:30 +08:00
0003-cmocka-update-method-for-strmatch-to-regex-and-add-list-all-testcases-function.patch testing/cmocka:add a patch. 2023-08-16 01:00:36 +08:00
0004-cmocka-xml-report.patch add cmocka tools and fix __WORDSIZE not defined warning 2024-02-15 04:56:13 -08:00
0005-cmocka-cmocka_private-fix-warning-in-cmocka_private.patch fix patch error:no such file 2024-03-01 17:06:01 +08:00
0006-fix-linux-risc-v-compile-error-list_initialize.patch fix compile error: list_initialize 2024-03-15 19:46:00 +08:00
CMakeLists.txt cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
cmocka_main.c Pack parameters of nsh_execute() as struct nsh_exec_param_s 2024-11-11 10:36:46 +08:00
cmocka_platform.h testing/cmocka: forwarding cmocka log message to syslog channel 2023-01-26 08:13:00 +02:00
Kconfig cmocka/Kconfig: add the depends on item "LIBC_REGEX". 2023-08-16 01:00:36 +08:00
Make.defs Memory leaks can be checked using cmocka 2023-08-11 18:09:40 +08:00
Makefile fix compile error: list_initialize 2024-03-15 19:46:00 +08:00