This is an automated email from the ASF dual-hosted git repository. gustavonihei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit c9f736005ac3278faf67d6c9458101bff7882d46 Author: Xiang Xiao <[email protected]> AuthorDate: Tue Nov 9 02:29:46 2021 +0800 testing/fstest: Zero g_nfailed too in fstest_delallfiles Signed-off-by: Xiang Xiao <[email protected]> --- testing/fstest/fstest_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/fstest/fstest_main.c b/testing/fstest/fstest_main.c index 7077d54..1c5a73d 100644 --- a/testing/fstest/fstest_main.c +++ b/testing/fstest/fstest_main.c @@ -655,7 +655,7 @@ static inline int fstest_rdfile(FAR struct fstest_filedesc_s *file) /* Try reading past the end of the file */ - nbytesread = fstest_rdblock(fd, file, ntotalread, 1024) ; + nbytesread = fstest_rdblock(fd, file, ntotalread, 1024); if (nbytesread > 0) { printf("ERROR: Read past the end of file\n"); @@ -899,6 +899,7 @@ static int fstest_delallfiles(void) } g_nfiles = 0; + g_nfailed = 0; g_ndeleted = 0; return OK; }
