Skip to content

Commit

Permalink
posixtest: run tests against normal filesystem
Browse files Browse the repository at this point in the history
Change-Id: I4c61fa0f522fa07d0c02d8c7261a6c82ab6756a8
  • Loading branch information
hanwen committed Sep 30, 2023
1 parent 22567ce commit 385fb78
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions posixtest/posixtest_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// 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
}
t.Run(k, func(t *testing.T) {
dir := t.TempDir()
fn(t, dir)
})
}
}

0 comments on commit 385fb78

Please sign in to comment.