Commit Graph

585 Commits (9a7512aac0fb7769d3475200e8b766cf85c15f49)

Author SHA1 Message Date
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
Aaron Jacobs 2b71f8cbe8 PosixTest.MkdirInParallel 2015-05-21 15:19:39 +10:00
Aaron Jacobs 150440d500 Return EEXIST from create. This appears to work, on OS X at least. 2015-05-21 15:14:16 +10:00
Aaron Jacobs 0407fb7690 Added memfs create in parallel tests. 2015-05-21 14:30:52 +10:00
Aaron Jacobs 4269d7cd47 Check for already existing in memFS.CreateFile. 2015-05-21 14:25:29 +10:00
Aaron Jacobs 63888f4ddd PosixTest.CreateInParallel_Exclusive 2015-05-21 14:24:45 +10:00
Aaron Jacobs 25ded77e80 PosixTest.CreateInParallel_Truncate 2015-05-21 14:24:45 +10:00
Aaron Jacobs e69cd9188e Split out into a reusable function. 2015-05-21 14:24:45 +10:00
Aaron Jacobs e295ef6019 Fixed two test bugs. 2015-05-21 14:24:45 +10:00
Aaron Jacobs 113fabe937 Don't forget to close. 2015-05-21 14:24:44 +10:00
Aaron Jacobs acccaf1e28 PosixTest.CreateInParallel_NoTruncate 2015-05-21 14:24:44 +10:00
Aaron Jacobs f073423b67 Added test names. 2015-05-21 14:24:44 +10:00
Aaron Jacobs f385176a96 Renamed to memfs.go. 2015-05-21 13:23:18 +10:00
Aaron Jacobs 3086e28fe4 Fixed a bug. 2015-05-19 16:08:50 +10:00
Aaron Jacobs c75db4a11f memFS.ReadSymlin 2015-05-19 16:07:53 +10:00
Aaron Jacobs dcaf480759 MemFSTest.DeleteSymlink 2015-05-19 16:01:36 +10:00
Aaron Jacobs cec7824a4b Made MemFSTest.CreateSymlink more thorough. 2015-05-19 16:00:28 +10:00
Aaron Jacobs 9b36fa15f8 Todone. 2015-05-19 15:57:54 +10:00
Aaron Jacobs 1cda3987e5 memFS.CreateSymlink 2015-05-19 15:57:19 +10:00
Aaron Jacobs 1f56395068 Fixed more errors. 2015-05-19 15:53:01 +10:00
Aaron Jacobs 6f8dbe44b0 Restored lost code. 2015-05-19 15:52:28 +10:00
Aaron Jacobs fe7d0eab90 Fixed more build errors. 2015-05-19 15:51:38 +10:00
Aaron Jacobs 4cfaa1e1e7 Fixed more build errors. 2015-05-19 15:50:12 +10:00
Aaron Jacobs 1c244c414a Fixed some build errors. 2015-05-19 15:49:51 +10:00
Aaron Jacobs 2e7ac1c44b No reader locks. 2015-05-19 15:49:13 +10:00
Aaron Jacobs 5184f42e34 Updated annotations. 2015-05-19 15:48:39 +10:00
Aaron Jacobs 6fdbd3c0c2 Fixed names. 2015-05-19 15:48:17 +10:00
Aaron Jacobs ccac11385f Updated inode contents. 2015-05-19 15:46:09 +10:00
Aaron Jacobs 35770118ce MemFSTest.ReadLink_NotASymlink 2015-05-19 15:26:25 +10:00
Aaron Jacobs 4537a6fb9b MemFSTest.ReadLink_NonExistent 2015-05-19 15:25:31 +10:00
Aaron Jacobs 2a58039db5 MemFSTest.CreateSymlink_AlreadyExists 2015-05-19 15:24:53 +10:00
Aaron Jacobs d2fd911271 Added two more names. 2015-05-19 15:22:50 +10:00
Aaron Jacobs 0a9c888d54 MemFSTest.CreateSymlink 2015-05-19 15:22:31 +10:00
Aaron Jacobs c478c23404 MemFSTest.HardLinks 2015-05-19 15:21:07 +10:00
Aaron Jacobs ba58fa8721 Added test names. 2015-05-19 15:18:50 +10:00
Aaron Jacobs 0c77f49eab Made a test work on both Linux and OS X. 2015-05-18 10:20:21 +10:00
Aaron Jacobs 3338682836 ReadOnlyTest.ReadDir 2015-05-18 10:16:49 +10:00
Aaron Jacobs 9e9c2ac2c9 ReadOnlyTest.StatFiles 2015-05-18 10:15:51 +10:00
Aaron Jacobs 7bef9dadfe Fixed tests to match real behavior. 2015-05-18 10:15:16 +10:00
Aaron Jacobs f547825dfa ReadOnlyTest.Chmod 2015-05-18 10:14:57 +10:00
Aaron Jacobs 039f159ab1 ReadOnlyTest.Chtimes 2015-05-18 10:14:19 +10:00
Aaron Jacobs dbc48cd39f ReadOnlyTest.OpenForWrite 2015-05-18 10:13:28 +10:00
Aaron Jacobs 87e443860a ReadOnlyTest.Mkdir 2015-05-18 10:11:21 +10:00
Aaron Jacobs 409c174eac ReadOnlyTest.CreateFile 2015-05-18 10:11:03 +10:00
Aaron Jacobs 2931e283d2 ReadOnlyTest.ReadRoot 2015-05-18 10:07:41 +10:00
Aaron Jacobs fc1e4aab6b flushFS.ReadDir 2015-05-18 10:06:19 +10:00
Aaron Jacobs 2f2c40a367 Allow opening the root dir in flushfs. 2015-05-18 09:58:40 +10:00
Aaron Jacobs 9ee0e4a22f Started ReadOnlyTest.ReadRoot. 2015-05-18 09:57:05 +10:00
Aaron Jacobs 68a2e8a068 Added the mount_sample flag. 2015-05-18 09:55:39 +10:00
Aaron Jacobs 20ff8c6aec ReadOnlyTest.SetUp 2015-05-18 09:54:34 +10:00
Aaron Jacobs 7caa7e6e91 Added test names. 2015-05-18 09:52:10 +10:00
Aaron Jacobs 306840e4ce Wait less time, making the test faster. 2015-05-05 12:34:07 +10:00
Aaron Jacobs 130ddabc42 InterruptFSTest.InterruptedDuringRead 2015-05-05 12:32:36 +10:00
Aaron Jacobs 1236f0e278 Most of InterruptFSTest.InterruptedDuringRead. 2015-05-05 12:28:18 +10:00
Aaron Jacobs be24b2b3e3 Signal in flight. 2015-05-05 10:34:40 +10:00
Aaron Jacobs 0b00132020 InterruptFS.ReadFile 2015-05-05 10:34:40 +10:00
Aaron Jacobs aeca4a00d5 Fixed a bug. 2015-05-05 10:34:40 +10:00
Aaron Jacobs 8010a8342d InterruptFS.WaitForReadInFlight 2015-05-05 10:34:40 +10:00
Aaron Jacobs fe14fa8f3e Started InterruptFSTest.InterruptedDuringRead. 2015-05-05 10:34:40 +10:00
Aaron Jacobs d862e4b035 interruptfs.New 2015-05-05 10:34:40 +10:00
Aaron Jacobs 5fd9008838 Began on a test. 2015-05-05 10:34:39 +10:00
Aaron Jacobs 7af2286422 Began on interruptfs. 2015-05-05 10:34:39 +10:00
Aaron Jacobs f52a6099c6 Pass along the test context to the server. 2015-05-01 11:20:43 +10:00
Aaron Jacobs a76742833c Plumb through the ogletest context. 2015-05-01 11:11:32 +10:00
Aaron Jacobs 6305cb930b Synchronize on ops in flight in tear-down, fixing forgetfs_test. 2015-04-02 11:10:55 +11:00
Aaron Jacobs 40fdee8c78 Made tests pickier about ReadDir. 2015-04-01 09:05:26 +11:00
Aaron Jacobs e859e64179 fsImpl.Check: Bail out early on Linux.
To my great disappointment, I can't figure out a way to make this test
reliable on Linux. Hopefully the cited mailing list thread will come
through.
2015-03-31 16:01:22 +11:00