Use curl command, not PowerShell alias

Aliasing curl to something completely different (Invoke-WebRequest) is
just evil, yet this is what Powershell 3+ does.
This commit is contained in:
Vadim Zeitlin 2021-01-27 11:12:15 +01:00
parent 99d088eec3
commit d59d51e0f2

View File

@ -78,7 +78,7 @@ before_test:
pip.exe --disable-pip-version-check install httpbin
Start-Job -Name wx_httpbin { python.exe -m httpbin.core 2>&1 > c:\projects\wxwidgets\httpbin.log }
Start-Sleep -Seconds 5
if (curl -s http://127.0.0.1:5000/ip > $null) {
if (curl.exe -s http://127.0.0.1:5000/ip > $null) {
$env:WX_TEST_WEBREQUEST_URL="http://127.0.0.1:5000"
}
else {