Commit Graph

442 Commits (ff9c68f93cb6e35aab67c5168f4838f67aa8ed87)

Author SHA1 Message Date
Aaron Jacobs ff9c68f93c Begain on a SubprocessTest helper. 2015-03-23 16:15:53 +11:00
Aaron Jacobs f211ff829b Renamed testing.go to in_process.go. 2015-03-23 16:13:18 +11:00
Aaron Jacobs 7066fecc45 Began on helper. 2015-03-23 16:12:02 +11:00
Aaron Jacobs e997c8fc91 Began categorizing tests. 2015-03-23 16:11:01 +11:00
Aaron Jacobs ad0a833fa7 makeFlushFS 2015-03-23 16:08:46 +11:00
Aaron Jacobs 215f15bdc7 Sketched makeFS. 2015-03-23 16:01:16 +11:00
Aaron Jacobs 06fb8e2f13 Sketched main. 2015-03-23 16:00:12 +11:00
Aaron Jacobs 0bbe4cfa3d Added flags for flushfs. 2015-03-23 15:54:20 +11:00
Aaron Jacobs 9b88ab0cc3 Began working on a generic mounting tool for samples/.
For jacobsa/fuse#4.
2015-03-23 15:52:27 +11:00
Aaron Jacobs 359b82fa8f Sorted out mmap-related issues with FileSystem.Flush. 2015-03-23 12:28:53 +11:00
Aaron Jacobs 64d7bf8a69 Worked around osxfuse/osxfuse#202. 2015-03-23 12:28:13 +11:00
Aaron Jacobs 5908a93101 FlushFSTest.Mmap_MunmapBeforeClose 2015-03-23 11:40:36 +11:00
Aaron Jacobs 7020914422 FlushFSTest.Mmap_CloseBeforeMunmap 2015-03-23 11:40:03 +11:00
Aaron Jacobs 83d4308afe Added a note about munmap not calling flush. 2015-03-23 11:39:02 +11:00
Aaron Jacobs 2728137e7d Worked around a deadlock in FlushFSTest.Mmap. 2015-03-23 11:16:39 +11:00
Aaron Jacobs 68a8062681 FlushFSTest.Mmap 2015-03-23 10:52:37 +11:00
Aaron Jacobs 590e59404b Added tests for the behavior of dup and dup2 with regards to flushing. 2015-03-23 10:44:21 +11:00
Aaron Jacobs fef2721042 Fixed FlushFSTest.Dup_FlushError for darwin. 2015-03-23 10:43:32 +11:00
Aaron Jacobs d2445f678d Fixed FlushFSTest.Dup for darwin. 2015-03-23 10:41:59 +11:00
Aaron Jacobs 51062a1475 Oops, don't forget to unmount. 2015-03-23 10:37:32 +11:00
Aaron Jacobs 3a9a00d6f3 Remove file closing boilerplate. 2015-03-23 10:32:30 +11:00
Aaron Jacobs 6a25ef9666 FlushFSTest.Dup2_FlushError 2015-03-23 10:28:15 +11:00
Aaron Jacobs 62d30c7631 Fixed a deadlock in FlushFSTest.Dup2. 2015-03-23 10:27:22 +11:00
Aaron Jacobs e2f3ca7109 FlushFSTest.Dup2 2015-03-20 14:48:47 +11:00
Aaron Jacobs 7fd16bbf58 FlushFSTest.Dup_FlushError 2015-03-20 13:54:52 +11:00
Aaron Jacobs f726472990 Replaced comments prone to bit rot. 2015-03-20 13:52:44 +11:00
Aaron Jacobs f7694a22b7 flushFS.ReadFile 2015-03-20 13:51:04 +11:00
Aaron Jacobs 8e46de74a3 Fixed my misunderstanding of dup. 2015-03-20 13:47:47 +11:00
Aaron Jacobs 7de08bc15f FlushFSTest.Dup 2015-03-20 13:44:34 +11:00
Aaron Jacobs 873ca9743a Added FileSystem.SyncFile.
For GoogleCloudPlatform/gcsfuse#13.
2015-03-20 13:41:09 +11:00
Aaron Jacobs b856e4e73d flushFS.SyncFile 2015-03-20 13:40:53 +11:00
Aaron Jacobs ebaa7bc272 Added server support for fsync. 2015-03-20 13:40:30 +11:00
Aaron Jacobs d3cb0c2ba9 NotImplementedFileSystem.SyncFile 2015-03-20 13:38:42 +11:00
Aaron Jacobs 63b4462690 Added FileSystem.SyncFile. 2015-03-20 13:38:23 +11:00
Aaron Jacobs c1e8f4d449 Added FileSystem.FlushFile.
For GoogleCloudPlatform/gcsfuse#13.
2015-03-20 13:29:33 +11:00
Aaron Jacobs f1d36b3117 Filled in test TODOs. 2015-03-20 13:29:15 +11:00
Aaron Jacobs 4fba58178c Fixed a file system bug. 2015-03-20 13:28:51 +11:00
Aaron Jacobs 8ab34bc0e4 flushFS.FlushFile 2015-03-20 13:27:27 +11:00
Aaron Jacobs b0cb3df8c1 Added server support. 2015-03-20 13:26:04 +11:00
Aaron Jacobs 7af6c9300f Declared a test for directories. 2015-03-20 13:24:02 +11:00
Aaron Jacobs 2fcd202d66 NotImplementedFileSystem.FlushFile 2015-03-20 13:23:12 +11:00
Aaron Jacobs f285c2a51e Fixed a build error. 2015-03-20 13:22:50 +11:00
Aaron Jacobs 1ff10b144a Defined FlushFile structs. 2015-03-20 13:22:38 +11:00
Aaron Jacobs 4a92165ab8 Added more flush test names. 2015-03-20 13:21:14 +11:00
Aaron Jacobs bf6ff94688 Added a FlushFile method. 2015-03-20 13:16:50 +11:00
Aaron Jacobs 22c6e605c0 Added a test name for dup. 2015-03-20 12:45:12 +11:00
Aaron Jacobs 8eb077cbe7 Added (failing) tests for flush/fsync behavior.
For GoogleCloudPlatform/gcsfuse#13.
2015-03-20 12:04:34 +11:00
Aaron Jacobs 0451a1bafe FlushFSTest.FsyncError 2015-03-20 12:04:25 +11:00
Aaron Jacobs 2f3b25c19a FlushFSTest.FsyncReports 2015-03-20 12:03:25 +11:00
Aaron Jacobs f3c4cc1048 FlushFSTest.CloseError 2015-03-20 12:01:59 +11:00