mirror of
https://github.com/hanzoai/go-fuse.git
synced 2026-10-30 14:46:18 +00:00
The test as currently written, triggers on a normal filesystem, as it uses Open() without NOFOLLOW flag. Change-Id: Icb4c79d28ee72a57f972845534433fd3189ca178
25 lines
460 B
Go
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)
|
|
})
|
|
}
|
|
}
|