[PATCH 0/3] test-suite fixes for upcoming curl 8.18.0
- From
Jeff King <peff@peff.net>
- Date
- Dec 18, 2025, 12:11 UTC
- Message-ID
- <20251218121120.GA3252258@coredump.intra.peff.net>
After upgrading my Debian unstable box to libcurl 8.18.0~rc2-1, I noticed a few new test failures. They seem to mostly be caused by brittle expectations in the tests. These patches fix the tests to handle both old and new versions (I tested against curl's 8_17_0 and rc-8_18_0-2 tags).
Daniel: I'm cc-ing you in case you want to double-check that curl's behavior changes are all OK before the release. I think it's mostly fine, though the handling of tab versus space in the third patch is perhaps questionable.
Matthew: I had to make some educated guesses about one of the tests in patch 2. You might remember the original intent.
[1/3]: t5551: handle trailing slashes in expected cookies output [2/3]: t5563: add missing end-of-line in HTTP header [3/3]: t5563: relax whitespace assumptions for unfolded headers
t/t5551-http-fetch-smart.sh | 15 +++++++++------ t/t5563-simple-http-auth.sh | 15 +++++++++++---- 2 files changed, 20 insertions(+), 10 deletions(-)
-Peff