diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-10-04 12:51:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-04 12:51:48 +0300 |
commit | b683b3dc7473d0db665d1e5fa0efa2c4c807ab90 (patch) | |
tree | 4f649a62041e8e96655866c553d39c42bbc250d1 /mcs/class/System | |
parent | dbf70d108348fc048cb4824de9a1da83bec29f66 (diff) |
[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.
Diffstat (limited to 'mcs/class/System')
-rw-r--r-- | mcs/class/System/Test/System.Net/FtpWebRequestTest.cs | 3 |
1 files changed, 3 insertions, 0 deletions
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)); |