Adds test application for fopencookie utility. The test tool performs
write/read/seek operations on custom stream defined at user space.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
this config.h using to control the test procedure of the relative
test cases. this config.h file is generated by ltp project internal
build file, as we are nuttx build system, so need to manage this file
by manual
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
1. SIGSTOP and SIGKILL should not be used as test. In g_some_signals,
SIGKILL is used.
2. The SIGSTOP and SIGKILL flags of current task are set so we need to
delete them.
the ltp.zip file is not tracked in git record, so after download and
unzip finished, we do not need to keep this ltp.zip file.
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
the origin ltp testcases has many build warnings which consider error in
Nuttx, thus to apply the patches to fix these build warnings
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
Because it may cause unaligned access problems with some hardware, these
two tests are not turned on by default, and are enabled or disabled
through Kconfig.
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
1. list all the testcases with "--list";
2. run some testcases with "--test";
3. show cmocka help message;
4. skip some testcases with "--skip";
Signed-off-by: yangjiao <yangjiao@xiaomi.com>
cmocka modification upload Nuttx community preparation: upload a patch with recent changes for cmocka source code.
Signed-off-by: yangjiao <yangjiao@xiaomi.com>
fstest_main.c:340:47: note: expected ‘struct fstest_ctx_s *’ but argument is of type ‘fsblkcnt_t’ {aka ‘long long unsigned int’}
340 | static int fstest_gc(FAR struct fstest_ctx_s *ctx, size_t nbytes)
| ~~~~~~~~~~~~~~~~~~~~~^~~
fstest_main.c:1168:13: error: too few arguments to function ‘fstest_gc’
1168 | ret = fstest_gc(buf.f_bfree);
| ^~~~~~~~~
fstest_main.c:340:12: note: declared here
340 | static int fstest_gc(FAR struct fstest_ctx_s *ctx, size_t nbytes)
| ^~~
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
Made by:
commit 5659906fdfdac0a363aecb329c39c936324dcc55
Author: Gregory Nutt <gnutt@nuttx.org>
Date: Fri Mar 24 12:02:04 2023 -0600
Changes to apps needed by nutts PR 8885
needby:965551
ostest contains some logic that depends on internal implementation of signal sets and ostest must be updated to match those changes.
There is no particular impact from this PR. This PR is the result of impact from nuttx 8885.
Tested with nuttx 8885
Change-Id: I2550888ee29aadcfcf8a98bfe5690920ee2b17d1
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>