com php-src: Use *.data for fixture files: ext/zlib/tests/bug73944.phpt ext/zlib/tests/bug73944_fixture1 ext/zlib/tests /bug73944_fixture2
ext/zlib/tests/bug739 44_fixture_1.data ext/zlib/tests/bug7394 4_fixture_2.data

From: Date: Fri, 17 May 2019 01:59:23 +0000
Subject: com php-src: Use *.data for fixture files: ext/zlib/tests/bug73944.phpt ext/zlib/tests/bug73944_fixture1 ext/zlib/tests /bug73944_fixture2
ext/zlib/tests/bug739 44_fixture_1.data ext/zlib/tests/bug7394 4_fixture_2.data
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-106221@lists.php.net to get a copy of this message
Commit: bd1bd38a3579a6507551a2cfa34713cdc92cf081 Author: Peter Kokot <peterkokot@gmail.com> Fri, 17 May 2019 03:59:23 +0200 Parents: 16e910ccfd8c7659973f0a8a13744d412e30496f Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bd1bd38a3579a6507551a2cfa34713cdc92cf081 Log: Use *.data for fixture files Changed paths: M ext/zlib/tests/bug73944.phpt D ext/zlib/tests/bug73944_fixture1 D ext/zlib/tests/bug73944_fixture2 A ext/zlib/tests/bug73944_fixture_1.data A ext/zlib/tests/bug73944_fixture_2.data Diff: diff --git a/ext/zlib/tests/bug73944.phpt b/ext/zlib/tests/bug73944.phpt index 61be632..b23a9ba 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_fixture1 deleted file mode 100644 index badc516..0000000 Binary files a/ext/zlib/tests/bug73944_fixture1 and /dev/null differ diff --git a/ext/zlib/tests/bug73944_fixture2 b/ext/zlib/tests/bug73944_fixture2 deleted file mode 100644 index 1a9abd6..0000000 Binary files a/ext/zlib/tests/bug73944_fixture2 and /dev/null differ diff --git a/ext/zlib/tests/bug73944_fixture_1.data b/ext/zlib/tests/bug73944_fixture_1.data new file mode 100644 index 0000000..badc516 Binary files /dev/null and b/ext/zlib/tests/bug73944_fixture_1.data differ diff --git a/ext/zlib/tests/bug73944_fixture_2.data b/ext/zlib/tests/bug73944_fixture_2.data new file mode 100644 index 0000000..1a9abd6 Binary files /dev/null and b/ext/zlib/tests/bug73944_fixture_2.data differ

« previous php.cvs (#106221) next »