mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-09-24 10:38:39 +02:00
Updated Run OpenSSH Pester Tests (markdown)
parent
8ef49af6a4
commit
5f98db1712
@ -10,10 +10,10 @@ Install-OpenSSH -OpenSSHDir $env:SystemDrive\OpenSSH -Configuration Debug -Nativ
|
|||||||
```powershell
|
```powershell
|
||||||
Install-TestDependencies
|
Install-TestDependencies
|
||||||
Deploy-OpenSSHTests -OpenSSHTestDir $env:SystemDrive\OpenSSH -Configuration Debug -NativeHostArch x64
|
Deploy-OpenSSHTests -OpenSSHTestDir $env:SystemDrive\OpenSSH -Configuration Debug -NativeHostArch x64
|
||||||
cd $env:SystemDrive\OpenSSH
|
|
||||||
```
|
```
|
||||||
- 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 at "C:\Program Files\PowerShell\6.0.0.12\powershell.exe" and run the below command:
|
||||||
```powershell
|
```powershell
|
||||||
|
cd $env:SystemDrive\OpenSSH
|
||||||
Run-OpenSSHPesterTest –testRoot $env:SystemDrive\OpenSSH -outputXml testresult.xml
|
Run-OpenSSHPesterTest –testRoot $env:SystemDrive\OpenSSH -outputXml testresult.xml
|
||||||
```
|
```
|
||||||
Note: If you want to run a particular test, skip step 3 and just launch it:
|
Note: If you want to run a particular test, skip step 3 and just launch it:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user