Editing for OSX passing symbolic links

This commit is contained in:
Alex Jordan 2016-07-11 20:56:34 -07:00
parent e8386bd4b9
commit 4a4df0f080

View file

@ -111,8 +111,9 @@ Describe "New-Item" {
New-Item -ItemType SymbolicLink -Target $FullyQualifiedFile -Name $testlink -Path $tmpDirectory
Test-Path $FullyQualifiedLink | Should Be $true
$target = $FullyQualifiedFile
$fileInfo = Get-ChildItem $FullyQualifiedLink
$fileInfo.Target | Should Be $FullyQualifiedFile
$fileInfo.Target | Should Be $target
$fileInfo.LinkType | Should Be "SymbolicLink"
}
@ -154,6 +155,4 @@ Describe "New-Item" {
$fileInfo.LinkType | Should Be "HardLink"
}
}