[tests] Large locks not supported on Android
authorMarek Habersack <grendel@twistedcode.net>
Wed, 24 Jun 2015 16:37:52 +0000 (18:37 +0200)
committerMarek Habersack <grendel@twistedcode.net>
Wed, 15 Jul 2015 18:45:23 +0000 (20:45 +0200)
While bionic reports it supports 64-bit offsets for locks and exposes the
necessary APIs, attempt to use offsets larger than 32 bits results in
an error.

mcs/class/corlib/Test/System.IO/FileTest.cs

index b926c3c71e0ccb246fdf121dc15e24076e8f68e0..c1dc8b59ab40fcece1dbb88b47849f7b8c7b77c1 100644 (file)
@@ -2537,6 +2537,7 @@ namespace MonoTests.System.IO
                }
 
                [Test]
+               [Category ("AndroidNotWorking")] // locks with offsets bigger than Int32.Max don't work on Android
                public void Lock_Large ()
                {
                        // note: already worked without HAVE_LARGE_FILE_SUPPORT