From 7907358ce1198276989bfaeb897937edfebadd4f Mon Sep 17 00:00:00 2001 From: Yanbing Date: Wed, 15 Mar 2017 15:55:48 -0700 Subject: [PATCH] Updated Run OpenSSH Pester Tests (markdown) --- Run-OpenSSH-Pester-Tests.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Run-OpenSSH-Pester-Tests.md b/Run-OpenSSH-Pester-Tests.md index 9abb1d4..f80aa16 100644 --- a/Run-OpenSSH-Pester-Tests.md +++ b/Run-OpenSSH-Pester-Tests.md @@ -1,7 +1,6 @@ ## Build OpenSSH: (skip these steps if you’ve already done) ```powershell -Pushd .\openssh-portable\contrib\win32\openssh -Import-Module .\appveyor.psm1 –Force +Import-Module .\openssh-portable\contrib\win32\openssh\appveyor.psm1 –Force Start-SSHBuild -Configuration Debug -NativeHostArch x64 –Verbose Install-OpenSSH -OpenSSHDir $env:SystemDrive\OpenSSH -Configuration Debug -NativeHostArch x64 ``` @@ -11,7 +10,7 @@ Install-OpenSSH -OpenSSHDir $env:SystemDrive\OpenSSH -Configuration Debug -Nativ Install-TestDependencies Deploy-OpenSSHTests -OpenSSHTestDir $env:SystemDrive\OpenSSH -Configuration Debug -NativeHostArch x64 ``` -- Run pester tests : Launch powershell core at "C:\Program Files\PowerShell\6.0.0.12\powershell.exe" and run the below command: +- Run pester tests : Launch powershell core windows (for example at **"$env:ProgramFiles\PowerShell\6.0.0.12\powershell.exe"**) and run the below command: ```powershell cd $env:SystemDrive\OpenSSH Run-OpenSSHPesterTest –testRoot $env:SystemDrive\OpenSSH -outputXml testresult.xml