From fade664f916d001d1e2d53cbccd132f6b039fb7d Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 11 May 2013 02:50:35 +0000 Subject: disable test_fcntl_lock_linux on x32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 58cae7e291..d44dd31e71 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -2202,6 +2202,7 @@ End 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| -- cgit v1.2.3