Aaron Jacobs
3da7af8c88
Restore TestNonEmptyMountPoint for Linux.
...
I had forgotten that we explicitly handle the "mount point doesn't
exist" case, so that wasn't tickling what I had hoped in fusermount.
7 years ago
Aaron Jacobs
035636830f
Switch to a test that can pass on OS X, too.
...
It appears osxfuse is happy to mount over a non-empty directory.
7 years ago
Aaron Jacobs
8b7833ba01
TestNonEmptyMountPoint: clean up in the event of a successful mount.
7 years ago
Aaron Jacobs
38175a2e8b
Fix minimalFS on OS X.
7 years ago
Aaron Jacobs
3d61726401
TestNonEmptyMountPoint
7 years ago
Aaron Jacobs
45795d4717
TestSuccessfulMount
7 years ago
Aaron Jacobs
608feace05
Add fusetesting.GetTimes.
...
This makes it easier to write integration tests for atime, ctime, and
mtime on both darwin and linux.
7 years ago
Aaron Jacobs
5595fe0920
Implement GetTimes for linux.
7 years ago
Aaron Jacobs
850146a678
Add GetTimes, implemented for darwin.
7 years ago
Aaron Jacobs
895b8c4155
Added support for mknod(2) and related calls to fuse_mknod.
...
For googlecloudplatform/gcsfuse#137 .
7 years ago
Aaron Jacobs
ab9f5b35ca
Fixed a silly test bug.
7 years ago
Aaron Jacobs
67e4fbbc5f
Added memFS.MkNode.
7 years ago
Aaron Jacobs
47638fa8c7
Added FileSystem support.
7 years ago
Aaron Jacobs
f5dc8c356e
Added conversion support.
7 years ago
Aaron Jacobs
15b31ee0ee
Added MkNodeOp.
7 years ago
Aaron Jacobs
31e0f8e466
Added integration tests for googlecloudplatform/gcsfuse#137 .
7 years ago
Aaron Jacobs
6afe951ee0
Fixed build errors.
7 years ago
Aaron Jacobs
4db81d4495
Pasted MknodTest from googlecloudplatform/gcsfuse@ff8a3f0.
7 years ago
Andrew Gaul
1dcc6791f0
Report physical blocks used
...
Tools like du and ls -l use this value to calculate the space used.
Force block size to 512 bytes for simplicity and compatibility with
Mac OS X which uses an older FUSE.
8 years ago
Aaron Jacobs
bc664bf39b
Allow the user to independently set block size and IO size.
...
On OS X we can't set block size above 2^17, but we want to encourage
users to send large reads and writes.
For GoogleCloudPlatform/gcsfuse#125 .
8 years ago
Aaron Jacobs
246d37a0ba
Updated Linux tests for the new behavior.
8 years ago
Aaron Jacobs
6565b52bcb
Fixed the documentation to match reality on darwin.
8 years ago
Aaron Jacobs
33a476cafc
Attempt to do what the documentation now says.
8 years ago
Aaron Jacobs
7c543380ea
Add tests for the newly-documented behavior on Darwin.
8 years ago
Aaron Jacobs
81c3047f0f
Revised the public StatFSOp docs for the BlockSize/IoSize split.
8 years ago
Aaron Jacobs
e59a45f154
Added support for setting the OS X volume name.
...
While I was at it, added tests for fsname. I can't figure out how to
test the volume name.
For GoogleCloudPlatform/gcsfuse#125 .
8 years ago
Aaron Jacobs
aa1fe8b2de
Added support for handling statfs(2) and friends.
...
File systems must now handle StatFSOp in order to mount correctly on
OS X.
For GoogleCloudPlatform/gcsfuse#125 .
8 years ago
Aaron Jacobs
57b4e8798f
Fixed other tests on OS X.
8 years ago
Aaron Jacobs
be680e1860
Fixed StatFSTest.CapacityAndFreeSpace on Linux.
8 years ago
Aaron Jacobs
ca114f296a
Fixed most tests on Linux.
8 years ago
Aaron Jacobs
56d0249304
Copied darwin-specific tests as linux-specific ones.
8 years ago
Aaron Jacobs
811100635f
Isolated darwin-specific tests.
8 years ago
Aaron Jacobs
69c97c577e
StatFSTest.UnsupportedBlockSizes
8 years ago
Aaron Jacobs
c96d308a7a
Set f_frsize, fixing free space calculation by `df` on OS X.
8 years ago
Aaron Jacobs
81a0bd26c3
Fixed some test bugs.
8 years ago
Aaron Jacobs
27a921775e
Fixed file writing.
8 years ago
Aaron Jacobs
64cbdfea9a
StatFSTest.WriteSize
8 years ago
Aaron Jacobs
e2910a4dba
StatFSTest.CapacityAndFreeSpace
8 years ago
Aaron Jacobs
d5cd319abc
Share code for canonicalizing the mount point.
8 years ago
Aaron Jacobs
55d02a11bf
StatFSTest.Syscall_NonZeroValues
8 years ago
Aaron Jacobs
5b35935801
StatFSTest.Syscall_ZeroValues
8 years ago
Aaron Jacobs
da3ee9802b
statFS.StatFS
8 years ago
Aaron Jacobs
b316df06d5
Added test names.
8 years ago
Aaron Jacobs
0b2038c1cd
Added a test stub.
8 years ago
Aaron Jacobs
bf33224aea
Wrote much of package statfs.
8 years ago
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.
8 years ago
Aaron Jacobs
212f7cdd8a
Fixed another bug.
8 years ago
Aaron Jacobs
8771155822
Fixed a bug.
8 years ago
Aaron Jacobs
df671c90c2
Fixed FileSystem.StatFS support.
8 years ago
Aaron Jacobs
6d0c2608dc
memFS.StatFS
8 years ago