@@ -10,7 +10,7 @@ namespace LibGit2Sharp.Tests
10
10
{
11
11
public class ShadowCopyFixture : BaseFixture
12
12
{
13
- [ SkippableFact ]
13
+ [ Fact ]
14
14
public void CanProbeForNativeBinariesFromAShadowCopiedAssembly ( )
15
15
{
16
16
Type type = typeof ( Wrapper ) ;
@@ -62,13 +62,17 @@ public void CanProbeForNativeBinariesFromAShadowCopiedAssembly()
62
62
string cachedAssembliesPath = Path . Combine ( setup . CachePath , setup . ApplicationName ) ;
63
63
Assert . True ( cachedAssemblyLocation . StartsWith ( cachedAssembliesPath ) ) ;
64
64
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
+ }
72
76
73
77
AppDomain . Unload ( domain ) ;
74
78
}
0 commit comments