Commit 1a7d98b0 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fs: skip passthrough test for older kernels

Change-Id: I8e23afdfeb6ff65211f6ac3413e8e86e66341313
parent afb9051a
...@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment