Commit Graph

168 Commits (5b07c5da52c80dccb419970239ae7919122cf0ad)

Author SHA1 Message Date
Aaron Jacobs 5b07c5da52 Added a test for directory link behavior. 2015-03-06 22:39:45 -06:00
Aaron Jacobs f412eaa60a Filter out EOF errors in ReadFile. 2015-03-05 19:58:20 -06:00
Aaron Jacobs bf0b773894 Added a test name. 2015-03-06 06:10:43 +11:00
Aaron Jacobs 978c353cf7 Removed some TODOs that have been done. 2015-03-06 06:09:42 +11:00
Aaron Jacobs a7d2944d2e Support changing mtime. 2015-03-06 06:04:51 +11:00
Aaron Jacobs 76ac5cc264 MemFSTest.Chtimes 2015-03-06 06:02:43 +11:00
Aaron Jacobs 13335f6e9b Support changing mode. 2015-03-06 06:00:55 +11:00
Aaron Jacobs c4de915491 MemFSTest.Chmod 2015-03-06 05:59:06 +11:00
Aaron Jacobs 1e38634464 MemFSTest.Truncate_Larger 2015-03-06 05:56:40 +11:00
Aaron Jacobs 910d3b2f9f Oops, preserve the size invariant. 2015-03-06 05:56:12 +11:00
Aaron Jacobs 9dc1d04623 MemFSTest.Truncate_Smaller 2015-03-06 05:54:20 +11:00
Aaron Jacobs 7173c5e9fb Added some test names. 2015-03-06 05:52:08 +11:00
Aaron Jacobs 826e9def70 Implemented memFS.SetInodeAttributes. 2015-03-06 05:51:49 +11:00
Aaron Jacobs 08afae57de Added inode.SetAttributes. 2015-03-06 05:50:58 +11:00
Aaron Jacobs 632b1e6120 Added FileSystem.SetInodeAttributes. 2015-03-06 05:45:17 +11:00
Aaron Jacobs 1828931cce Don't attempt to track ctime. 2015-03-06 05:35:44 +11:00
Aaron Jacobs 650467fedb Update mtime for mkdir and rmdir. 2015-03-06 05:35:44 +11:00
Aaron Jacobs ea53ba8488 Don't attempt to track atime. 2015-03-06 05:35:43 +11:00
Aaron Jacobs 087f48cc72 Update mtime on write. 2015-03-06 05:35:43 +11:00
Aaron Jacobs 77fee50b80 Tightened up time tests. 2015-03-06 05:35:43 +11:00
Aaron Jacobs ab18be2378 Refactored inode time tracking. 2015-03-06 05:35:43 +11:00
Aaron Jacobs 62bda89ca9 MemFSTest.ModifyExistingFile_InRoot 2015-03-06 05:35:43 +11:00
Aaron Jacobs 3a2b0a6de4 MemFSTest.AppendMode 2015-03-06 05:35:43 +11:00
Aaron Jacobs b814416bb2 PosixTest.AppendMode 2015-03-06 05:35:43 +11:00
Aaron Jacobs b8ea62986f Dumped in posix tests. 2015-03-06 05:35:43 +11:00
Aaron Jacobs 0377d675dd MemFSTest.CreateNewFile_InSubDir 2015-03-06 05:35:42 +11:00
Aaron Jacobs 96c65235b8 Implemented memFS.ReadFile. 2015-03-06 05:35:42 +11:00
Aaron Jacobs 4e169a0602 Implemented memFS.OpenFile. 2015-03-05 19:37:36 +11:00
Aaron Jacobs 26d91ad9d7 Fixed a broken invariant. 2015-03-05 19:36:09 +11:00
Aaron Jacobs 7bb6fe37d2 Added an invariant for inode size. 2015-03-05 19:35:32 +11:00
Aaron Jacobs 163b303731 Implemented memFS.WriteFile. 2015-03-05 19:33:10 +11:00
Aaron Jacobs fcf3be2896 PosixTest.ReadsPastEndOfFile 2015-03-05 19:26:24 +11:00
Aaron Jacobs 95a89e5302 PosixTest.WriteAtDoesntChangeOffset_AppendMode 2015-03-05 19:22:32 +11:00
Aaron Jacobs 49bead83fa PosixTest.WriteAtDoesntChangeOffset_NotAppendMode 2015-03-05 19:21:20 +11:00
Aaron Jacobs 0c5ea8464f PosixTest.WriteStartsPastEndOfFile 2015-03-05 19:18:34 +11:00
Aaron Jacobs 526ec9a968 PosixTest.WriteStartsAtEndOfFile 2015-03-05 19:18:18 +11:00
Aaron Jacobs 5dab658073 PosixTest.WriteOverlapsEndOfFile 2015-03-05 19:17:57 +11:00
Aaron Jacobs 541980129d Added some test names. 2015-03-05 19:10:25 +11:00
Aaron Jacobs e435f6916c Added test setup and tear-down code. 2015-03-05 19:08:48 +11:00
Aaron Jacobs 9fd18f53f4 Began on a test to help confirm posix file behavior. 2015-03-05 19:06:43 +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 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 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 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