nix: skip acl test
All checks were successful
test / test (push) Successful in 39s

The nix build environment does not support ACLs.

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
2024-12-16 19:29:01 +09:00
parent f4628e181b
commit 138666d753
2 changed files with 7 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ var (
)
func TestUpdatePerm(t *testing.T) {
if os.Getenv("GO_TEST_SKIP_ACL") == "1" {
t.Log("acl test skipped")
t.SkipNow()
}
if f, err := os.Create(testFilePath); err != nil {
t.Fatalf("Create: error = %v", err)