diff options
author | Alexis Christoforides <alexis@thenull.net> | 2018-12-07 17:02:23 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2018-12-07 17:02:23 +0300 |
commit | 449e36638fc0b7188b2e9fbd9734a5b263ba9d22 (patch) | |
tree | 406dfeedb2105d285f77aa3b8c8fe0ad5ae65380 /mcs/tests | |
parent | 3643f411a098f34e5e9836f8c99fa6a751f54484 (diff) |
[corlib] Import FileSystemInfo and family from CoreFX (#11342)
Includes the following from System.IO:
* FileSystemInfo
* FileInfo
* DirectoryInfo
* Directory
* FileSystem
* Path `Join()` Span API
and all of System.IO.Enumeration namespace.
Adds about 1600 System.IO tests
Behavior changes:
* `File.Replace` now replaces files even if they are read-only (using the `rename` syscall on Unix)
* Directory enumeration is no longer stable in the way that many Mono tests expect
* Some changes in when/whether some representations of directories contain a trailing separator character
* Changes in which exceptions are thrown (sometimes these are platform-dependent on CoreFX)
Issues:
* https://github.com/dotnet/corefx/issues/33486
* https://github.com/dotnet/corefx/issues/33490
Part of #7246
Diffstat (limited to 'mcs/tests')
-rw-r--r-- | mcs/tests/gtest-431-1-lib.cs (renamed from mcs/tests/gtest-431-lib-1.cs) | 0 | ||||
-rw-r--r-- | mcs/tests/gtest-431-2-lib.cs (renamed from mcs/tests/gtest-431-lib-2.cs) | 2 | ||||
-rw-r--r-- | mcs/tests/gtest-431.cs | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/mcs/tests/gtest-431-lib-1.cs b/mcs/tests/gtest-431-1-lib.cs index 36630d633d8..36630d633d8 100644 --- a/mcs/tests/gtest-431-lib-1.cs +++ b/mcs/tests/gtest-431-1-lib.cs diff --git a/mcs/tests/gtest-431-lib-2.cs b/mcs/tests/gtest-431-2-lib.cs index 7ab3d5009c9..36cd0dd7de3 100644 --- a/mcs/tests/gtest-431-lib-2.cs +++ b/mcs/tests/gtest-431-2-lib.cs @@ -1,4 +1,4 @@ -// Compiler options: -t:library -noconfig -r:gtest-431-lib-1.dll +// Compiler options: -t:library -noconfig -r:gtest-431-1-lib.dll using System; diff --git a/mcs/tests/gtest-431.cs b/mcs/tests/gtest-431.cs index 2f3ee03ac95..c269d4c1ef2 100644 --- a/mcs/tests/gtest-431.cs +++ b/mcs/tests/gtest-431.cs @@ -1,4 +1,4 @@ -// Compiler options: -r:gtest-431-lib-1.dll -r:gtest-431-lib-2.dll -noconfig +// Compiler options: -r:gtest-431-1-lib.dll -r:gtest-431-2-lib.dll -noconfig using System; |