diff options
| author | Ophestra Umiker <cat@ophivana.moe> | 2024-12-16 19:29:01 +0900 |
|---|---|---|
| committer | Ophestra Umiker <cat@ophivana.moe> | 2024-12-16 19:29:01 +0900 |
| commit | 138666d75301032710f7fb91c940a64c61d6ed7e (patch) | |
| tree | b16cea9845b52f15bd2babda3c18b1af994c994e /acl | |
| parent | f4628e181b07633e8a2e0900205bd78c757a0529 (diff) | |
nix: skip acl test
The nix build environment does not support ACLs.
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'acl')
| -rw-r--r-- | acl/acl_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/acl/acl_test.go b/acl/acl_test.go index b8a6255d..8739ed80 100644 --- a/acl/acl_test.go +++ b/acl/acl_test.go @@ -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) |
