mirror of
https://github.com/slackhq/nebula.git
synced 2026-02-15 17:24:23 +01:00
Fix nebula-cert tests on darwin and windows
This fixes a couple issues: - NoSuchFileError not defined for darwin. - ca_test and sign_test do a bunch of filesystem specific tests that error differently on Windows. Just disable these tests on Windows for now. - Make the signcert test more deterministic by only testing one existing file at a time.
This commit is contained in:
4
cmd/nebula-cert/test_darwin.go
Normal file
4
cmd/nebula-cert/test_darwin.go
Normal file
@@ -0,0 +1,4 @@
|
||||
package main
|
||||
|
||||
const NoSuchFileError = "no such file or directory"
|
||||
const NoSuchDirError = "no such file or directory"
|
||||
Reference in New Issue
Block a user