testing/fstest: Fix the typo error
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
7b192f24fe
commit
3b64ad34c3
@ -191,10 +191,10 @@ static inline char fstest_randchar(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: fstest_checkexit
|
* Name: fstest_checkexist
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
static bool fstest_checkexit(FAR struct fstest_filedesc_s *file)
|
static bool fstest_checkexist(FAR struct fstest_filedesc_s *file)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
@ -254,7 +254,7 @@ static inline void fstest_randname(FAR struct fstest_filedesc_s *file)
|
|||||||
file->hash = crc32((const uint8_t *)file->name + dirlen,
|
file->hash = crc32((const uint8_t *)file->name + dirlen,
|
||||||
alloclen - dirlen);
|
alloclen - dirlen);
|
||||||
}
|
}
|
||||||
while (fstest_checkexit(file));
|
while (fstest_checkexist(file));
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
@ -969,7 +969,7 @@ static void show_useage(void)
|
|||||||
printf("Usage : fstest [OPTION [ARG]] ...\n");
|
printf("Usage : fstest [OPTION [ARG]] ...\n");
|
||||||
printf("-h show this help statement\n");
|
printf("-h show this help statement\n");
|
||||||
printf("-n num of test loop e.g. [%d]\n", CONFIG_TESTING_FSTEST_NLOOPS);
|
printf("-n num of test loop e.g. [%d]\n", CONFIG_TESTING_FSTEST_NLOOPS);
|
||||||
printf("-m mount point tobe test e.g. [%s]\n",
|
printf("-m mount point to be tested e.g. [%s]\n",
|
||||||
CONFIG_TESTING_FSTEST_MOUNTPT);
|
CONFIG_TESTING_FSTEST_MOUNTPT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user