Skip to content

Commit 530cd4c

Browse files
committed
cleanup, remove accidental code
* accidentally committed as part of #101
1 parent 1c98c18 commit 530cd4c

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

modules/BOSH.CFCell/BOSH.CFCell.Tests.ps1

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff 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+
}

modules/BOSH.CFCell/BOSH.CFCell.psm1

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)