Skip to content

Commit bb847f9

Browse files
committed
add debug on appveyor
1 parent b006c8d commit bb847f9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ build_script:
1313
1414
after_build:
1515
- ps: |
16+
$blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
1617
Import-Module $env:APPVEYOR_BUILD_FOLDER\contrib\win32\openssh\AppveyorHelper.psm1
1718
Install-OpenSSH
1819

regress/pesterTests/SCP.Tests.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ Describe "Tests for scp command" -Tags "CI" {
183183

184184
if($Options.contains("-p "))
185185
{
186+
# TODO: Test only
187+
Write-Verbose -Verbose "Source File LastWriteTime: $((Get-ChildItem -Path $SourceFilePath).LastWriteTime.DateTime)"
188+
Write-Verbose -Verbose "Dest File LastWriteTime: $((Get-ChildItem -Path $DestinationFilePath).LastWriteTime.DateTime)"
186189
$equal = @(Compare-Object (Get-ChildItem -path $SourceFilePath).LastWriteTime.DateTime (Get-ChildItem -path $DestinationFilePath).LastWriteTime.DateTime ).Length -eq 0
187190
$equal | Should Be $true
188191
}

0 commit comments

Comments
 (0)