Commit Graph

12 Commits

Author SHA1 Message Date
Brad Fitzpatrick 82bb3b71ca fs: add build tags to fs_test.go too
Change-Id: I5ccf451ce42f64578cd43405774fc9d7fdee1705
2013-07-29 14:14:32 -07:00
Brad Fitzpatrick dbfbc0c1e5 fs: implement symlinks
Change-Id: Ia2ae00c6e4a5b84239ae4807d31141fdb4f6c220
2013-07-28 12:59:56 -07:00
Brad Fitzpatrick f709fc930c fs: implement Rename. all tests pass now.
Change-Id: I3876aeb6dafd7e4cc5254a741e6938a579373a64
2013-07-27 22:54:55 -07:00
Brad Fitzpatrick 13bac69618 fs: simplify tests
Change-Id: I85f8b41414fe326e40ba791fdcb65bd5937e4128
2013-07-27 18:29:35 -07:00
Brad Fitzpatrick 1e72ebb0cd fs: pass more tests.
read-only Opens need to also not set OpenDirectIO, else the property
is retained on all future operations on that handle.

Change-Id: I954e899bf2c74815813b25a1fa0dc6d42a4189c6
2013-07-27 16:07:32 -07:00
Brad Fitzpatrick 4cbc402e4b fs: another failing test
Change-Id: If9d3a87aa67415846a7b7a1a20c4cef3cd9c1f66
2013-07-27 10:56:39 -07:00
Andrew Gerrand 64fe71e90d fs: add TextEdit mutable file system test
Change-Id: I98c06aaec98e053715a7dc8799ae568be6819acb
2013-07-23 11:20:16 +10:00
Brad Fitzpatrick f0edcaa7d4 fs: fix bug preventing Finder from working.
Apparently we need to update the node's size after a write on a filehandle.
Finder stats it (the node, not the handle) while writing and complains if it's
not the right size.

Change-Id: Ie3e98328a182a4bbb3230c5190e1d57d0d3fb075
2013-07-22 09:52:48 -07:00
Brad Fitzpatrick f8f71e0d77 fs: adding Mac-specific tests, scripting the Finder.
Currently broken. Need to investigate.

Change-Id: I06ba2af751b88ac16e086c39f24617ecec4f6095
2013-07-21 22:46:05 -07:00
Brad Fitzpatrick ff9ab092b1 fs: add .camli_fs_stats root directory; use it in tests.
Currently one a few stats are tracked, but more can be added easily now.

The only test using this is using it to verify that the read-only open optimization
is used.

Change-Id: I1e2fb8a0222ade82631670d7c51e684778d031ae
2013-07-21 21:13:16 -07:00
Brad Fitzpatrick 1149058dbd fs: mutable file append tests
Change-Id: Ibc1b31e7ccc187a92aa1fc8c205b779735126387
2013-07-21 19:01:22 -07:00
Brad Fitzpatrick 98eb69b5e1 fs: bunch of read-write FUSE work, debugging, and integration tests.
Change-Id: I74807f693720effb7ae8405259797331f79f59fd
2013-07-21 12:26:05 -07:00