summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-27 16:22:10 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-27 16:22:10 +0000
commit4adaee33466d0f014c0c3694140d45f21da68fbb (patch)
treedcec9bb7803a640ce36414002c4822be9badec17
parentb5e24fe66ec6312619b858aa606392b1f20b9b2e (diff)
downloadruby-4adaee33466d0f014c0c3694140d45f21da68fbb.tar.gz
ruby-4adaee33466d0f014c0c3694140d45f21da68fbb.tar.xz
ruby-4adaee33466d0f014c0c3694140d45f21da68fbb.zip
* 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
-rw-r--r--ChangeLog5
-rw-r--r--test/dbm/test_dbm.rb4
-rw-r--r--test/gdbm/test_gdbm.rb4
3 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 291224639..5ef37ad4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Feb 28 01:20:18 2007 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * test/{dbm,gdbm}/test_{dbm,gdbm}.rb: shouldn't use host_os. use
+ target_os instead. [ruby-list:43225]
+
Wed Feb 28 00:08:11 2007 URABE Shyouhei <shyouhei@ice.uec.ac.jp>
* mkconfig.rb (RbConfig): add CONFIG['PATCHLEVEL']
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
diff --git a/test/gdbm/test_gdbm.rb b/test/gdbm/test_gdbm.rb
index 45fc93bcc..8d2936d28 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 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? GDBM
utsname.unpack('A20' * 5)[0]
else
- RbConfig::CONFIG['host_os']
+ RbConfig::CONFIG['target_os']
end
end
SYSTEM = uname_s