Bug #3530
closedpsych failures at Adelaide
Description
=begin
Several psych tests fail as follows when the timezone is set to
Australia/Adelaide.
% ./ruby -v
ruby 1.9.3dev (2010-07-03 trunk 28532) [i686-linux]
% TZ=Australia/Adelaide ./ruby test/runner.rb psych
Loaded suite test/runner
Started
...(snip)...
Finished in 1.000350 seconds.
-
Failure:
test_round_trip(Psych::TestDateTime)
[/home/ruby/tcstate/ruby/test/psych/test_date_time.rb:14]:
Expected #<DateTime: 2010-07-03T20:21:29+09:30
(212144914289388924893/86400000000000,19/48,2299161)>, not #<DateTime:
2010-07-03T20:51:29+09:30
(212144916089388924893/86400000000000,19/48,2299161)>. -
Failure:
test_time(Psych::Visitors::TestToRuby)
[/home/ruby/tcstate/ruby/test/psych/visitors/test_to_ruby.rb:118]:
Expected 2010-07-03 20:21:29 +0930, not 2010-07-03 20:51:29 +0930. -
Failure:
test_time(Psych::Visitors::TestYAMLTree)
[/home/ruby/tcstate/ruby/test/psych/visitors/test_yaml_tree.rb:57]:
Expected 2010-07-03 20:21:29 +0930, not 2010-07-03 20:51:29 +0930. -
Failure:
test_time_now_cycle(Psych_Unit_Tests)
[/home/ruby/tcstate/ruby/test/psych/test_yaml.rb:1157]:
Expected 2010-07-03 20:21:30 +0930, not 2010-07-03 20:51:30 +0930.
321 tests, 938 assertions, 4 failures, 0 errors, 0 skips
Test run options: --seed 57308¶
Tanaka Akira
=end