Hello Wget2 maintainers,

While building wget2 2.3.0 (Arch package wget2-2.3.0-1) on CachyOS Linux 
x86_64, 90 of 91 tests passed. The only failure was test-https-proxy-auth.sh:

  Test 1: HTTPS proxy with correct credentials
  WARNING: Could not verify Proxy-Authorization header in debug output
  Test 1: PASS
  Test 2: HTTPS proxy with incorrect credentials (should fail)
  FAIL: Download should have failed with wrong credentials

My environment's no_proxy includes localhost and 127.0.0.1. The test uses an 
HTTPS target on 127.0.0.1 and supplies --https-proxy, but does not clear 
no_proxy. Consequently, Wget2 bypasses the test proxy and downloads directly 
from the target, making the negative authentication test fail.

I reran the same test with no_proxy and NO_PROXY unset, using the same build 
and certificate files. All three checks passed, including the wrong-password 
and missing-credentials cases.

Could the test clear these variables before running Wget2, for example:

  unset no_proxy NO_PROXY

This would isolate the proxy-authentication test from the user's proxy bypass 
configuration while preserving normal Wget2 behavior.

System: CachyOS Linux, x86_64, kernel 7.3.1-1-cachyos.
The original test-suite summary was TOTAL: 91, PASS: 90, FAIL: 1.

The original test-suite.log is attached as test-suite.log.gz.

Thank you.

Attachment: test-suite.log.gz
Description: application/gzip

Reply via email to