mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-27 16:04:46 +02:00
Updated Run OpenSSH Pester Tests (markdown)
parent
5f98db1712
commit
7907358ce1
@ -1,7 +1,6 @@
|
|||||||
## Build OpenSSH: (skip these steps if you’ve already done)
|
## Build OpenSSH: (skip these steps if you’ve already done)
|
||||||
```powershell
|
```powershell
|
||||||
Pushd .\openssh-portable\contrib\win32\openssh
|
Import-Module .\openssh-portable\contrib\win32\openssh\appveyor.psm1 –Force
|
||||||
Import-Module .\appveyor.psm1 –Force
|
|
||||||
Start-SSHBuild -Configuration Debug -NativeHostArch x64 –Verbose
|
Start-SSHBuild -Configuration Debug -NativeHostArch x64 –Verbose
|
||||||
Install-OpenSSH -OpenSSHDir $env:SystemDrive\OpenSSH -Configuration Debug -NativeHostArch x64
|
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
|
Install-TestDependencies
|
||||||
Deploy-OpenSSHTests -OpenSSHTestDir $env:SystemDrive\OpenSSH -Configuration Debug -NativeHostArch x64
|
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
|
```powershell
|
||||||
cd $env:SystemDrive\OpenSSH
|
cd $env:SystemDrive\OpenSSH
|
||||||
Run-OpenSSHPesterTest –testRoot $env:SystemDrive\OpenSSH -outputXml testresult.xml
|
Run-OpenSSHPesterTest –testRoot $env:SystemDrive\OpenSSH -outputXml testresult.xml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user