浏览代码

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 年之前
父节点
当前提交
43378636d0
共有 1 个文件被更改,包括 3 次插入0 次删除
  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 (