Don't run the ping test on certain Android devices
authorMarek Habersack <grendel@twistedcode.net>
Wed, 22 Jun 2016 12:42:51 +0000 (14:42 +0200)
committerMarek Habersack <grendel@twistedcode.net>
Wed, 22 Jun 2016 12:46:40 +0000 (14:46 +0200)
commit850d468d2d0c92485c37d0ff833c4f4a8f9f8d9c
treef4066f605be6e08c5fb846bfaecb64adfa69f89c
parent70012f5ae0da406c5f5e151688e4f597940c9ef5
Don't run the ping test on certain Android devices

As described in https://bugzilla.xamarin.com/show_bug.cgi?id=34883 at
least Samsung SG3 doesn't allow access to the local network
interface (in fact, even ifconfig doesn't work on the device). Therefore
the test needs to be disabled on those devices. This is the first part
of the fix, the second one will be implemented in Xamarin.Android test
suite which will provide the AndroidShouldPingWork method which will
check the device id against list of those that do not work for this
test.

Part #1 of fix for https://bugzilla.xamarin.com/show_bug.cgi?id=34883
mcs/class/System/Test/System.Net.NetworkInformation/PingTest.cs