Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jacobsa-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
jacobsa-fuse
Commits
eacbdb8d
Commit
eacbdb8d
authored
Jul 29, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disabled a test for a feature that doesn't work on OS X.
parent
a88ad8db
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
fuseops/ops.go
fuseops/ops.go
+5
-1
samples/cachingfs/caching_fs_test.go
samples/cachingfs/caching_fs_test.go
+6
-0
No files found.
fuseops/ops.go
View file @
eacbdb8d
...
...
@@ -456,7 +456,11 @@ type OpenFileOp struct {
// a particular inode go through the kernel, set this field to true to
// disable this behavior.
//
// More discussion: http://goo.gl/cafzWF
// (More discussion: http://goo.gl/cafzWF)
//
// Note that on OS X it appears that the behavior is always as if this field
// is set to true, regardless of its value, at least for files opened in the
// same mode. (Cf. https://github.com/osxfuse/osxfuse/issues/223)
KeepPageCache
bool
}
...
...
samples/cachingfs/caching_fs_test.go
View file @
eacbdb8d
...
...
@@ -616,6 +616,12 @@ func (t *PageCacheTest) SingleFileHandle_KeepCache() {
func
(
t
*
PageCacheTest
)
TwoFileHandles_NoKeepCache
()
{
t
.
fs
.
SetKeepCache
(
false
)
// SetKeepCache(false) doesn't work on OS X. See the notes on
// OpenFileOp.KeepPageCache.
if
runtime
.
GOOS
==
"darwin"
{
return
}
// Open the file.
f1
,
err
:=
os
.
Open
(
path
.
Join
(
t
.
Dir
,
"foo"
))
AssertEq
(
nil
,
err
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment