Ver código fonte

libnetwork/resolvconf: allow tests to be run on unix

Looks like the intent is to exclude windows (which wouldn't have /etc/resolv.conf
nor systemd), but most tests would run fine elsewhere. This allows running the
tests on macOS for local testing.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 2 anos atrás
pai
commit
43378636d0
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      libnetwork/resolvconf/resolvconf_unix_test.go

+ 3 - 0
libnetwork/resolvconf/resolvconf_linux_test.go → libnetwork/resolvconf/resolvconf_unix_test.go

@@ -1,3 +1,6 @@
+//go:build !windows
+// +build !windows
+
 package resolvconf
 
 import (