From 4adaee33466d0f014c0c3694140d45f21da68fbb Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 27 Feb 2007 16:22:10 +0000 Subject: * test/{dbm,gdbm}/test_{dbm,gdbm}.rb: shouldn't use host_os. use target_os instead. [ruby-list:43225] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/dbm/test_dbm.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/dbm') diff --git a/test/dbm/test_dbm.rb b/test/dbm/test_dbm.rb index 04ec0973d..776c8ead7 100644 --- a/test/dbm/test_dbm.rb +++ b/test/dbm/test_dbm.rb @@ -12,7 +12,7 @@ if defined? DBM class TestDBM < Test::Unit::TestCase def TestDBM.uname_s require 'rbconfig' - case RbConfig::CONFIG['host_os'] + case RbConfig::CONFIG['target_os'] when 'cygwin' require 'Win32API' uname = Win32API.new('cygwin1', 'uname', 'P', 'I') @@ -21,7 +21,7 @@ if defined? DBM utsname.unpack('A20' * 5)[0] else - RbConfig::CONFIG['host_os'] + RbConfig::CONFIG['target_os'] end end SYSTEM = uname_s -- cgit