mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 23:25:30 +02:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10206] Failed unicode.org downloads no longer terminate tests
This commit is contained in:
commit
697bc2696f
@ -298,12 +298,14 @@ class phpbb_utf_normalizer_test extends phpbb_test_case
|
||||
|
||||
if (!$fpr = fopen($url, 'rb'))
|
||||
{
|
||||
throw new RuntimeException("Failed to download $url");
|
||||
echo "Failed to download $url\n";
|
||||
return;
|
||||
}
|
||||
|
||||
if (!$fpw = fopen($target, 'wb'))
|
||||
{
|
||||
throw new RuntimeException("Failed to open $target for writing");
|
||||
echo "Failed to open $target for writing\n";
|
||||
return;
|
||||
}
|
||||
|
||||
$chunk = 32768;
|
||||
|
Loading…
x
Reference in New Issue
Block a user