Run OpenSSH Pester Tests
Yanbing edited this page Jul 5, 2018
·
9 revisions
Manuals
Installation
- MSI Install Instructions
- Script Install Instructions
- Alternative installation using the universal installer
- Retrieving download links for the latest packages
Usage
- SSH Usage Examples
- SFTP Usage Examples
- Using Certificate Authentication
- Fix SSH file permissions
- Info on SSH remote sessions on Windows
- TTY PTY support
- Troubleshooting
Project
Developing and Contributing to Win32-OpenSSH
Clone this wiki locally
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 x64Run OpenSSH E2E Tests:
Import-Module C:\git\openssh-portable\contrib\win32\openssh\OpenSSHTestHelper.psm1 -Force
Set-OpenSSHTestEnvironment -Confirm:$false -OpenSSHBinPath c:\openSSH
Invoke-OpenSSHE2ETestNote: 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
.\SCP.Tests.ps1
