diff options
| author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-28 13:23:42 +0000 |
|---|---|---|
| committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-28 13:23:42 +0000 |
| commit | dcbc5ce0735e339713311431b6fca2592b603641 (patch) | |
| tree | 92cf3f9b3a59e052b3891535e142f83cbef34784 /test | |
| parent | 7d8b85dede6236911a73686b11d1c31f30975a8e (diff) | |
| download | ruby-dcbc5ce0735e339713311431b6fca2592b603641.tar.gz ruby-dcbc5ce0735e339713311431b6fca2592b603641.tar.xz ruby-dcbc5ce0735e339713311431b6fca2592b603641.zip | |
Merge changes between r11913 and r11943 from ruby_1_8.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@11944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
| -rw-r--r-- | test/dbm/test_dbm.rb | 4 | ||||
| -rw-r--r-- | test/gdbm/test_gdbm.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/dbm/test_dbm.rb b/test/dbm/test_dbm.rb index d4d488f57..941e13994 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 Config::CONFIG['host_os'] + case Config::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 - Config::CONFIG['host_os'] + Config::CONFIG['target_os'] end end SYSTEM = uname_s diff --git a/test/gdbm/test_gdbm.rb b/test/gdbm/test_gdbm.rb index 034f62085..b84221e54 100644 --- a/test/gdbm/test_gdbm.rb +++ b/test/gdbm/test_gdbm.rb @@ -12,7 +12,7 @@ if defined? GDBM class TestGDBM < Test::Unit::TestCase def TestGDBM.uname_s require 'rbconfig' - case Config::CONFIG['host_os'] + case Config::CONFIG['target_os'] when 'cygwin' require 'Win32API' uname = Win32API.new('cygwin1', 'uname', 'P', 'I') @@ -21,7 +21,7 @@ if defined? GDBM utsname.unpack('A20' * 5)[0] else - Config::CONFIG['host_os'] + Config::CONFIG['target_os'] end end SYSTEM = uname_s |
