summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-11 02:50:35 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-11 02:50:35 +0000
commitfade664f916d001d1e2d53cbccd132f6b039fb7d (patch)
treecaacabde5ade76cf6ae621593d3252e43a980613 /test
parent690b663c54b990da769e2c50307b04362b915b55 (diff)
disable test_fcntl_lock_linux on x32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_io.rb1
1 files changed, 1 insertions, 0 deletions
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|