ruby-build/test
Mislav Marohnić 28563f38a3
Fix using system openssl v1.x with pkg-config
System openssl version reported by `pkg-config --modversion openssl` might end
with a letter, e.g. "1.0.2k", due to OpenSSL versioning policy prior to OpenSSL v3:
https://www.openssl-library.org/policies/general/versioning-policy/#history

The letter would trip up the normalize_semver function due to it only handling numbers.

This change switches to semver parsing via awk instead of doing it clumsily in
bash.  This also changes the multiplication factor of major version numbers,
from 100000 to 10000, and adjusts static version comparisons accodingly.
2025-09-08 19:07:28 +02:00
..
fixtures Fix linking to older OpenSSL for Ruby < 2.7.7 2023-12-07 15:52:10 +01:00
stubs Improve test output for failed stubs 2025-01-15 15:24:07 +01:00
tmp Ensure test/tmp directory exists 2012-11-19 19:25:52 -06:00
arguments.bats Improve cached_tarball test helper 2023-10-17 12:40:17 +02:00
build.bats Fix using system openssl v1.x with pkg-config 2025-09-08 19:07:28 +02:00
cache.bats Show progress of downloaded files in the terminal 2023-11-07 10:17:54 +01:00
checksum.bats Show progress of downloaded files in the terminal 2023-11-07 10:17:54 +01:00
compiler.bats Fix compiling Ruby < 2.5 by omitting --with-ext 2023-11-24 22:08:28 +01:00
definitions.bats Rename definition to truffleruby+graalvm 2020-07-22 16:41:01 +02:00
fetch.bats Show progress of downloaded files in the terminal 2023-11-07 10:17:54 +01:00
hooks.bats Suggest rbenv global if there is no explicit global setting (#2052) 2022-09-25 11:20:43 +02:00
installer.bats Add ruby-build(1) man page 2023-11-07 18:20:59 +01:00
mirror.bats Show progress of downloaded files in the terminal 2023-11-07 10:17:54 +01:00
output.bats Fix commands printed when TMPDIR is empty 2023-11-08 23:56:03 +01:00
rbenv.bats rbenv install: fix substituting $HOME with "~" (#2501) 2025-01-21 22:11:40 +01:00
test_helper.bash Fix test 2025-04-18 15:09:22 +08:00
version.bats update urls to rbenv 2015-12-07 14:17:04 -08:00