1 --- a/pkg/resolvconf/resolvconf_linux_test.go
2 +++ b/pkg/resolvconf/resolvconf_linux_test.go
3 @@ -23,27 +23,6 @@ import (
7 -func TestGet(t *testing.T) {
8 - resolvConfUtils, err := Get()
12 - resolvConfSystem, err := os.ReadFile("/run/systemd/resolve/resolv.conf")
16 - if string(resolvConfUtils.Content) != string(resolvConfSystem) {
17 - t.Fatalf("/etc/resolv.conf and GetResolvConf have different content.")
19 - hashSystem, err := hashData(bytes.NewReader(resolvConfSystem))
23 - if resolvConfUtils.Hash != hashSystem {
24 - t.Fatalf("/etc/resolv.conf and GetResolvConf have different hashes.")
28 func TestGetNameservers(t *testing.T) {
29 for resolv, result := range map[string][]string{`