[corlib] Ignore DirectoryNotFoundException in FileStreamTest.OpenCharDeviceRepeatedly...
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 10 May 2016 19:05:32 +0000 (21:05 +0200)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 10 May 2016 19:05:32 +0000 (21:05 +0200)
commit8fd52718cf450c0f2965c4664ad424fe18d49f9b
treee09634ca50941b4b5cf3e609bf376c824f4aa7f3
parent5099acaed48ec335df50849cea90752102e9009c
[corlib] Ignore DirectoryNotFoundException in FileStreamTest.OpenCharDeviceRepeatedly test

It seems that older iOS6 devices don't allow access to /dev, as a DirectoryNotFoundException is
thrown when accessing /dev/zero in the FileStreamTest.OpenCharDeviceRepeatedly test there.

Ignore this exception and the test in those cases.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=40462
mcs/class/corlib/Test/System.IO/FileStreamTest.cs