Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestLookupOrderFilesNoSuchHost (0.67 sec)

  1. src/net/dnsclient_unix_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if _, err = r.LookupHost(context.Background(), "go.dev"); err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestLookupOrderFilesNoSuchHost(t *testing.T) {
    	defer func(orig string) { hostsFilePath = orig }(hostsFilePath)
    	if runtime.GOOS != "openbsd" {
    		defer setSystemNSS(getSystemNSS(), 0)
    		setSystemNSS(nssStr(t, "hosts: files"), time.Hour)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top