jkominek / fdbfs

A not-yet-ready-for-use FoundationDB-backed FUSE filesystem. Seriously, don't use it.
ISC License
12 stars 1 forks source link

Automated test suite #10

Open jkominek opened 4 years ago

jkominek commented 4 years ago

Set up, perhaps in conjunction with cmake, a mechanism for running tests automatically. Local and via Travis.

The fstestportion of https://github.com/billziss-gh/secfs.test would be a great place to start.

jkominek commented 4 years ago

i put together a secfs-tests branch, but it appears i've forgotten how to run it and get the tests to pass. i'm pretty sure i had it down to 0 failures before. looks like there's some permissions stuff going on, and maybe the maximum filename length.

jkominek commented 3 years ago

here's a pointer to another networked FS's test suite: https://github.com/juicedata/juicefs/blob/main/fstests/Makefile

jkominek commented 3 years ago

0a347cc6 gets the secfs tests running on every commit.

it'd be nice if we could build, and then split and run a bunch of different tests in parallel on different workers. suites

  1. our trivial tests, and any other small/manually written ones we add
  2. secfs tests
  3. would like to compile sqlite3 on top of the FS, and then run its entire test suite. i consider this a test of the read/write code, making sure that we don't have off-by-one errors dropping bytes or anything.
  4. other test suites?