ruby-changes:28586
From: akr <ko1@a...>
Date: Sat, 11 May 2013 11:50:46 +0900 (JST)
Subject: [ruby-changes:28586] akr:r40638 (trunk): disable test_fcntl_lock_linux on x32.
akr 2013-05-11 11:50:35 +0900 (Sat, 11 May 2013) New Revision: 40638 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40638 Log: disable test_fcntl_lock_linux on x32. Modified files: trunk/test/ruby/test_io.rb Index: test/ruby/test_io.rb =================================================================== --- test/ruby/test_io.rb (revision 40637) +++ test/ruby/test_io.rb (revision 40638) @@ -2202,6 +2202,7 @@ End https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L2202 def test_fcntl_lock_linux return if /x86_64-linux/ !~ RUBY_PLATFORM # A binary form of struct flock depend on platform + return if [nil].pack("p").bytesize != 8 # Return if x32 platform. pad=0 Tempfile.create(self.class.name) do |f| -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/