Files
go-fuse/posixtest/posixtest_test.go
Han-Wen Nienhuys 57159c7444 posixtest: disable OpenSymlinkRace
The test as currently written, triggers on a normal filesystem, as it
uses Open() without NOFOLLOW flag.

Change-Id: Icb4c79d28ee72a57f972845534433fd3189ca178
2025-03-30 10:43:32 +02:00

25 lines
460 B
Go

// Copyright 2023 the Go-FUSE Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package posixtest
import "testing"
func TestAll(t *testing.T) {
for k, fn := range All {
if k == "FcntlFlockLocksFile" {
// TODO - fix this test.
continue
}
if k == "OpenSymlinkRace" {
continue
}
t.Run(k, func(t *testing.T) {
dir := t.TempDir()
fn(t, dir)
})
}
}