]> granicus.if.org Git - php/commitdiff
Make test more resilient
authorChristoph M. Becker <cmbecker69@gmx.de>
Tue, 7 Jan 2020 14:28:48 +0000 (15:28 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 7 Jan 2020 14:28:48 +0000 (15:28 +0100)
Depending on the libcurl version and perhaps configuration, it may show
additional info (due to `CURLOPT_VERBOSE` being activated), which we
have to ignore, to avoid spurious test failures.

ext/curl/tests/bug48203.phpt

index 185b75ed3d3fe6de50f721ac238c35e6eee224c8..79c7d7f679d663bb4dcd82ff1b962b52469d4df9 100644 (file)
@@ -27,5 +27,5 @@ echo "Ok\n";
 Warning: curl_exec(): CURLOPT_STDERR resource has gone away, resetting to stderr in %s on line %d
 %A
 Hello World!
-Hello World!* Closing connection 0
+Hello World!%A
 Ok