From: Viktor Szakats Date: Sun, 31 May 2026 16:31:17 +0000 (+0200) Subject: pytest: pass `--disable` to curl X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=2802e65f6dcf1c59776fc191d158f3376a22da5c;p=thirdparty%2Fcurl.git pytest: pass `--disable` to curl To avoid a local `.curlrc` interfering with tests. Closes #21816 --- diff --git a/tests/http/testenv/curl.py b/tests/http/testenv/curl.py index 5149a8578d..f5be5ac449 100644 --- a/tests/http/testenv/curl.py +++ b/tests/http/testenv/curl.py @@ -1127,7 +1127,7 @@ class CurlClient: else: force_resolve = self._force_resolv - args = [self._curl, "-s", "--path-as-is"] + args = [self._curl, "--disable", "-s", "--path-as-is"] if 'CURL_TEST_EVENT' in os.environ: args.append('--test-event')