Commit Graph

260 Commits (2642d571aa800c9ddca51e63800a57046970ce96)

Author SHA1 Message Date
Aaron Jacobs 2642d571aa memfs_test: pass on Go 1.8 and above, too.
This was broken by golang/go@321c312d82.
2016-12-19 15:07:56 +11:00
Aaron Jacobs ab9f5b35ca Fixed a silly test bug. 2015-12-14 23:40:46 +00:00
Aaron Jacobs 67e4fbbc5f Added memFS.MkNode. 2015-12-14 23:40:13 +00:00
Aaron Jacobs 6afe951ee0 Fixed build errors. 2015-12-15 10:15:48 +11:00
Aaron Jacobs 4db81d4495 Pasted MknodTest from googlecloudplatform/gcsfuse@ff8a3f0. 2015-12-15 10:15:40 +11:00
Aaron Jacobs 57b4e8798f Fixed other tests on OS X. 2015-09-09 22:55:39 +10:00
Aaron Jacobs d435a1a091 Reverted changes to memfs.
statfs(2) is more involved than I expected, so this calls for its own
sample file system to test in a more focused manner.
2015-09-09 13:21:58 +10:00
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 2e6836708e Increased the slop in memfs_test. 2015-08-12 02:34:02 +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 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 dfb1b2d881 Fixed package memfs. 2015-07-27 15:15:53 +10:00
Aaron Jacobs 84c827f980 Stop using fuseops.Header in memfs. 2015-07-24 09:37:57 +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