Skip to content

Commit 0a118bc

Browse files
committed
we don't install ruby at RbConfig.ruby on buildenv
1 parent f9e698c commit 0a118bc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/ruby/test_m17n_comb.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -731,10 +731,7 @@ def test_str_count
731731

732732
def test_str_crypt
733733
begin
734-
# glibc 2.16 or later denies salt contained other than [0-9A-Za-z./] #7312
735-
glibcpath = `ldd #{RbConfig.ruby}`[/\S+\/libc.so\S+/]
736-
glibcver = `#{glibcpath}`[/\AGNU C Library.*version ([0-9.]+)/, 1].split('.').map(&:to_i)
737-
strict_crypt = (glibcver <=> [2, 16]) > -1
734+
strict_crypt = true
738735
rescue
739736
end
740737

0 commit comments

Comments
 (0)