Commit Graph

80 Commits (2a58039db5bcb4b39cf17dcbcfe25e7a5db6371b)

Author SHA1 Message Date
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
Aaron Jacobs 0e7e9c3f78 Added a memfs test for a large file.
To help investigate googlecloudplatform/gcsfuse#27.
2015-03-26 15:54:17 +11:00
Aaron Jacobs a361e12cab Updated memfs_test. 2015-03-24 16:25:26 +11:00
Aaron Jacobs 8f8b5c9c44 Converted memfs_test. 2015-03-20 11:11:20 +11:00
Aaron Jacobs 8d0ce150a0 Updated import paths after the repo move. 2015-03-19 12:39:47 +11:00
Aaron Jacobs cd4980bf7d Uncommented unlink tests. 2015-03-18 14:14:46 +11:00
Aaron Jacobs 6baf50c6d4 Removed an out of date TODO. 2015-03-17 16:37:48 +11:00
Aaron Jacobs c713695871 Fixed broken tests using Mount. 2015-03-17 15:27:40 +11:00
Aaron Jacobs 2d10e03395 Switched import paths to the bazilfuse fork. 2015-03-17 15:03:11 +11:00
Aaron Jacobs 920a7445eb Fixed some accidental Jello. 2015-03-16 14:04:03 +11:00
Aaron Jacobs d6218a3538 Updated pwrite tests for Linux. 2015-03-16 14:02:54 +11:00
Aaron Jacobs b064d6b33f Revised "rmdir while open for reading" tests for Linux's behavior. 2015-03-16 13:56:21 +11:00
Aaron Jacobs bc46008754 Mount memfs with the default_permissions option.
This is necessary on Linux to make MemFSTest.Mkdir_PermissionDenied
pass, for the reasons outlined in commit e31cb17. I don't quite
understand why it doesn't come up on OS X.
2015-03-16 13:41:01 +11:00
Aaron Jacobs 3181e6495b Be explicit about ownership info for memfs. 2015-03-16 13:27:41 +11:00
Aaron Jacobs 6aaf89f972 Fixed MemFSTest.Chtimes.
Linux apparently doesn't like setting atime to time.Time{}.
2015-03-16 13:03:15 +11:00
Aaron Jacobs e4005a4fb9 Removed applyUmask where it doesn't apply. 2015-03-16 13:00:11 +11:00
Aaron Jacobs 84fe345196 Defined applyUmask. 2015-03-16 13:00:01 +11:00
Aaron Jacobs 2d607d4b3d Declared an applyUmask helper. 2015-03-16 12:55:51 +11:00
Aaron Jacobs 3b5a04f79d Use the new matchers. 2015-03-16 12:42:02 +11:00
Aaron Jacobs c1d117ad7f Fixed some test bugs. 2015-03-06 23:33:59 -06:00
Aaron Jacobs 5f1b960b2e Disabled a test that can't pass. 2015-03-06 23:32:26 -06:00
Aaron Jacobs df6feb98c5 MemFSTest.ReadDirWhileModifying 2015-03-06 23:18:30 -06:00
Aaron Jacobs b53eac308c Deleted a redundant test. 2015-03-06 22:35:57 -06:00
Aaron Jacobs c9cd78eef2 MemFSTest.UnlinkFile_StillOpen 2015-03-06 22:31:44 -06:00
Aaron Jacobs e8c884f82b MemFSTest.UnlinkFile_NonExistent 2015-03-06 22:22:46 -06:00
Aaron Jacobs 005e43cd24 MemFSTest.UnlinkFile_Exists 2015-03-06 22:19:52 -06:00
Aaron Jacobs 52f2e5fec5 MemFSTest.ModifyExistingFile_InSubDir 2015-03-06 22:18:05 -06:00
Aaron Jacobs bf0b773894 Added a test name. 2015-03-06 06:10:43 +11:00
Aaron Jacobs a7d2944d2e Support changing mtime. 2015-03-06 06:04:51 +11:00
Aaron Jacobs 76ac5cc264 MemFSTest.Chtimes 2015-03-06 06:02:43 +11:00
Aaron Jacobs c4de915491 MemFSTest.Chmod 2015-03-06 05:59:06 +11:00
Aaron Jacobs 1e38634464 MemFSTest.Truncate_Larger 2015-03-06 05:56:40 +11:00
Aaron Jacobs 910d3b2f9f Oops, preserve the size invariant. 2015-03-06 05:56:12 +11:00
Aaron Jacobs 9dc1d04623 MemFSTest.Truncate_Smaller 2015-03-06 05:54:20 +11:00
Aaron Jacobs 7173c5e9fb Added some test names. 2015-03-06 05:52:08 +11:00
Aaron Jacobs 632b1e6120 Added FileSystem.SetInodeAttributes. 2015-03-06 05:45:17 +11:00
Aaron Jacobs 1828931cce Don't attempt to track ctime. 2015-03-06 05:35:44 +11:00
Aaron Jacobs 650467fedb Update mtime for mkdir and rmdir. 2015-03-06 05:35:44 +11:00
Aaron Jacobs ea53ba8488 Don't attempt to track atime. 2015-03-06 05:35:43 +11:00
Aaron Jacobs 77fee50b80 Tightened up time tests. 2015-03-06 05:35:43 +11:00
Aaron Jacobs 62bda89ca9 MemFSTest.ModifyExistingFile_InRoot 2015-03-06 05:35:43 +11:00
Aaron Jacobs 3a2b0a6de4 MemFSTest.AppendMode 2015-03-06 05:35:43 +11:00
Aaron Jacobs b8ea62986f Dumped in posix tests. 2015-03-06 05:35:43 +11:00
Aaron Jacobs 0377d675dd MemFSTest.CreateNewFile_InSubDir 2015-03-06 05:35:42 +11:00
Aaron Jacobs 87f8ec9ead MemFSTest.CreateNewFile_InRoot 2015-03-04 15:10:26 +11:00