@@ -23,12 +23,11 @@ protected override void Dispose(bool disposing)
2323 base . Dispose ( disposing ) ;
2424 }
2525
26- // On OSX, the temp directory /tmp/ is a symlink to /private/tmp, so setting the current
26+ // On OSX/MacCatalyst , the temp directory /tmp/ is a symlink to /private/tmp, so setting the current
2727 // directory to a symlinked path will result in GetCurrentDirectory returning the absolute
2828 // path that followed the symlink.
29- [ ConditionalFact ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotOSX ) ) ]
29+ [ ConditionalFact ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotOSX ) , nameof ( PlatformDetection . IsNotMacCatalyst ) ) ]
3030 [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/50572" , TestPlatforms . Android ) ]
31- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/52851" , TestPlatforms . MacCatalyst ) ]
3231 public void ChDir ( )
3332 {
3433 var savedDirectory = System . IO . Directory . GetCurrentDirectory ( ) ;
@@ -86,7 +85,6 @@ static string getString(string fileName)
8685 // Can't get current directory on OSX before setting it.
8786 [ ConditionalFact ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotOSX ) ) ]
8887 [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/50572" , TestPlatforms . Android ) ]
89- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/52851" , TestPlatforms . MacCatalyst ) ]
9088 public void CurDir ( )
9189 {
9290 Assert . Equal ( FileSystem . CurDir ( ) , System . IO . Directory . GetCurrentDirectory ( ) ) ;
0 commit comments