From 741b7c46b8e635f1faf373e0ac78b2f7eb8b7f9f Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 18 May 2014 08:33:39 +0000 Subject: Fix a constant reference. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_m17n_comb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_m17n_comb.rb') diff --git a/test/ruby/test_m17n_comb.rb b/test/ruby/test_m17n_comb.rb index 8258f422a1..12aa4d539d 100644 --- a/test/ruby/test_m17n_comb.rb +++ b/test/ruby/test_m17n_comb.rb @@ -727,7 +727,7 @@ class TestM17NComb < Test::Unit::TestCase def test_str_crypt strict_crypt = nil # glibc 2.16 or later denies salt contained other than [0-9A-Za-z./] #7312 - if defined? Etc::Etc::CS_GNU_LIBC_VERSION + if defined? Etc::CS_GNU_LIBC_VERSION glibcver = Etc.confstr(Etc::CS_GNU_LIBC_VERSION).scan(/\d+/).map(&:to_i) strict_crypt = (glibcver <=> [2, 16]) >= 0 end -- cgit v1.2.3