Fix testing for curl success in PowerShell
Of course doing the natural thing doesn't work in PowerShell.
This commit is contained in:
@@ -78,7 +78,8 @@ 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.exe -s http://127.0.0.1:5000/ip > $null) {
|
||||
curl.exe -s http://127.0.0.1:5000/ip > $null
|
||||
if ($lastExitCode -eq "0") {
|
||||
$env:WX_TEST_WEBREQUEST_URL="http://127.0.0.1:5000"
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user