mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-06 06:37:36 +03:00
Fix failing tests on Windows
To simulate failures opening a cache file, fixtures are written without the read permission bits. Since Unix permission bits have no meaning on Windows, a slightly more complicated solution is required to achieve the same permissions. Thankfully, there's a library to abstract that already.
This commit is contained in:
parent
77a4a3da90
commit
4324a09fc9
18 changed files with 602 additions and 5 deletions
3
vendor/github.com/hectane/go-acl/api/posix.go
generated
vendored
Normal file
3
vendor/github.com/hectane/go-acl/api/posix.go
generated
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
//+build !windows
|
||||
|
||||
package api
|
Loading…
Add table
Add a link
Reference in a new issue