summaryrefslogtreecommitdiff
path: root/libnetwork
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2022-10-01 17:10:36 +0200
committerSebastiaan van Stijn <github@gone.nl>2023-04-26 22:49:49 +0200
commit43378636d03a863f5aaafda1ff6b03689166b1bc (patch)
tree3f53f77868716d4b833dd357eed47f4a47746744 /libnetwork
parent73c637ad60f78d0b11b721455fd95b67caa6b0c0 (diff)
downloaddocker-43378636d03a863f5aaafda1ff6b03689166b1bc.tar.gz
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>
Diffstat (limited to 'libnetwork')
-rw-r--r--libnetwork/resolvconf/resolvconf_unix_test.go (renamed from libnetwork/resolvconf/resolvconf_linux_test.go)3
1 files changed, 3 insertions, 0 deletions
diff --git a/libnetwork/resolvconf/resolvconf_linux_test.go b/libnetwork/resolvconf/resolvconf_unix_test.go
index 42f6707e24..9d630074c8 100644
--- a/libnetwork/resolvconf/resolvconf_linux_test.go
+++ b/libnetwork/resolvconf/resolvconf_unix_test.go
@@ -1,3 +1,6 @@
+//go:build !windows
+// +build !windows
+
package resolvconf
import (