From b683b3dc7473d0db665d1e5fa0efa2c4c807ab90 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexander=20K=C3=B6plinger?= Date: Wed, 4 Oct 2017 11:51:48 +0200 Subject: [PATCH] [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. --- mcs/class/System/Test/System.Net/FtpWebRequestTest.cs | 3 +++ 1 file changed, 3 insertions(+) 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)); -- 2.25.1