Skip to content

Run OpenSSH Pester Tests

Yanbing edited this page Jul 5, 2018 · 9 revisions

Build OpenSSH: (skip these steps if you’ve already done)

Import-Module C:\git\openssh-portable\contrib\win32\openssh\OpenSSHBuildHelper.psm1 -Force
Start-OpenSSHBuild -Configuration Debug -NativeHostArch x64

Run OpenSSH E2E Tests:

Import-Module C:\git\openssh-portable\contrib\win32\openssh\OpenSSHTestHelper.psm1 -Force
Set-OpenSSHTestEnvironment -Confirm:$false -OpenSSHBinPath c:\openSSH

Note: If you want to run a particular test, just launch it by the script name:

#need to explicitly import pester module on win7 only
import-module pester
Clone this wiki locally
You can’t perform that action at this time.