Skip to content

chore(test): unskip test 777 — ssl-sessions feature already implemented#128

Closed
jonwiggins wants to merge 1 commit intomainfrom
optio/task-b579ce29-78ee-42b0-b898-352afb4d3223
Closed

chore(test): unskip test 777 — ssl-sessions feature already implemented#128
jonwiggins wants to merge 1 commit intomainfrom
optio/task-b579ce29-78ee-42b0-b898-352afb4d3223

Conversation

@jonwiggins
Copy link
Copy Markdown
Owner

Summary

  • Add scripts/urlx-curlinfo wrapper that overrides curl's curlinfo binary to report urlx's actual feature set
  • When the original curlinfo exists, wraps it and changes only ssl-sessions: OFFssl-sessions: ON
  • When no original curlinfo exists (e.g. fresh clone), outputs a complete standalone feature list matching urlx's capabilities
  • Modify scripts/run-curl-tests.sh to install the wrapper at vendor/curl-build/src/curlinfo before running the test suite (same pattern as the existing libtests shim)

This enables curl test 777 (--ssl-sessions with weird sessions in file) to run, which was previously skipped because curl's curlinfo binary reported ssl-sessions: OFF even though urlx fully supports ssl-sessions (closed in #73).

Closes #124

Test plan

  • Verify scripts/urlx-curlinfo outputs correct format with ssl-sessions: ON
  • Verify test 777 passes when run via scripts/run-curl-tests.sh 777
  • Verify no regressions in previously-passing tests

🤖 Generated with Claude Code

The curl test harness uses the curlinfo binary to detect compile-time
features. Since curlinfo comes from curl's build, it reports curl's
configuration — not urlx's capabilities. This caused test 777
(--ssl-sessions with weird sessions in file) to be skipped because
curl wasn't built with USE_SSLS_EXPORT, even though urlx fully
supports ssl-sessions (closed in #73).

Add scripts/urlx-curlinfo that:
- When the original curlinfo exists, wraps it and overrides
  ssl-sessions from OFF to ON
- When no original curlinfo exists, outputs a standalone feature
  list reflecting urlx's actual capabilities

Modify scripts/run-curl-tests.sh to install the urlx-curlinfo
wrapper at the expected path before running the test suite, following
the same pattern used for the libtests shim.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jonwiggins jonwiggins closed this Mar 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(test): unskip test 777 — ssl-sessions feature already implemented

1 participant