Commit Graph

118 Commits (master)

Author SHA1 Message Date
Aaron Jacobs 096c3fa695 Added a test for directories. 2015-03-24 12:02:48 +11:00
Aaron Jacobs 5a7e50daa6 Use a helper to be more sure that temp files are cleaned up at exit. 2015-03-24 10:59:46 +11:00
Aaron Jacobs b62be9632c Pass report files by file descriptor. 2015-03-24 09:46:05 +11:00
Aaron Jacobs 61f3528c80 Fixed another invocation bug. 2015-03-24 09:26:16 +11:00
Aaron Jacobs d12a25db1c Fixed two build errors. 2015-03-24 08:53:11 +11:00
Aaron Jacobs 2665bd1342 Other SetUp methods. 2015-03-24 08:52:56 +11:00
Aaron Jacobs f92de1a6e7 NoErrorsTest.SetUp 2015-03-24 08:52:05 +11:00
Aaron Jacobs ddfca9cb6b Implemented readReports. 2015-03-24 08:51:19 +11:00
Aaron Jacobs c090f136cd Implemented getFlushes and getFsyncs. 2015-03-24 08:45:01 +11:00
Aaron Jacobs cab543fa8c Fixed more build errors. 2015-03-24 08:43:24 +11:00
Aaron Jacobs e7dc200b88 Fixed some build errors. 2015-03-24 08:43:03 +11:00
Aaron Jacobs bfa3465cb9 Open and close reporting files. 2015-03-24 08:42:39 +11:00
Aaron Jacobs 01470b8c34 Fixed test names. 2015-03-24 08:40:35 +11:00
Aaron Jacobs f0ae4d753e Recategorized tests. 2015-03-24 08:39:22 +11:00
Aaron Jacobs 5dde9ea0b7 Fixed a silly mistake. 2015-03-23 16:36:07 +11:00
Aaron Jacobs f02cc98b33 Fixed some build errors. 2015-03-23 16:35:42 +11:00
Aaron Jacobs 3924e25eb8 Refactored helpers. 2015-03-23 16:35:19 +11:00
Aaron Jacobs 4ca6ed02c6 flushFSTest.setUp. 2015-03-23 16:34:39 +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 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 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 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 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 b856e4e73d flushFS.SyncFile 2015-03-20 13:40:53 +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 7af6c9300f Declared a test for directories. 2015-03-20 13:24:02 +11:00
Aaron Jacobs 4a92165ab8 Added more flush test names. 2015-03-20 13:21:14 +11:00
Aaron Jacobs 22c6e605c0 Added a test name for dup. 2015-03-20 12:45:12 +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
Aaron Jacobs 4b0c377865 FlushFSTest.CloseReports_MultipleTimes_OverlappingFileHandles 2015-03-20 11:59:52 +11:00
Aaron Jacobs a8648b2868 We're not using byte slices. 2015-03-20 11:57:21 +11:00
Aaron Jacobs b8ce0bcb8d FlushFSTest.CloseReports_MultipleTimes_NonOverlappingFileHandles 2015-03-20 11:56:38 +11:00
Aaron Jacobs 59c2823005 FlushFSTest.CloseReports_WriteOnly 2015-03-20 11:54:43 +11:00
Aaron Jacobs 7f5d9a43f2 FlushFSTest.CloseReports_ReadOnly 2015-03-20 11:54:09 +11:00
Aaron Jacobs a932a6549e Support flush/fsync errors. 2015-03-20 11:52:54 +11:00
Aaron Jacobs 4eda8330e8 byteSliceEq 2015-03-20 11:51:26 +11:00
Aaron Jacobs 0698d68032 flushFS.WriteFile 2015-03-20 11:49:45 +11:00
Aaron Jacobs b87740f7f2 flushFS.OpenFile. 2015-03-20 11:40:53 +11:00
Aaron Jacobs 38e2aaff58 flushFS.GetInodeAttributes 2015-03-20 11:40:14 +11:00
Aaron Jacobs d7fec86069 flushFS.LookUpInode 2015-03-20 11:38:40 +11:00
Aaron Jacobs 604281b157 Changed the contents of flushFS. 2015-03-20 11:34:16 +11:00
Aaron Jacobs 1c062d495e FlushFSTest.CloseReports_ReadWrite 2015-03-20 11:33:15 +11:00
Aaron Jacobs dfa0452003 Implemented helpers. 2015-03-20 11:26:32 +11:00
Aaron Jacobs d6eb065a4d Set up more test structure. 2015-03-20 11:25:15 +11:00
Aaron Jacobs 87a08d4388 Added some test names. 2015-03-20 11:23:15 +11:00
Aaron Jacobs 20b5ac7634 flushFS.Init 2015-03-20 11:22:16 +11:00
Aaron Jacobs e1375f33da NewFileSystem 2015-03-20 11:21:38 +11:00
Aaron Jacobs 2fe7597c4e FlushFSTest.SetUp 2015-03-20 11:20:29 +11:00
Aaron Jacobs ffa094be50 Switched to string for fool-proofness. 2015-03-20 11:18:56 +11:00
Aaron Jacobs 76f61fa467 Added a test stub. 2015-03-20 11:17:27 +11:00
Aaron Jacobs 2a57c26cec Began on a file system to help test flush/fsync support. 2015-03-20 11:15:26 +11:00