summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-05-17 03:59:23 +0200
committerPeter Kokot <peterkokot@gmail.com>2019-05-17 03:59:23 +0200
commitbd1bd38a3579a6507551a2cfa34713cdc92cf081 (patch)
tree3bf8913183d19dfbef8ef75ad3bed48bfae06fda
parent16e910ccfd8c7659973f0a8a13744d412e30496f (diff)
downloadphp-git-bd1bd38a3579a6507551a2cfa34713cdc92cf081.tar.gz
Use *.data for fixture files
-rw-r--r--ext/zlib/tests/bug73944.phpt4
-rw-r--r--ext/zlib/tests/bug73944_fixture_1.data (renamed from ext/zlib/tests/bug73944_fixture1)bin14306 -> 14306 bytes
-rw-r--r--ext/zlib/tests/bug73944_fixture_2.data (renamed from ext/zlib/tests/bug73944_fixture2)bin26535 -> 26535 bytes
3 files changed, 2 insertions, 2 deletions
diff --git a/ext/zlib/tests/bug73944.phpt b/ext/zlib/tests/bug73944.phpt
index 61be632b5c..b23a9bafd3 100644
--- a/ext/zlib/tests/bug73944.phpt
+++ b/ext/zlib/tests/bug73944.phpt
@@ -6,11 +6,11 @@ Bug #73944: Dictionary option of intflate_init() does not work
<?php
$in = inflate_init(ZLIB_ENCODING_RAW, array('dictionary' => str_repeat("\00", 32768)));
-$a = inflate_add($in, file_get_contents(__DIR__.'/bug73944_fixture1'));
+$a = inflate_add($in, file_get_contents(__DIR__.'/bug73944_fixture_1.data'));
echo '1 block: '.strlen($a).PHP_EOL;
$in = inflate_init(ZLIB_ENCODING_RAW, array('dictionary' => $a));
-$b = inflate_add($in, file_get_contents(__DIR__.'/bug73944_fixture2'));
+$b = inflate_add($in, file_get_contents(__DIR__.'/bug73944_fixture_2.data'));
echo '2 block: '.($b === false ? 'failed' : strlen($b)).PHP_EOL;
?>
diff --git a/ext/zlib/tests/bug73944_fixture1 b/ext/zlib/tests/bug73944_fixture_1.data
index badc516288..badc516288 100644
--- a/ext/zlib/tests/bug73944_fixture1
+++ b/ext/zlib/tests/bug73944_fixture_1.data
Binary files differ
diff --git a/ext/zlib/tests/bug73944_fixture2 b/ext/zlib/tests/bug73944_fixture_2.data
index 1a9abd6aee..1a9abd6aee 100644
--- a/ext/zlib/tests/bug73944_fixture2
+++ b/ext/zlib/tests/bug73944_fixture_2.data
Binary files differ