@@ -10,7 +10,7 @@ namespace LibGit2Sharp.Tests
1010{
1111 public class ShadowCopyFixture : BaseFixture
1212 {
13- [ SkippableFact ]
13+ [ Fact ]
1414 public void CanProbeForNativeBinariesFromAShadowCopiedAssembly ( )
1515 {
1616 Type type = typeof ( Wrapper ) ;
@@ -62,13 +62,17 @@ public void CanProbeForNativeBinariesFromAShadowCopiedAssembly()
6262 string cachedAssembliesPath = Path . Combine ( setup . CachePath , setup . ApplicationName ) ;
6363 Assert . True ( cachedAssemblyLocation . StartsWith ( cachedAssembliesPath ) ) ;
6464
65- // ...that this cache doesn't contain the `NativeBinaries` folder
66- string cachedAssemblyParentPath = Path . GetDirectoryName ( cachedAssemblyLocation ) ;
67- Assert . False ( Directory . Exists ( Path . Combine ( cachedAssemblyParentPath , "NativeBinaries" ) ) ) ;
68-
69- // ...whereas `NativeBinaries` of course exists next to the source assembly
70- string sourceAssemblyParentPath = Path . GetDirectoryName ( new Uri ( sourceAssembly . EscapedCodeBase ) . LocalPath ) ;
71- Assert . True ( Directory . Exists ( Path . Combine ( sourceAssemblyParentPath , "NativeBinaries" ) ) ) ;
65+ if ( ! IsRunningOnLinux ( ) )
66+ {
67+ // ...that this cache doesn't contain the `NativeBinaries` folder
68+ string cachedAssemblyParentPath = Path . GetDirectoryName ( cachedAssemblyLocation ) ;
69+ Assert . False ( Directory . Exists ( Path . Combine ( cachedAssemblyParentPath , "NativeBinaries" ) ) ) ;
70+
71+ // ...whereas `NativeBinaries` of course exists next to the source assembly
72+ string sourceAssemblyParentPath =
73+ Path . GetDirectoryName ( new Uri ( sourceAssembly . EscapedCodeBase ) . LocalPath ) ;
74+ Assert . True ( Directory . Exists ( Path . Combine ( sourceAssemblyParentPath , "NativeBinaries" ) ) ) ;
75+ }
7276
7377 AppDomain . Unload ( domain ) ;
7478 }
0 commit comments