testing/fs:reduce the test time of fs test

Reduce TEST_NUM from 1000 to 100 in fs_opendir_test.c
Reduce loop count from 100 to 30 in fs_stream_test.c

Signed-off-by: wangxingxing <wangxingxing@xiaomi.com>
This commit is contained in:
wangxingxing 2025-08-07 20:48:22 +08:00 committed by Alan C. Assis
parent f2ba4883fa
commit 42e3566147
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@ void test_nuttx_fs_opendir01(FAR void **state)
* Pre-processor Definitions
****************************************************************************/
#define TEST_NUM 1000
#define TEST_NUM 100
/****************************************************************************
* Public Functions

View file

@ -119,7 +119,7 @@ void test_nuttx_fs_stream02(FAR void **state)
char *junk = "abcdefghijklmnopqrstuvwxyz";
long pos;
int lc;
for (lc = 0; lc < 100; lc++)
for (lc = 0; lc < 30; lc++)
{
if ((stream = fopen(TESTFILENAME, "a+")) == NULL)
{