mirror of
https://github.com/osnr/TabFS.git
synced 2024-05-02 14:02:45 +02:00
b948c235b8
We now remember the path of each cached file, so when someone truncates that path, we can truncate all open instances of it in cache. Important when someone pipes to stomp a file / opens with O_TRUNC (which FUSE disaggregates into an open() and then a truncate() call). Gets rid of the need for FUSE_CAP_ATOMIC_O_TRUNC, which never worked on macOS anyway. Fixes #40. |
||
---|---|---|
.. | ||
test-resources | ||
Makefile | ||
README.md | ||
test.c | ||
test.js |
test
Two separate test 'suites': one in test.js
that uses node, and one
in test.c
that is an integration test that actually tests against
the extension in browser.
Right now, you need to have Chrome open (I haven't tried Firefox or Safari), and you'll want to make sure a window other than the extension console is focused (the console is non-debuggable, so it breaks the test).
Run make
in this folder.