Skip to content

Commit

Permalink
seems like a beter way for us to test curl version in test since 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
taf2 committed Feb 9, 2025
1 parent 187e8c0 commit bb097b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tc_curl_multi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def test_connection_keepalive
# this test fails with libcurl 7.22.0. I didn't investigate, but it may be related
# to CURLOPT_MAXCONNECTS bug fixed in 7.30.0:
# https://github.com/curl/curl/commit/e87e76e2dc108efb1cae87df496416f49c55fca0
omit("Skip, libcurl too old (< 7.22.0)") if Curl::CURL_VERSION.split('.')[1].to_i <= 22
omit("Skip, libcurl too old (< 7.22.0)") if Curl::CURL_VERSION.to_f < 8 && Curl::CURL_VERSION.split('.')[1].to_i <= 22

@server.shutdown if @server
@test_thread.kill if @test_thread
Expand Down

0 comments on commit bb097b1

Please sign in to comment.