summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-21 07:49:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-21 07:49:54 +0000
commit5258f67d179757c9d0e4db115691e6a02d07da48 (patch)
treecb650da8b9bc1592a2e214a996343c8b970273e0
parentbe5de490906e1b2b542ba6e0160672f92a24ab60 (diff)
test_logdevice.rb: run iff timezene supported
* test/logger/test_logdevice.rb (test_shifting_dst_change): test only on platforms where timezone is supported. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/logger/test_logdevice.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/logger/test_logdevice.rb b/test/logger/test_logdevice.rb
index 0245d03..65e60dd 100644
--- a/test/logger/test_logdevice.rb
+++ b/test/logger/test_logdevice.rb
@@ -398,7 +398,7 @@ class TestLogDevice < Test::Unit::TestCase
assert_not_match(/hello-1/, cont)
assert_file.exist?(log+".20140330")
end
- end
+ end if /linux|darwin|freebsd/ =~ RUBY_PLATFORM # borrow from test/ruby/test_time_tz.rb
private