# Mixed — one entry from each error class alongside a successful site. # Shows that OK and FAIL lines can interleave in the same run, and that the # exit code is the *worst* code across every URL (2=dns, 3=connect, 5=tls, # 6=http-with-fail — 6 wins here). Timeout is omitted so the run completes # in a few seconds; --fail is needed for the 404 line to count as a failure. # # Run: uv run python -m hxprobe --fail -f configs/mixed.txt # Expected exit code: 6 # Success https://example.com # DNS failure https://no.such.host.invalid # Connection refused (loopback, no server) http://127.0.0.1:9999 # TLS certificate error https://self-signed.badssl.com/ # HTTP error (server responded with 404; needs --fail to count as a failure) https://github.com/this-repo-does-not-exist-abcxyz123/no-way