Skip to content

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

@jonwiggins

Description

@jonwiggins

Summary

Curl test 777 (--ssl-sessions with weird sessions in file) is skipped because the curlinfo binary (from curl's build, not urlx) reports ssl-sessions: OFF. However, urlx already implements ssl-sessions (closed in #73) and reports it in urlx --version output.

The problem

The curl test harness runs the curlinfo binary to detect enabled/disabled features. Since this binary comes from curl's own build (not urlx), it reflects curl's build configuration — not urlx's capabilities. When curl is built without ssl-sessions, the test harness skips test 777 even though urlx supports it.

What needs to be done

Override the curlinfo binary in the test harness to report urlx's actual capabilities. Options:

  1. Build a custom curlinfo replacement that reports urlx's feature set (similar to how urlx-as-curl wraps the main binary)
  2. Patch scripts/run-curl-tests.sh to replace or override the curlinfo binary with one that accurately reflects urlx features
  3. Rebuild curl with --enable-ssl-sessions if that's a simple configure flag

After fixing, verify test 777 passes against urlx.

Context

Identified during full test suite analysis. This is 1 of 93 skipped tests, and one of the few that should actually be running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    optioAssigned to Optio AI agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions