mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-22 10:31:46 +03:00
12 lines
264 B
PowerShell
12 lines
264 B
PowerShell
|
Set-StrictMode -Version latest
|
||
|
$ErrorActionPreference = 'Stop'
|
||
|
|
||
|
$ErrorActionPreference = 'Continue'
|
||
|
curl --version | grep Features | grep --quiet HTTP2
|
||
|
if ($LASTEXITCODE -eq 1) {
|
||
|
exit 0
|
||
|
}
|
||
|
$ErrorActionPreference = 'Stop'
|
||
|
|
||
|
hurl tests_ok/http_version_2_option.hurl
|