> On 16 Jun 2026, at 21:46, Jacob Champion <[email protected]> > wrote:
> Attached as v2-0002, which moves the version check into one of the > OAuth test executables. (I'll hold 0004 until after REL_19_STABLE is > branched; it just implements the v1 strategy and reverts 0002.) +#if USE_LIBCURL + +/* + * XXX You may wonder why this test executable, which purposely does not make + * use of libcurl functionality, is printing out the version of Curl. This is + * needed to skip tests in 001_server when we see a known broken version of + * libcurl. (Querying the local Curl executable isn't good enough, because that + * may not use the same libcurl that we've been configured with.) If there is concern over the neatness of this (long term in the backbranches, for master it will be reverted as mentioned), I guess one option could be to introduce a new binary, oauth_curl_version, which only prints the version and exits instead oa adding a flag to an otherwise unrelated binary. It would add a little compilation overhead though. -- Daniel Gustafsson
