File tree Expand file tree Collapse file tree 2 files changed +1
-20
lines changed
Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -109,20 +109,6 @@ Describe "BOSH.CFCell" {
109109
110110 Should - Invoke - ModuleName BOSH.CFCell - CommandName Uninstall-WindowsFeature
111111 }
112-
113- Describe " tar.exe for Windows Diego Cells" {
114- BeforeEach {
115- $installDir = (New-TempDir )
116- $depsDir = (Join-Path - Path $installDir - ChildPath " var" - AdditionalChildPath (" vcap" , " bosh" , " bin" ) )
117- }
118-
119- It " symlinks tar to \var\vcap\bosh\bin for backwards compatibility" {
120- { Install-CFFeatures - IaaS " ignored" } | Should -Not - Throw
121-
122- Test-Path (Join-Path $depsDir " tar.exe" ) | Should - Be $True
123- }
124-
125- }
126112 }
127113
128114 Describe " Remove-DockerPackage" {
@@ -144,4 +130,4 @@ Describe "BOSH.CFCell" {
144130 # Assert-MockCalled remove-DockerProgramData-Times 1 -Scope It -ModuleName BOSH.CFCell
145131 }
146132 }
147- }
133+ }
Original file line number Diff line number Diff line change @@ -30,11 +30,6 @@ function Install-CFFeatures
3030 Write-Log " Setting WinRM startup type to automatic"
3131 Get-Service | Where-Object { $_.Name -eq " WinRM" } | Set-Service - StartupType Automatic
3232
33- Write-Log " Creating symlink to system tar.exe"
34- $link = " C:\var\vcap\bosh\bin\tar.exe"
35- $target = " C:\Windows\system32\tar.exe"
36- New-Item - Path $link - ItemType SymbolicLink - V $target
37-
3833 if ($ForceReboot -eq $true )
3934 {
4035 Restart-Computer
You can’t perform that action at this time.
0 commit comments