safe-drive icon indicating copy to clipboard operation
safe-drive copied to clipboard

Use/adapt an existing filesystem test suite for testing

Open happybeing opened this issue 6 years ago • 0 comments

Related to #4

I expect existing filesystem test to be too performance intensive and too onerous for SAFE Drive unless they can be limited and selective, but it may be worthwhile looking to see if there is something suitable. However, there are probably some suitable test suites already set up in similar projects, such as FUSE based mounts and other filesystem APIs such as node fs. So adapting one of those might be a shortcut option. We just need to find one! :smile:

This issue is more about research than implementation, so you can help by just posting any suggestions for a solution, or doing some active searching and posting your findings.

Some random notes...

fuse-xfstests

This is an adapted version of xfstests for gocryptfs.

See https://github.com/rfjakob/fuse-xfstests/

There is a hint here on how to adapt it to another filesystem: https://github.com/rfjakob/fuse-xfstests/issues/1

pjd-fstest - Linux POSIX file system test suite

This is an open source test suite. See:

  • https://lwn.net/Articles/276617/
  • https://www.tuxera.com/community/posix-test-suite/

happybeing avatar Jan 31 '19 13:01 happybeing