hurl/integration/tests_ok/http_version_2_option.ps1

12 lines
264 B
PowerShell
Raw Normal View History

2023-10-03 17:41:08 +03:00
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