mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Disable JIT cache tests
This test fails since we've disabled the JIT cache entirely.
This commit is contained in:
@@ -50,7 +50,8 @@ Describe "Configuration file locations" {
|
||||
& $powershell -noprofile { (Get-PSReadlineOption).HistorySavePath } | Should Be $expectedReadline
|
||||
}
|
||||
|
||||
It @ItArgs "JIT cache should be created correctly" {
|
||||
# This feature (and thus test) has been disabled because of the AssemblyLoadContext scenario
|
||||
It "JIT cache should be created correctly" -Skip {
|
||||
Remove-Item -ErrorAction SilentlyContinue $expectedCache
|
||||
& $powershell -noprofile { exit }
|
||||
$expectedCache | Should Exist
|
||||
@@ -105,7 +106,8 @@ Describe "Configuration file locations" {
|
||||
& $powershell -noprofile { (Get-PSReadlineOption).HistorySavePath } | Should Be $expected
|
||||
}
|
||||
|
||||
It @ItArgs "JIT cache should respect XDG_CACHE_HOME" {
|
||||
# This feature (and thus test) has been disabled because of the AssemblyLoadContext scenario
|
||||
It -Skip "JIT cache should respect XDG_CACHE_HOME" {
|
||||
$env:XDG_CACHE_HOME = $TestDrive
|
||||
$expected = [IO.Path]::Combine($TestDrive, "powershell", "StartupProfileData-NonInteractive")
|
||||
Remove-Item -ErrorAction SilentlyContinue $expected
|
||||
|
||||
Reference in New Issue
Block a user