File: disable-net-tests.patch

package info (click to toggle)
fever 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 920 kB
  • sloc: sh: 41; makefile: 18
file content (22 lines) | stat: -rw-r--r-- 550 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: skip tests that need Internet access
Author: Sascha Steinbiss <satta@debian.org>
--- a/util/hostnamer_rdns_test.go
+++ b/util/hostnamer_rdns_test.go
@@ -41,14 +41,17 @@
 }
 
 func TestHostNamerQuad8v4(t *testing.T) {
+	t.Skip()
 	_TestHostNamerQuad8(t, "8.8.8.8")
 }
 
 func TestHostNamerQuad8v6(t *testing.T) {
+	t.Skip()
 	_TestHostNamerQuad8(t, "2001:4860:4860::8888")
 }
 
 func TestHostNamerInvalid(t *testing.T) {
+	t.Skip()
 	hn := NewHostNamerRDNS(5*time.Second, 5*time.Second)
 	_, err := hn.GetHostname("8.")
 	if err == nil {