Add bash wrapper for vpnruntime guard script
This commit is contained in:
@@ -31,6 +31,12 @@ scripts\smoke\run-vpnruntime-ci-guards.cmd
|
|||||||
On UNC workspaces, `cmd.exe` may print a startup UNC warning, but the wrapper
|
On UNC workspaces, `cmd.exe` may print a startup UNC warning, but the wrapper
|
||||||
uses `pushd` and still runs guard checks correctly.
|
uses `pushd` and still runs guard checks correctly.
|
||||||
|
|
||||||
|
Linux/macOS/WSL wrapper:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./scripts/smoke/run-vpnruntime-ci-guards.sh
|
||||||
|
```
|
||||||
|
|
||||||
Expected:
|
Expected:
|
||||||
|
|
||||||
- all guard steps pass
|
- all guard steps pass
|
||||||
|
|||||||
@@ -16,6 +16,12 @@ Windows `cmd` wrapper:
|
|||||||
scripts\smoke\run-vpnruntime-ci-guards.cmd
|
scripts\smoke\run-vpnruntime-ci-guards.cmd
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Linux/macOS/WSL wrapper:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./scripts/smoke/run-vpnruntime-ci-guards.sh
|
||||||
|
```
|
||||||
|
|
||||||
## Verification matrix
|
## Verification matrix
|
||||||
|
|
||||||
### Locally proven in this repository work
|
### Locally proven in this repository work
|
||||||
|
|||||||
Executable
+9
@@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
REPO_ROOT="$(cd "${SCRIPT_DIR}/../.." && pwd)"
|
||||||
|
|
||||||
|
cd "${REPO_ROOT}"
|
||||||
|
pwsh -NoProfile -ExecutionPolicy Bypass -File "scripts/smoke/run-vpnruntime-ci-guards.ps1" -AntiFlakeCount 20 -TargetedCount 50
|
||||||
|
|
||||||
Reference in New Issue
Block a user