From: Alexander Köplinger Date: Wed, 4 Oct 2017 09:51:48 +0000 (+0200) Subject: [System] Ignore FtpWebRequestTest.DownloadFile2_v6 test when IPv6 isn't available... X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=commitdiff_plain;h=b683b3dc7473d0db665d1e5fa0efa2c4c807ab90 [System] Ignore FtpWebRequestTest.DownloadFile2_v6 test when IPv6 isn't available (#5695) It fails on some systems otherwise. The other tests already had this check. --- diff --git a/mcs/class/System/Test/System.Net/FtpWebRequestTest.cs b/mcs/class/System/Test/System.Net/FtpWebRequestTest.cs index 05654f49edd..dd5df82310b 100644 --- a/mcs/class/System/Test/System.Net/FtpWebRequestTest.cs +++ b/mcs/class/System/Test/System.Net/FtpWebRequestTest.cs @@ -389,6 +389,9 @@ namespace MonoTests.System.Net #endif public void DownloadFile2_v6 () { + if (!Socket.OSSupportsIPv6) + Assert.Ignore ("IPv6 not supported."); + // Some embedded FTP servers in Industrial Automation Hardware report // the PWD using backslashes, but allow forward slashes for CWD. DownloadFile (new ServerDownload (@"\Users\someuser", "/Users/someuser/", null, true));