Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go-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
go-fuse
Commits
1a7d98b0
Commit
1a7d98b0
authored
Aug 29, 2024
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fs: skip passthrough test for older kernels
Change-Id: I8e23afdfeb6ff65211f6ac3413e8e86e66341313
parent
afb9051a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
fs/passthrough_test.go
fs/passthrough_test.go
+3
-0
No files found.
fs/passthrough_test.go
View file @
1a7d98b0
...
@@ -64,6 +64,9 @@ func TestPassthrough(t *testing.T) {
...
@@ -64,6 +64,9 @@ func TestPassthrough(t *testing.T) {
}
}
defer
server
.
Unmount
()
defer
server
.
Unmount
()
if
0
==
server
.
KernelSettings
()
.
Flags64
()
&
fuse
.
CAP_PASSTHROUGH
{
t
.
Skip
(
"Kernel does not support passthrough"
)
}
fn
:=
mnt
+
"/file"
fn
:=
mnt
+
"/file"
want
:=
"hello there"
want
:=
"hello there"
if
err
:=
os
.
WriteFile
(
fn
,
[]
byte
(
want
),
0666
);
err
!=
nil
{
if
err
:=
os
.
WriteFile
(
fn
,
[]
byte
(
want
),
0666
);
err
!=
nil
{
...
...
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