Commit Graph

651 Commits (9ed0e374218969558008d63ef37fc03aeef0b5cf)

Author SHA1 Message Date
Aaron Jacobs 212f7cdd8a Fixed another bug. 2015-09-09 09:54:31 +10:00
Aaron Jacobs 8771155822 Fixed a bug. 2015-09-09 09:53:43 +10:00
Aaron Jacobs 6d0c2608dc memFS.StatFS 2015-09-09 09:52:41 +10:00
Aaron Jacobs 284ddf44b0 MemFSTest.Statfs 2015-09-09 09:28:05 +10:00
Aaron Jacobs ee4f4770b6 Fixed some out of date lock annotations. 2015-09-09 09:17:55 +10:00
Aaron Jacobs 560105cab6 Fixed test failures on OS X. 2015-08-14 09:26:12 +10:00
Aaron Jacobs 182c96da07 Fixed cachingfs. 2015-08-12 02:35:41 +00:00
Aaron Jacobs 2e6836708e Increased the slop in memfs_test. 2015-08-12 02:34:02 +00:00
Aaron Jacobs e69b8a8c37 Implement setattr; otherwise closing after writing fails. 2015-08-11 06:33:20 +00:00
Aaron Jacobs eaa0177b80 Clean up mappings even on assertion failure. 2015-08-11 06:33:20 +00:00
Aaron Jacobs fee78b6548 Added comments for timeSlop. 2015-08-11 06:33:20 +00:00
Aaron Jacobs 0bc289ec1b Fixed some more mtime assertions. 2015-08-11 06:33:20 +00:00
Aaron Jacobs d6e247cc46 Fixed several mtime assertions. 2015-08-11 06:33:20 +00:00
Aaron Jacobs a6dd3d2147 Fixed memfs_test.go. 2015-08-11 06:33:20 +00:00
Aaron Jacobs eecd0fb964 Fixed inode.go. 2015-08-11 06:33:19 +00:00
Aaron Jacobs 9c33490a6c Removed clocks from memfs.go. 2015-08-11 06:33:19 +00:00
Aaron Jacobs 348ed9e731 Disabled async reads.
Allowing the kernel to send multiple reads for the same file handle
concurrently interferes with sequential read detection like that in
GoogleCloudPlatform/gcsfuse#103.
2015-08-05 11:09:20 +10:00
Aaron Jacobs 00b92df61c Don't forget to close the opened files. 2015-08-04 02:19:21 +00:00
Aaron Jacobs ad3a463488 Implemented dir methods. 2015-08-04 09:03:22 +10:00
Aaron Jacobs 7943ab5bf4 ErrorFSTest.ReadDir 2015-08-04 09:01:53 +10:00
Aaron Jacobs e22f698dd3 ErrorFSTest.OpenDir 2015-08-04 09:01:02 +10:00
Aaron Jacobs e6a4db9920 errorFS.ReadFile 2015-08-04 09:00:38 +10:00
Aaron Jacobs e5d377b531 ErrorFSTest.ReadFile 2015-08-04 08:59:34 +10:00
Aaron Jacobs 1ea2e82165 errorFS.OpenFile 2015-08-04 08:48:03 +10:00
Aaron Jacobs 54db03b63d errorFS.LookUpInode 2015-08-04 08:45:51 +10:00
Aaron Jacobs c71b2cbf33 Fixed two bugs. 2015-08-04 08:42:51 +10:00
Aaron Jacobs c3601bff1c errorFS.GetInodeAttributes 2015-08-04 08:40:38 +10:00
Aaron Jacobs 978399a268 errorFS.SetError 2015-08-04 08:35:59 +10:00
Aaron Jacobs 8aecb35541 ErrorFSTest.OpenFile 2015-08-04 08:31:51 +10:00
Aaron Jacobs e1bfc5006b Added test names. 2015-08-04 08:29:38 +10:00
Aaron Jacobs 4df87deabd Added a test stub. 2015-08-04 08:27:55 +10:00
Aaron Jacobs 81a6d3d466 Declared errorfs.FS and a factory. 2015-08-04 08:24:16 +10:00
Aaron Jacobs eacbdb8d51 Disabled a test for a feature that doesn't work on OS X. 2015-07-29 16:24:47 +10:00
Aaron Jacobs c3c029c5c1 cachingFS.SetKeepCache 2015-07-29 05:52:25 +00:00
Aaron Jacobs 04dad40a08 PageCacheTest.TwoFileHandles_KeepCache 2015-07-29 05:47:18 +00:00
Aaron Jacobs 454f3959f7 PageCacheTest.TwoFileHandles_NoKeepCache 2015-07-29 05:46:13 +00:00
Aaron Jacobs 93388be731 PageCacheTest.SingleFileHandle_KeepCache 2015-07-29 05:43:47 +00:00
Aaron Jacobs 745498b1e9 cachingFS.ReadFile 2015-07-29 05:43:23 +00:00
Aaron Jacobs a95b1fb276 PageCacheTest.SingleFileHandle_NoKeepCache 2015-07-29 05:41:31 +00:00
Aaron Jacobs 28ee2de1e9 Added test names. 2015-07-29 05:37:55 +00:00
Aaron Jacobs b5be88054f Defined SetKeepCache and read behavior. 2015-07-29 15:32:49 +10:00
Aaron Jacobs cf5cfbccfd Fixed a (new) test bug on Linux. 2015-07-29 14:59:10 +10:00
Aaron Jacobs be5974e914 InterruptFSTest.InterruptedDuringFlush 2015-07-29 14:52:03 +10:00
Aaron Jacobs 85439be549 InterruptFSTest.InterruptedDuringRead 2015-07-29 14:51:33 +10:00
Aaron Jacobs 0796c46a9c Updated the interruptfs API. 2015-07-29 14:51:10 +10:00
Aaron Jacobs c12f80b1e2 Fixed flushfs. 2015-07-29 10:23:51 +10:00
Aaron Jacobs 85b3f9ed42 Fixed hellofs. 2015-07-29 10:22:26 +10:00
Aaron Jacobs 5296835c1f Fixed a dumb bug. 2015-07-29 10:12:59 +10:00
Aaron Jacobs 339bc03e5e Attempted to fix memfs. 2015-07-29 10:12:11 +10:00
Aaron Jacobs 82289ebdd4 Fixed sample build errors. 2015-07-27 15:47:45 +10:00
Aaron Jacobs dfb1b2d881 Fixed package memfs. 2015-07-27 15:15:53 +10:00
Aaron Jacobs 964ae1b4e5 Don't rely on fuseshim for errors. 2015-07-24 14:02:55 +10:00
Aaron Jacobs aa32dd928b Fixed some more references to bazilfuse. 2015-07-24 09:42:43 +10:00
Aaron Jacobs 84c827f980 Stop using fuseops.Header in memfs. 2015-07-24 09:37:57 +10:00
Aaron Jacobs e1eaeb5b64 Fix debug logging for in-process tests. 2015-07-16 10:52:06 +10:00
Aaron Jacobs 528f3d1d06 Fix debug logging for subprocess tests. 2015-07-16 10:51:08 +10:00
Aaron Jacobs 515cdb41a8 Fixed a bug in memfs renaming. 2015-06-25 22:01:56 +10:00
Aaron Jacobs 1878a13850 MemFSTest.RenameNonExistentFile 2015-06-25 21:58:10 +10:00
Aaron Jacobs 7fb4f4d34f MemFSTest.RenameOverExisting_WrongType 2015-06-25 21:57:17 +10:00
Aaron Jacobs a28c3afdfd MemFSTest.RenameOverExistingDirectory 2015-06-25 21:54:38 +10:00
Aaron Jacobs 76b311bdc2 MemFSTest.RenameOverExistingFile 2015-06-25 21:51:36 +10:00
Aaron Jacobs 542984f5bd MemFSTest.RenameIntoFileSystem 2015-06-25 21:48:45 +10:00
Aaron Jacobs a69cbc2139 MemFSTest.RenameOutOfFileSystem 2015-06-25 21:47:31 +10:00
Aaron Jacobs af38b8f8e5 MemFSTest.RenameAcrossDirs_Directory 2015-06-25 21:45:12 +10:00
Aaron Jacobs 361e9e61f6 MemFSTest.RenameAcrossDirs_File 2015-06-25 21:43:01 +10:00
Aaron Jacobs bde0d1be29 MemFSTest.RenameWithinDir_SameName 2015-06-25 21:40:54 +10:00
Aaron Jacobs 6ec382c952 Added another test name. 2015-06-25 21:40:53 +10:00
Aaron Jacobs 7b0dfea7dd Added a test stub. 2015-06-25 21:40:53 +10:00
Aaron Jacobs f7f7ac8ff6 Fixed build errors. 2015-06-25 21:40:42 +10:00
Aaron Jacobs 99080585ce Fixed a test bug. 2015-06-25 21:39:10 +10:00
Aaron Jacobs 7c97a95067 Strengthened some tests. 2015-06-25 21:39:10 +10:00
Aaron Jacobs 5532e21b56 Fixed build errors. 2015-06-25 21:39:10 +10:00
Aaron Jacobs 1d764bcde0 Mostly implemented Rename. 2015-06-25 21:38:39 +10:00
Aaron Jacobs 9406c5bc29 Added more test names and TODOs. 2015-06-25 21:38:39 +10:00
Aaron Jacobs f31cd5eb0a Added a snooping implementation. 2015-06-25 21:38:39 +10:00
Aaron Jacobs 45ab98457f Improved rename tests. 2015-06-25 21:38:38 +10:00
Aaron Jacobs 3440c23dd2 MemFSTest.RenameWithinDir_Directory 2015-06-25 21:38:38 +10:00
Aaron Jacobs 60383de712 MemFSTest.RenameWithinDir_File 2015-06-25 21:38:38 +10:00
Aaron Jacobs 044aa10a41 Declared test names. 2015-06-25 21:38:38 +10:00
Aaron Jacobs c7c0b23bc0 Fixed up memfs.go. 2015-06-25 21:37:29 +10:00
Aaron Jacobs a365c6c2cb Removed inode.mu. 2015-06-25 21:35:09 +10:00
Aaron Jacobs bb3046cdaa Unified a duplicate pair of methods in memfs. 2015-06-25 16:16:48 +10:00
Aaron Jacobs 3103bb22a1 Updated samples. 2015-06-22 12:31:25 +10:00
Aaron Jacobs 1939992b46 Reference package syncutil in its new location. 2015-06-15 08:27:39 +10:00
Aaron Jacobs 6d19754c38 Reference package timeutil in its new location. 2015-06-15 08:11:28 +10:00
Aaron Jacobs 3cb67f5833 Tightened forgetfs's post-destruction check, now that we can. 2015-06-09 13:27:02 +10:00
Aaron Jacobs 43c8f9d8c2 Fixed a bug in forgetfs.
This manifested as ForgetFSTest.MkDir pacicking now and then in a manner
like this:

    28e0a01a92/gistfile1.txt
2015-06-09 13:25:28 +10:00
Aaron Jacobs 9cc2a6f450 Implemented Destroy for forgetfs. 2015-06-09 11:10:39 +10:00
Aaron Jacobs c9c4a456b1 Removed the Linux destroy workaround. 2015-06-09 11:04:26 +10:00
Aaron Jacobs 5e2cea4b7a Fixed interruptfs. 2015-06-05 14:24:14 +10:00
Aaron Jacobs 4cba8c73d1 Fixed flushfs. 2015-06-05 14:23:26 +10:00
Aaron Jacobs ba71991231 Fixed hellofs. 2015-06-05 14:23:05 +10:00
Aaron Jacobs ea1d0606dc Fixed cachingfs. 2015-06-05 14:22:29 +10:00
Aaron Jacobs afd13efb65 Fixed memfs. 2015-06-05 14:22:02 +10:00
Aaron Jacobs f7952dbc64 Fixed forgetfs. 2015-06-05 14:18:39 +10:00
Aaron Jacobs aa62bac439 Made "create in parallel" tests reusable. 2015-05-21 15:43:41 +10:00
Aaron Jacobs bc969387ca Fixed memfs bugs. 2015-05-21 15:22:26 +10:00
Aaron Jacobs 49a5ff2328 MemFSTest.SymlinkInParallel 2015-05-21 15:21:26 +10:00
Aaron Jacobs 7ec610e0be PosixTest.SymlinkInParallel 2015-05-21 15:21:05 +10:00
Aaron Jacobs e158bcfa17 MemFSTest.MkdirInParallel 2015-05-21 15:20:01 +10:00