Sfoglia il codice sorgente

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 anni fa
parent
commit
43378636d0
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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
 package resolvconf
 
 
 import (
 import (