Commit Graph

1438 Commits (b6e2754edfa8ac864bd26efe8541ebf2ee6563eb)

Author SHA1 Message Date
Aaron Jacobs 9fd18f53f4 Began on a test to help confirm posix file behavior. 2015-03-05 19:06:43 +11:00
Aaron Jacobs d8fa4817cc Documented pwrite semantics. 2015-03-04 15:23:31 +11:00
Aaron Jacobs 5455e35b35 Added server support for WriteFile. 2015-03-04 15:18:09 +11:00
Aaron Jacobs 0e4bdb538a Added NotImplementedFileSystem.WriteFile. 2015-03-04 15:16:55 +11:00
Aaron Jacobs dcf4c93dfd Added a WriteFile method. 2015-03-04 15:16:29 +11:00
Aaron Jacobs 87f8ec9ead MemFSTest.CreateNewFile_InRoot 2015-03-04 15:10:26 +11:00
Aaron Jacobs 9c585268b0 Performed a TODO. 2015-03-04 15:06:40 +11:00
Aaron Jacobs c9298a943a Implemented memFS.CreateFile. 2015-03-04 15:05:58 +11:00
Aaron Jacobs 1a975d9824 Declared some test names. 2015-03-04 15:03:44 +11:00
Aaron Jacobs bdefba3822 Added server support for CreateFile. 2015-03-04 14:57:53 +11:00
Aaron Jacobs 1aba7cb8a8 Added NotImplementedFileSystem.CreateFile. 2015-03-04 14:55:50 +11:00
Aaron Jacobs fd9dbe872e Refactored ChildInodeEntry comments. 2015-03-04 14:55:16 +11:00
Aaron Jacobs efe4481b2a Added a CreateFile method. 2015-03-04 14:54:11 +11:00
Aaron Jacobs 8fc315cf58 MemFSTest.CaseSensitive 2015-03-04 14:21:56 +11:00
Aaron Jacobs b2a8322aaa Fixed copyright notices. 2015-03-04 08:27:42 +11:00
Aaron Jacobs e0774d1f4b Added support for rmdir, and memfs tests. 2015-03-03 16:15:32 +11:00
Aaron Jacobs a956166291 Deleted MemFSTest.Rmdir_ReusesInodeID.
At least on OS X, the kernel doesn't relaibly send a Forget request
right after RmDir, even if the directory is not open. (This is contrary
to what the fuse low-level ops documentation says.) So there's no way to
reliably test this.
2015-03-03 16:14:37 +11:00
Aaron Jacobs dd66a1d2bb Expanded an example. 2015-03-03 15:17:04 +11:00
Aaron Jacobs eec88dd31a Disabled a test that cannot pass. 2015-03-03 15:15:58 +11:00
Aaron Jacobs 147be0630d Added tests for the Nlink field. 2015-03-03 15:04:49 +11:00
Aaron Jacobs 651984dc1a Only mark as unlinked in rmdir. 2015-03-03 14:56:55 +11:00
Aaron Jacobs 140bd18863 Fixed a silly test bug. 2015-03-03 14:54:22 +11:00
Aaron Jacobs 8d9962ee62 MemFSTest.Rmdir_OpenedForReading 2015-03-03 14:52:03 +11:00
Aaron Jacobs d8905b0d05 Deallocate removed directories. 2015-03-03 14:48:21 +11:00
Aaron Jacobs 3076da562e Fixed an inode invariants bug. 2015-03-03 14:45:39 +11:00
Aaron Jacobs 2773133448 MemFSTest.Rmdir_ReusesInodeID 2015-03-03 14:43:06 +11:00
Aaron Jacobs 01371975df Check for empty in rmdir. 2015-03-03 14:39:29 +11:00
Aaron Jacobs 98f868c319 MemFSTest.Rmdir_NonEmpty 2015-03-03 14:34:28 +11:00
Aaron Jacobs ea5370d6f1 MemFSTest.Rmdir_NonExistent 2015-03-03 14:33:20 +11:00
Aaron Jacobs 4d18942456 Re-use dirent gaps. 2015-03-03 14:31:15 +11:00
Aaron Jacobs 622d7a176b Preserve the offset invariant. 2015-03-03 14:30:14 +11:00
Aaron Jacobs 400d74dbdd Implemented inode.RemoveChild. 2015-03-03 14:29:49 +11:00
Aaron Jacobs 621df57d80 Refactored inode.LookUpChild. 2015-03-03 14:23:46 +11:00
Aaron Jacobs 57cb4ccda3 Outlined memFS.RmDir. 2015-03-03 11:28:41 +11:00
Aaron Jacobs 63408f6a0d Added an RmDir method. 2015-03-03 11:25:50 +11:00
Aaron Jacobs 9f984e1aa6 Declared a test. 2015-03-03 11:12:50 +11:00
Aaron Jacobs baffc23ee6 MemFSTest.Rmdir_Empty 2015-03-03 11:09:36 +11:00
Aaron Jacobs 19f7ef25c9 Fixed permissions issues in memfs, making the package support doing so. 2015-03-03 11:08:34 +11:00
Aaron Jacobs 832e800f3b MemFSTest.Mkdir_PermissionDenied 2015-03-03 11:08:23 +11:00
Aaron Jacobs e46341ae00 MemFSTest.Mkdir_TwoLevels 2015-03-03 11:07:24 +11:00
Aaron Jacobs a87e1b33cf Fixed permissions in MkDir. 2015-03-03 11:04:17 +11:00
Aaron Jacobs c81ae6d4b3 Fixed permissions for the root. 2015-03-03 11:03:03 +11:00
Aaron Jacobs 0fde07d9fe Fixed some build errors in hellofs. 2015-03-03 10:58:54 +11:00
Aaron Jacobs 44901edc6b Added a header with credentials to each request. 2015-03-03 10:58:01 +11:00
Aaron Jacobs 8d99b454a8 Added documentation callout to inode_init_owner. 2015-03-03 10:54:09 +11:00
Aaron Jacobs 420fcddfac Fixed time-related metadata. 2015-03-03 10:48:26 +11:00
Aaron Jacobs f9e2e55ac8 Fixed some test bugs. 2015-03-03 10:41:30 +11:00
Aaron Jacobs 01878af39a Implemented timespecToTime. 2015-03-03 10:40:52 +11:00
Aaron Jacobs fa4c2fb864 Implemented two missing functions. 2015-03-03 10:40:04 +11:00
Aaron Jacobs 6b81f4ce58 Declared a two-level mkdir test. 2015-03-03 10:37:29 +11:00