- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestDNSReadConfig (0.45 sec)
-
src/net/dnsconfig_unix_test.go
want: &dnsConfig{ servers: defaultNS, ndots: 1, useTCP: true, timeout: 5 * time.Second, attempts: 2, search: []string{"domain.local."}, }, }, } func TestDNSReadConfig(t *testing.T) { origGetHostname := getHostname defer func() { getHostname = origGetHostname }() getHostname = func() (string, error) { return "host.domain.local", nil } for _, tt := range dnsReadConfigTests {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 03 17:41:32 UTC 2022 - 7.1K bytes - Viewed (0)