mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-27 07:54:50 +02:00
update according cmdlet name changes
parent
21a83f9aab
commit
fb178574e1
@ -1,21 +1,19 @@
|
|||||||
## Build OpenSSH: (skip these steps if you’ve already done)
|
## Build OpenSSH: (skip these steps if you’ve already done)
|
||||||
```powershell
|
```powershell
|
||||||
Import-Module C:\git\openssh-portable\contrib\win32\openssh\OpenSSHBuildHelper.psm1 -Force
|
Import-Module C:\git\openssh-portable\contrib\win32\openssh\OpenSSHBuildHelper.psm1 -Force
|
||||||
Build-OpenSSH -Configuration Debug -NativeHostArch x64
|
Start-OpenSSHBuild -Configuration Debug -NativeHostArch x64
|
||||||
```
|
|
||||||
## Install OpenSSH: (skip these steps if you’ve already done)
|
|
||||||
```powershell
|
|
||||||
Import-Module C:\git\openssh-portable\contrib\win32\openssh\OpenSSHBuildHelper.psm1 -Force
|
|
||||||
Install-OpenSSH -OpenSSHDir $env:SystemDrive\OpenSSH -Configuration Debug -NativeHostArch x64
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Run OpenSSH E2E Tests:
|
## Run OpenSSH E2E Tests:
|
||||||
```powershell
|
```powershell
|
||||||
Import-Module C:\git\openssh-portable\contrib\win32\openssh\OpenSSHTestHelper.psm1 -Force
|
Import-Module C:\git\openssh-portable\contrib\win32\openssh\OpenSSHTestHelper.psm1 -Force
|
||||||
Setup-OpenSSHTestEnvironment -Quiet -OpenSSHBinPath Setup-OpenSSHTestEnvironment -Quiet -OpenSSHBinPath
|
Set-OpenSSHTestEnvironment -Confirm:$false -OpenSSHBinPath c:\openSSH
|
||||||
Run-OpenSSHE2ETest
|
Invoke-OpenSSHE2ETest
|
||||||
```
|
```
|
||||||
Note: If you want to run a particular test, just launch it by the script name:
|
Note: If you want to run a particular test, just launch it by the script name:
|
||||||
```powershell
|
```powershell
|
||||||
|
#need to explicitly import pester module on win7 only
|
||||||
|
import-module pester
|
||||||
.\SCP.Tests.ps1
|
.\SCP.Tests.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user