Skip to content

Commit f743e6a

Browse files
committed
adding curl test to debug separate issue in ci
1 parent fe417b8 commit f743e6a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

dns/dns_test.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package dns
2+
3+
import (
4+
"os/exec"
5+
"testing"
6+
)
7+
8+
func TestDNSWithCurl(t *testing.T) {
9+
out, err := exec.Command("curl", "--doh-url", "https://dns.google/dns-query", "http://coder.com", "-v").Output()
10+
if err != nil {
11+
t.Fatalf("error curling: %s", err)
12+
}
13+
t.Logf("output: %s", out)
14+
}

0 commit comments

Comments
 (0)