[tests] Tweak MemoryMappedFile test case that fails on iOS/ARM64 [#27667]
authorSebastien Pouliot <sebastien@xamarin.com>
Tue, 24 Mar 2015 14:46:33 +0000 (10:46 -0400)
committerSebastien Pouliot <sebastien@xamarin.com>
Tue, 24 Mar 2015 14:46:33 +0000 (10:46 -0400)
commitb07e58ed99c7a5cc85b81364417e689ffcc71ad9
tree19bb93b46b454139d3c00e285a7abb0dda187185
parentf0e39b7babec4da46cb00c629f4f987a51f12a8f
[tests] Tweak MemoryMappedFile test case that fails on iOS/ARM64 [#27667]

Filled with Apple. From bug report:

The problem appears to be caused by a bug in mmap on the arm64 ios.

In this test, we request a page and mmap returns successfully, but when trying
to access the mapped memory, the program crashes after the 4097th byte, meaning
that it only maps us 4kb(???). It should be mentioned that on arm64 ios the
page size is 16kb.
mcs/class/System.Core/Test/System.IO.MemoryMappedFiles/MemoryMappedFileTest.cs