Editing for OSX passing symbolic links
This commit is contained in:
parent
e8386bd4b9
commit
4a4df0f080
|
@ -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"
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue