Make release validation portable
All checks were successful
ci/woodpecker/tag/release Pipeline was successful

This commit is contained in:
2026-08-02 00:36:54 +00:00
parent 328c7a5693
commit 114f7f5f85
2 changed files with 36 additions and 0 deletions

View File

@@ -1674,6 +1674,9 @@ func TestLoadSecretsRejectsInvalidDirectoryEntries(t *testing.T) {
t.Cleanup(func() {
_ = os.Chmod(path, 0o600)
})
if _, err := os.ReadFile(path); err == nil {
t.Skip("test process can read files without permission bits")
}
},
wantErr: "read secret file",
},