From: Nicolas Peugnet <nicolas@club1.fr>
Date: Tue, 1 Jul 2025 15:12:57 +0200
Subject: Skip tests that require internet access

Origin: vendor
Forwarded: not-needed

Debian builds run on buildd machines that do not have internet access.
---
 downloader_test.go | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/downloader_test.go b/downloader_test.go
index ee0f703..aa24536 100644
--- a/downloader_test.go
+++ b/downloader_test.go
@@ -29,6 +29,7 @@ func makeTmpFile(t *testing.T) string {
 }
 
 func TestDownload(t *testing.T) {
+	t.Skip("requires internet access")
 	tmpFile := makeTmpFile(t)
 	defer os.Remove(tmpFile)
 
@@ -48,6 +49,7 @@ func TestDownload(t *testing.T) {
 }
 
 func TestResume(t *testing.T) {
+	t.Skip("requires internet access")
 	tmpFile := makeTmpFile(t)
 	defer os.Remove(tmpFile)
 
@@ -72,6 +74,7 @@ func TestResume(t *testing.T) {
 }
 
 func TestNoResume(t *testing.T) {
+	t.Skip("requires internet access")
 	tmpFile := makeTmpFile(t)
 	defer os.Remove(tmpFile)
 
@@ -111,6 +114,7 @@ func TestInvalidRequest(t *testing.T) {
 }
 
 func TestRunAndPool(t *testing.T) {
+	t.Skip("requires internet access")
 	tmpFile := makeTmpFile(t)
 	defer os.Remove(tmpFile)
 
@@ -130,6 +134,7 @@ func TestRunAndPool(t *testing.T) {
 }
 
 func TestErrorOnFileOpening(t *testing.T) {
+	t.Skip("requires internet access")
 	tmpFile := makeTmpFile(t)
 	defer os.Remove(tmpFile)
 
@@ -151,6 +156,7 @@ func (r *roundTripper) RoundTrip(req *http.Request) (*http.Response, error) {
 
 // TestApplyUserAgentHeaderUsingConfig test uses the https://postman-echo.com/ service
 func TestApplyUserAgentHeaderUsingConfig(t *testing.T) {
+	t.Skip("requires internet access")
 	type echoBody struct {
 		Headers map[string]string
 	}
