Commit Graph

124 Commits (4ee1cf7f62f0f224d1ec7728dabe333577dee3aa)

Author SHA1 Message Date
Ka-Hing Cheung 4ee1cf7f62 add support for fallocate (#66)
* Fallocate support

* use fallocate wrapper that works on darwin
2019-10-26 10:15:00 +02:00
Michael Stapelberg fbd48a3771 fix/skip tests for Go 1.13
See https://golang.org/doc/go1.13#os for the corresponding change.
2019-09-16 18:43:37 +02:00
Srdjan Rilak 4ee295e334 Add tests for hard link 2017-11-30 16:30:32 +01:00
Aaron Jacobs 6770eccb1c memfs_test: touch up the style of xattr tests. 2017-05-12 12:59:01 +10:00
Ka-Hing Cheung 3eadae8418 use constants from upstream PR 2017-05-11 14:50:20 -07:00
Ka-Hing Cheung d650fe34ba added tests and enhanced comments 2017-05-11 14:45:40 -07:00
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 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 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 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 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 9406c5bc29 Added more test names and TODOs. 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 aa62bac439 Made "create in parallel" tests reusable. 2015-05-21 15:43:41 +10:00
Aaron Jacobs 49a5ff2328 MemFSTest.SymlinkInParallel 2015-05-21 15:21:26 +10:00
Aaron Jacobs e158bcfa17 MemFSTest.MkdirInParallel 2015-05-21 15:20:01 +10:00
Aaron Jacobs 0407fb7690 Added memfs create in parallel tests. 2015-05-21 14:30:52 +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 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 40fdee8c78 Made tests pickier about ReadDir. 2015-04-01 09:05:26 +11:00