From e52da3b1e5c77c48bcbc3fe22673978609a4eaf0 Mon Sep 17 00:00:00 2001 From: George Fleming Date: Fri, 4 Mar 2016 16:01:24 -0800 Subject: [PATCH 1/3] Add hardlink test for New-Item --- test/powershell/New-Item.Tests.ps1 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/powershell/New-Item.Tests.ps1 b/test/powershell/New-Item.Tests.ps1 index 1c66438b6e..5a873316e7 100644 --- a/test/powershell/New-Item.Tests.ps1 +++ b/test/powershell/New-Item.Tests.ps1 @@ -118,4 +118,15 @@ Describe "New-Item" { # Remove the link explicitly to avoid broken symlink issue Remove-Item $FullyQualifiedLink -Force } + + It "Should create a hard link of a file without error" { + New-Item -Name $testfile -Path $tmpDirectory -ItemType file + Test-Path $FullyQualifiedFile | Should Be $true + + New-Item -ItemType HardLink -Target $FullyQualifiedFile -Name $testlink -Path $tmpDirectory + Test-Path $FullyQualifiedLink | Should Be $true + } + + + } From 3849c9256e08467660bcf50dcd76378c1c021aff Mon Sep 17 00:00:00 2001 From: George Fleming Date: Fri, 4 Mar 2016 16:01:40 -0800 Subject: [PATCH 2/3] Add src/libpsl-native --- src/libpsl-native | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpsl-native b/src/libpsl-native index 19dbaaf54c..5e0728e48e 160000 --- a/src/libpsl-native +++ b/src/libpsl-native @@ -1 +1 @@ -Subproject commit 19dbaaf54cfa47c0673af6a3da2c4dad5fb56e8f +Subproject commit 5e0728e48e5c9317f35deeed4ac1493c2cf0639e From 43508acc1806f8c2f44655fe29899d0987468bb1 Mon Sep 17 00:00:00 2001 From: George Fleming Date: Fri, 4 Mar 2016 16:01:51 -0800 Subject: [PATCH 3/3] Add src/monad --- src/monad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monad b/src/monad index 2a3547e9c6..432aa99a3f 160000 --- a/src/monad +++ b/src/monad @@ -1 +1 @@ -Subproject commit 2a3547e9c6a22fd36dc985e6359225893d1a8459 +Subproject commit 432aa99a3fd8b833c1c887e658ed8499da9b1539