Editing for OSX passing symbolic links
This commit is contained in:
parent
e8386bd4b9
commit
4a4df0f080
1 changed files with 13 additions and 14 deletions
|
@ -111,8 +111,9 @@ Describe "New-Item" {
|
||||||
New-Item -ItemType SymbolicLink -Target $FullyQualifiedFile -Name $testlink -Path $tmpDirectory
|
New-Item -ItemType SymbolicLink -Target $FullyQualifiedFile -Name $testlink -Path $tmpDirectory
|
||||||
Test-Path $FullyQualifiedLink | Should Be $true
|
Test-Path $FullyQualifiedLink | Should Be $true
|
||||||
|
|
||||||
|
$target = $FullyQualifiedFile
|
||||||
$fileInfo = Get-ChildItem $FullyQualifiedLink
|
$fileInfo = Get-ChildItem $FullyQualifiedLink
|
||||||
$fileInfo.Target | Should Be $FullyQualifiedFile
|
$fileInfo.Target | Should Be $target
|
||||||
$fileInfo.LinkType | Should Be "SymbolicLink"
|
$fileInfo.LinkType | Should Be "SymbolicLink"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -154,6 +155,4 @@ Describe "New-Item" {
|
||||||
$fileInfo.LinkType | Should Be "HardLink"
|
$fileInfo.LinkType | Should Be "HardLink"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue