3am Systems Subscribe | Sign in
Subscribe free to access locked resources.
Skype chatSkype chat

3FsTest
An embedded file system test suite

3FsTest is a customizable framework, written in C, providing a comprehensive test suite targeted at proprietary embedded filesystem APIs that use RAM, battery-backed SRAM or Flash memory media.

3FsTest is ideal if you are writing your own 'lite' file system, or if you are writing your own media-access drivers for an off-the-shelf Flash file system. 3FsTest will simplify regression testing and it will save you a lot of valuable time.

3FsTest uses a subset of the IO.H interface for basic file I/O (open, close, read, write, lseek, tell), a subset of the STDIO.H interface (access, chsize, chmod, filelength, remove, rename) and some proprietary extensions.


  • What is tested
  • File system behaviour
  • File create, extend, truncate, append
  • Write/verify with varying block sizes
  • File updates
  • Large files
  • Multiple files
  • Multiple file handles
  • API compliance
  • Functions with VOLUME parameter
  • Functions with FILENAME parameter
  • Functions with HANDLE parameter
  • Open() file access modes
  • Invalid parameters
  • Notes
  • Sample trace (txt)
  • What is not tested
  • Concurrency
  • Media error correction
  • File sharing
  • Hierarchical structure
  • Power down recovery scenarios
  • Wear levelling effectiveness

  • Possible solutions
  • Supplying us with a physical target and PC-based cross-platform environment
  • Supplying us with a PC-based emulated environment
  • Customizing the framework yourself
  • We will assist you to provide function wrappers for near-compliance with other APIs such as POSIX.
  • Pricing
  • Pricing and bundled support hours depend on your deployment plans.
  • For solely internal deployment, we provide the following licensing options, with each restriction affording an additional discount in the license fee.
  • Enterprise (multi-user/multi-site)
  • Site (multi-user/single-site)
  • Workstation (single-user/single-site)
  • For further enquiries please contact us.