]> git.ipfire.org Git - thirdparty/curl.git/commit
test696: decouple from test556 data
authorViktor Szakats <commit@vsz.me>
Sun, 2 Nov 2025 15:00:24 +0000 (16:00 +0100)
committerViktor Szakats <commit@vsz.me>
Mon, 3 Nov 2025 11:19:03 +0000 (12:19 +0100)
commitaaf9522a2c28e5142c7f5640da4e24b65b47dc53
treeb5817fd42ffc7210a563c9467b952408e7093e1d
parentc1e3a760ba082762041a999bc98f21ea295d7cf4
test696: decouple from test556 data

Test 696 and 556 share the same libtest code. Make sure to issue
the `GET` request to the correct runtime test number instead of using
the hard-wired "556".

It makes the `sws` test server read the response string from `test696`
`<data>` section, instead of reading it from `test556`. To avoid this
hidden interaction between test data.

AFAICS there is no other similar hard-coded string in reused libtests.

Ref: https://github.com/curl/curl/pull/19313#issuecomment-3477448933
Follow-up to be82a3605a4b539580b3de776ffcca25b8770e43 #16003
Closes #19329
tests/data/test696
tests/libtest/lib556.c