Aaron Jacobs
ee8e869e35
buildMountSample
2015-03-23 16:31:52 +11:00
Aaron Jacobs
5001868f24
Sketched invokeMountSample.
2015-03-23 16:26:15 +11:00
Aaron Jacobs
9ae1064493
Fixed a comment.
2015-03-23 16:23:22 +11:00
Aaron Jacobs
0a588af19f
Fixed some comments.
2015-03-23 16:16:51 +11:00
Aaron Jacobs
ff9c68f93c
Begain on a SubprocessTest helper.
2015-03-23 16:15:53 +11:00
Aaron Jacobs
f211ff829b
Renamed testing.go to in_process.go.
2015-03-23 16:13:18 +11:00
Aaron Jacobs
7066fecc45
Began on helper.
2015-03-23 16:12:02 +11:00
Aaron Jacobs
e997c8fc91
Began categorizing tests.
2015-03-23 16:11:01 +11:00
Aaron Jacobs
ad0a833fa7
makeFlushFS
2015-03-23 16:08:46 +11:00
Aaron Jacobs
215f15bdc7
Sketched makeFS.
2015-03-23 16:01:16 +11:00
Aaron Jacobs
06fb8e2f13
Sketched main.
2015-03-23 16:00:12 +11:00
Aaron Jacobs
0bbe4cfa3d
Added flags for flushfs.
2015-03-23 15:54:20 +11:00
Aaron Jacobs
9b88ab0cc3
Began working on a generic mounting tool for samples/.
...
For jacobsa/fuse#4 .
2015-03-23 15:52:27 +11:00
Aaron Jacobs
64d7bf8a69
Worked around osxfuse/osxfuse#202 .
2015-03-23 12:28:13 +11:00
Aaron Jacobs
5908a93101
FlushFSTest.Mmap_MunmapBeforeClose
2015-03-23 11:40:36 +11:00
Aaron Jacobs
7020914422
FlushFSTest.Mmap_CloseBeforeMunmap
2015-03-23 11:40:03 +11:00
Aaron Jacobs
2728137e7d
Worked around a deadlock in FlushFSTest.Mmap.
2015-03-23 11:16:39 +11:00
Aaron Jacobs
68a8062681
FlushFSTest.Mmap
2015-03-23 10:52:37 +11:00
Aaron Jacobs
fef2721042
Fixed FlushFSTest.Dup_FlushError for darwin.
2015-03-23 10:43:32 +11:00
Aaron Jacobs
d2445f678d
Fixed FlushFSTest.Dup for darwin.
2015-03-23 10:41:59 +11:00
Aaron Jacobs
51062a1475
Oops, don't forget to unmount.
2015-03-23 10:37:32 +11:00
Aaron Jacobs
3a9a00d6f3
Remove file closing boilerplate.
2015-03-23 10:32:30 +11:00
Aaron Jacobs
6a25ef9666
FlushFSTest.Dup2_FlushError
2015-03-23 10:28:15 +11:00
Aaron Jacobs
62d30c7631
Fixed a deadlock in FlushFSTest.Dup2.
2015-03-23 10:27:22 +11:00
Aaron Jacobs
e2f3ca7109
FlushFSTest.Dup2
2015-03-20 14:48:47 +11:00
Aaron Jacobs
7fd16bbf58
FlushFSTest.Dup_FlushError
2015-03-20 13:54:52 +11:00
Aaron Jacobs
f7694a22b7
flushFS.ReadFile
2015-03-20 13:51:04 +11:00
Aaron Jacobs
8e46de74a3
Fixed my misunderstanding of dup.
2015-03-20 13:47:47 +11:00
Aaron Jacobs
7de08bc15f
FlushFSTest.Dup
2015-03-20 13:44:34 +11:00
Aaron Jacobs
b856e4e73d
flushFS.SyncFile
2015-03-20 13:40:53 +11:00
Aaron Jacobs
f1d36b3117
Filled in test TODOs.
2015-03-20 13:29:15 +11:00
Aaron Jacobs
4fba58178c
Fixed a file system bug.
2015-03-20 13:28:51 +11:00
Aaron Jacobs
8ab34bc0e4
flushFS.FlushFile
2015-03-20 13:27:27 +11:00
Aaron Jacobs
7af6c9300f
Declared a test for directories.
2015-03-20 13:24:02 +11:00
Aaron Jacobs
4a92165ab8
Added more flush test names.
2015-03-20 13:21:14 +11:00
Aaron Jacobs
22c6e605c0
Added a test name for dup.
2015-03-20 12:45:12 +11:00
Aaron Jacobs
0451a1bafe
FlushFSTest.FsyncError
2015-03-20 12:04:25 +11:00
Aaron Jacobs
2f3b25c19a
FlushFSTest.FsyncReports
2015-03-20 12:03:25 +11:00
Aaron Jacobs
f3c4cc1048
FlushFSTest.CloseError
2015-03-20 12:01:59 +11:00
Aaron Jacobs
4b0c377865
FlushFSTest.CloseReports_MultipleTimes_OverlappingFileHandles
2015-03-20 11:59:52 +11:00
Aaron Jacobs
a8648b2868
We're not using byte slices.
2015-03-20 11:57:21 +11:00
Aaron Jacobs
b8ce0bcb8d
FlushFSTest.CloseReports_MultipleTimes_NonOverlappingFileHandles
2015-03-20 11:56:38 +11:00
Aaron Jacobs
59c2823005
FlushFSTest.CloseReports_WriteOnly
2015-03-20 11:54:43 +11:00
Aaron Jacobs
7f5d9a43f2
FlushFSTest.CloseReports_ReadOnly
2015-03-20 11:54:09 +11:00
Aaron Jacobs
a932a6549e
Support flush/fsync errors.
2015-03-20 11:52:54 +11:00
Aaron Jacobs
4eda8330e8
byteSliceEq
2015-03-20 11:51:26 +11:00
Aaron Jacobs
0698d68032
flushFS.WriteFile
2015-03-20 11:49:45 +11:00
Aaron Jacobs
b87740f7f2
flushFS.OpenFile.
2015-03-20 11:40:53 +11:00
Aaron Jacobs
38e2aaff58
flushFS.GetInodeAttributes
2015-03-20 11:40:14 +11:00
Aaron Jacobs
d7fec86069
flushFS.LookUpInode
2015-03-20 11:38:40 +11:00
Aaron Jacobs
604281b157
Changed the contents of flushFS.
2015-03-20 11:34:16 +11:00
Aaron Jacobs
1c062d495e
FlushFSTest.CloseReports_ReadWrite
2015-03-20 11:33:15 +11:00
Aaron Jacobs
dfa0452003
Implemented helpers.
2015-03-20 11:26:32 +11:00
Aaron Jacobs
d6eb065a4d
Set up more test structure.
2015-03-20 11:25:15 +11:00
Aaron Jacobs
87a08d4388
Added some test names.
2015-03-20 11:23:15 +11:00
Aaron Jacobs
20b5ac7634
flushFS.Init
2015-03-20 11:22:16 +11:00
Aaron Jacobs
e1375f33da
NewFileSystem
2015-03-20 11:21:38 +11:00
Aaron Jacobs
2fe7597c4e
FlushFSTest.SetUp
2015-03-20 11:20:29 +11:00
Aaron Jacobs
ffa094be50
Switched to string for fool-proofness.
2015-03-20 11:18:56 +11:00
Aaron Jacobs
76f61fa467
Added a test stub.
2015-03-20 11:17:27 +11:00
Aaron Jacobs
2a57c26cec
Began on a file system to help test flush/fsync support.
2015-03-20 11:15:26 +11:00
Aaron Jacobs
ba6909e398
Fixed an out of date name.
2015-03-20 11:14:45 +11:00
Aaron Jacobs
8f8b5c9c44
Converted memfs_test.
2015-03-20 11:11:20 +11:00
Aaron Jacobs
abeaf77890
Added a ToClose field.
2015-03-20 11:10:04 +11:00
Aaron Jacobs
0b43e99333
Use the names SetUp and TearDown so that ogletest doesn't run them.
2015-03-20 11:07:43 +11:00
Aaron Jacobs
f099d9868f
Updated hello_fs_test.
2015-03-20 10:50:36 +11:00
Aaron Jacobs
08f495e8b0
Refactored SampleTest.Destroy.
2015-03-20 10:47:46 +11:00
Aaron Jacobs
03f5453297
Oops, use t.Ctx.
2015-03-20 10:46:20 +11:00
Aaron Jacobs
bdfb8cacce
SampleTest.Destroy.
2015-03-20 10:46:02 +11:00
Aaron Jacobs
5e5a2d3356
SampleTest.Initialize
2015-03-20 10:44:50 +11:00
Aaron Jacobs
0ce062dde3
Declared a helper struct for sample tests.
2015-03-20 10:40:34 +11:00
Aaron Jacobs
8d0ce150a0
Updated import paths after the repo move.
2015-03-19 12:39:47 +11:00
Aaron Jacobs
76226f19f5
Updated PosixTest.WriteStartsPastEndOfFile_AppendMode for Linux.
2015-03-18 16:16:24 +11:00
Aaron Jacobs
e011f89d97
PosixTest.WriteStartsPastEndOfFile_AppendMode
2015-03-18 16:13:28 +11:00
Aaron Jacobs
cd4980bf7d
Uncommented unlink tests.
2015-03-18 14:14:46 +11:00
Aaron Jacobs
1a27522693
Added cachingfs support for nlink.
2015-03-18 14:14:19 +11:00
Aaron Jacobs
7120eb1f3d
Added memfs support for nlink.
2015-03-18 14:13:37 +11:00
Aaron Jacobs
7e8f3266ef
Added hellofs support for nlink.
2015-03-18 14:11:36 +11:00
Aaron Jacobs
33e35f568b
Tightened up nlink-related tests for sample file systems.
...
These are currently failing due to bazillion/fuse@58c769a . See #2 .
2015-03-18 14:07:26 +11:00
Aaron Jacobs
6baf50c6d4
Removed an out of date TODO.
2015-03-17 16:37:48 +11:00
Aaron Jacobs
e85990c143
Fixed permissions behavior in hellofs.
...
The tests were recently broken on Linux when default_permissions was set
when mounting. On Linux (but not on OS X), the uid sending the Init
request is root, so all of the files appear to be owned by root. This
was fine until we told the kernel to check permissions.
2015-03-17 16:35:31 +11:00
Aaron Jacobs
b851c516e3
Fixed AttributeCachingTest.StatMtimeStat_ViaPath on OS X.
2015-03-17 16:30:03 +11:00
Aaron Jacobs
6fe7f54829
Updated a few tests for darwin's special entry cache behavior.
2015-03-17 16:24:15 +11:00
Aaron Jacobs
be35ff0dde
Set EnableVnodeCaching in the appropriate test.
2015-03-17 16:21:10 +11:00
Aaron Jacobs
40519818d5
Clarified the expectations in a couple of tests.
2015-03-17 16:14:37 +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
69c73e39d4
AttributeCachingTest.StatMtimeStat_ViaFileDescriptor
2015-03-17 14:27:23 +11:00
Aaron Jacobs
c7db9c22ec
Fixed more test bugs.
2015-03-17 14:24:55 +11:00
Aaron Jacobs
440803fff6
Fixed some test bugs.
2015-03-17 14:24:13 +11:00
Aaron Jacobs
56cd06ab51
Implemented OpenDir and OpenFile.
2015-03-17 14:23:36 +11:00
Aaron Jacobs
8d1ca91bc9
AttributeCachingTest.StatRenumberMtimeStat_ViaFileDescriptor
2015-03-17 14:22:44 +11:00
Aaron Jacobs
0fe8ed1493
Fixed AttributeCachingTest.StatMtimeStat.
2015-03-17 14:16:10 +11:00
Aaron Jacobs
9ca89ca229
Added AttributeCachingTest.
2015-03-17 14:11:27 +11:00
Aaron Jacobs
ac34f0f721
Added EntryCachingTest.
2015-03-17 14:07:49 +11:00
Aaron Jacobs
b1ad507c85
NoCachingTest.StatRenumberMtimeStat
2015-03-17 14:02:16 +11:00
Aaron Jacobs
1aab442f8b
NoCachingTest.StatMtimeStat
2015-03-17 14:01:45 +11:00
Aaron Jacobs
ea6a65ae8e
NoCachingTest.StatRenumberStat
2015-03-17 13:59:48 +11:00
Aaron Jacobs
b07c1f4825
Refactored.
2015-03-17 13:58:56 +11:00
Aaron Jacobs
a3dcce8ed9
Fixed more test bugs.
2015-03-17 13:56:37 +11:00