nuttx-apps/testing/fstest
2021-03-30 00:59:16 -05:00
..
fstest_main.c testing/fstest: Add hash checking of file's name to avoid creating same-name file 2021-03-30 00:59:16 -05:00
Kconfig Change the defaults of stack size configs to DEFAULT_TASK_STACKSIZE 2020-03-27 02:43:11 -05:00
Make.defs apps/: In all Make.def files, append to CONFIGURED_APPS patch with the absolute path. 2019-10-17 11:33:59 -06:00
Makefile build: Replace $(TOPDIR)/Make.defs with $(APPDIR)/Make.defs 2020-07-09 15:17:37 -03:00
README.md Rewritten READMEs to Markdown 2020-07-25 01:01:51 -07:00

Testing / fstest Generic File System Test

This is a generic file system test that derives from testing/nxffs. It was created to test the tmpfs file system, but should work with any file system provided that all initialization has already been performed prior to starting the test.

This test a a general test for any file system, but includes some specific hooks for the SPIFFS file system.

  • CONFIG_TESTING_FSTEST Enable the file system example.
  • CONFIG_TESTING_FSTEST_MAXNAME Determines the maximum size of names used in the filesystem.
  • CONFIG_TESTING_FSTEST_MAXFILE Determines the maximum size of a file.
  • CONFIG_TESTING_FSTEST_MAXIO Max I/O, default 347.
  • CONFIG_TESTING_FSTEST_MAXOPEN Max open files.
  • CONFIG_TESTING_FSTEST_MOUNTPT Path where the file system is mounted.
  • CONFIG_TESTING_FSTEST_NLOOPS Number of test loops. default 100.
  • CONFIG_TESTING_FSTEST_VERBOSE Verbose output.