From f664ffb5a0abddcbf04edfa9c9ba708bef57fadb Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 24 Mar 2014 08:02:54 +0000 Subject: [PATCH] Asia/Tokyo is more portable value for ENV["TZ"] [Bug #9652] FreeBSD doesn't accept "Japan". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_time.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb index cb0859473f..f2200e421e 100644 --- a/test/ruby/test_time.rb +++ b/test/ruby/test_time.rb @@ -312,7 +312,7 @@ class TestTime < Test::Unit::TestCase def test_marshal_zone_gc assert_separately(%w(--disable-gems), <<-'end;') - ENV["TZ"] = "Japan" + ENV["TZ"] = "Asia/Tokyo" s = Marshal.dump(Time.now) t = Marshal.load(s) n = 0