X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fclient002.phpt;h=d020f16e22ff4d5916b2ba4830ae1083c48c321a;hp=e07b82e21669fff8e5e38e250611c8c4397993c5;hb=HEAD;hpb=8a3ddf26349337c2c42dc2716bb4b3e93bded96c diff --git a/tests/client002.phpt b/tests/client002.phpt index e07b82e..d020f16 100644 --- a/tests/client002.phpt +++ b/tests/client002.phpt @@ -8,16 +8,19 @@ skip_client_test(); --FILE-- getProgressInfo($request) != $progress) { - var_dump($progress); + /* fence against buggy infof() calls in some curl versions */ + $compare = $client->getProgressInfo($request); + if ($progress->info !== "prepare" && $compare && $compare != $progress) { + var_dump($progress, $compare); } } }