Skip large file test on 32-bit platforms
This test cannot run on 32-bit machines as they cannot access files large than 2G. Makes flexnbd on 32-bit a bit useless really..
This commit is contained in:
@@ -115,6 +115,11 @@ class TestHappyPath < Test::Unit::TestCase
|
||||
|
||||
|
||||
def test_write_to_high_block
|
||||
#
|
||||
# This test does not work on 32 bit platforms.
|
||||
#
|
||||
skip("Not relevant on 32-bit platforms") if ( ["a"].pack("p").size < 8 )
|
||||
|
||||
# Create a large file, then try to write to somewhere after the 2G boundary
|
||||
@env.truncate1 "4G"
|
||||
@env.serve1
|
||||
|
Reference in New Issue
Block a user