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:
parent
99d088eec3
commit
d59d51e0f2
@ -78,7 +78,7 @@ before_test:
|
|||||||
pip.exe --disable-pip-version-check install httpbin
|
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-Job -Name wx_httpbin { python.exe -m httpbin.core 2>&1 > c:\projects\wxwidgets\httpbin.log }
|
||||||
Start-Sleep -Seconds 5
|
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"
|
$env:WX_TEST_WEBREQUEST_URL="http://127.0.0.1:5000"
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user