From: Peter Kokot Date: Sat, 11 May 2019 01:22:19 +0000 (+0200) Subject: Rename *.jpeg files to *.jpg X-Git-Tag: php-7.4.0alpha1~311 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a68e0767b349360344fcdfa0f853bf577c37adbd;p=php Rename *.jpeg files to *.jpg These file extensions are not part of these tests and *.jpg is more common. --- diff --git a/ext/exif/tests/bug48378.jpeg b/ext/exif/tests/bug48378.jpg similarity index 100% rename from ext/exif/tests/bug48378.jpeg rename to ext/exif/tests/bug48378.jpg diff --git a/ext/exif/tests/bug48378.phpt b/ext/exif/tests/bug48378.phpt index a830f226b1..a232bedf43 100644 --- a/ext/exif/tests/bug48378.phpt +++ b/ext/exif/tests/bug48378.phpt @@ -5,7 +5,7 @@ Bug #48378 (Infinite recursion due to corrupt JPEG) --FILE-- diff --git a/ext/exif/tests/bug54002.phpt b/ext/exif/tests/bug54002.phpt index 031afad072..f9608b9939 100644 --- a/ext/exif/tests/bug54002.phpt +++ b/ext/exif/tests/bug54002.phpt @@ -6,11 +6,11 @@ memory_limit=-1 --FILE-- --EXPECTF-- -Warning: exif_read_data(bug54002_1.jpeg): Process tag(x0205=UndefinedTa): Illegal byte_count in %sbug54002.php on line %d +Warning: exif_read_data(bug54002_1.jpg): Process tag(x0205=UndefinedTa): Illegal byte_count in %sbug54002.php on line %d -Warning: exif_read_data(bug54002_2.jpeg): Process tag(x0205=UndefinedTa): Illegal byte_count in %sbug54002.php on line %d +Warning: exif_read_data(bug54002_2.jpg): Process tag(x0205=UndefinedTa): Illegal byte_count in %sbug54002.php on line %d diff --git a/ext/exif/tests/bug54002_1.jpeg b/ext/exif/tests/bug54002_1.jpg similarity index 100% rename from ext/exif/tests/bug54002_1.jpeg rename to ext/exif/tests/bug54002_1.jpg diff --git a/ext/exif/tests/bug54002_2.jpeg b/ext/exif/tests/bug54002_2.jpg similarity index 100% rename from ext/exif/tests/bug54002_2.jpeg rename to ext/exif/tests/bug54002_2.jpg diff --git a/ext/exif/tests/bug72603.jpeg b/ext/exif/tests/bug72603.jpg similarity index 100% rename from ext/exif/tests/bug72603.jpeg rename to ext/exif/tests/bug72603.jpg diff --git a/ext/exif/tests/bug72603.phpt b/ext/exif/tests/bug72603.phpt index eacb6ee45a..1df7bdb055 100644 --- a/ext/exif/tests/bug72603.phpt +++ b/ext/exif/tests/bug72603.phpt @@ -4,8 +4,8 @@ Bug #72603 (Out of bound read in exif_process_IFD_in_MAKERNOTE) --FILE-- --EXPECTF-- -Warning: exif_read_data(bug72603.jpeg): %s in %s%ebug72603.php on line %d +Warning: exif_read_data(bug72603.jpg): %s in %s%ebug72603.php on line %d int(%d) diff --git a/ext/gd/tests/bug67325.jpeg b/ext/gd/tests/bug67325.jpg similarity index 100% rename from ext/gd/tests/bug67325.jpeg rename to ext/gd/tests/bug67325.jpg diff --git a/ext/gd/tests/bug67325.phpt b/ext/gd/tests/bug67325.phpt index 97072fe14e..8290946c0f 100644 --- a/ext/gd/tests/bug67325.phpt +++ b/ext/gd/tests/bug67325.phpt @@ -10,7 +10,7 @@ if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.3', '<=')) { ?> --FILE-- --FILE-- diff --git a/ext/gd/tests/conv_test.jpeg b/ext/gd/tests/conv_test.jpg similarity index 100% rename from ext/gd/tests/conv_test.jpeg rename to ext/gd/tests/conv_test.jpg diff --git "a/ext/gd/tests/conv_test\347\247\201\343\201\257\343\202\254\343\203\251\343\202\271\343\202\222\351\243\237\343\201\271\343\202\211\343\202\214\343\201\276\343\201\231.jpeg" "b/ext/gd/tests/conv_test\347\247\201\343\201\257\343\202\254\343\203\251\343\202\271\343\202\222\351\243\237\343\201\271\343\202\211\343\202\214\343\201\276\343\201\231.jpg" similarity index 100% rename from "ext/gd/tests/conv_test\347\247\201\343\201\257\343\202\254\343\203\251\343\202\271\343\202\222\351\243\237\343\201\271\343\202\211\343\202\214\343\201\276\343\201\231.jpeg" rename to "ext/gd/tests/conv_test\347\247\201\343\201\257\343\202\254\343\203\251\343\202\271\343\202\222\351\243\237\343\201\271\343\202\211\343\202\214\343\201\276\343\201\231.jpg" diff --git a/ext/gd/tests/gif.phpt b/ext/gd/tests/gif.phpt index 218ef50fa4..39ade092c2 100644 --- a/ext/gd/tests/gif.phpt +++ b/ext/gd/tests/gif.phpt @@ -122,7 +122,7 @@ if (check_box($i,$i,$i)) { } -$im = imagecreatefromjpeg($cwd . '/conv_test.jpeg'); +$im = imagecreatefromjpeg($cwd . '/conv_test.jpg'); imagefilledrectangle($im, 5,5, 10,10, 0xffffff); imagegif($im, $cwd . '/test_gif.gif'); imagegif($im, $cwd . '/test_gif_2.gif'); diff --git a/ext/gd/tests/jpeg2png.phpt b/ext/gd/tests/jpeg2png.phpt index 6e136514a8..8d14b33e3a 100644 --- a/ext/gd/tests/jpeg2png.phpt +++ b/ext/gd/tests/jpeg2png.phpt @@ -26,7 +26,7 @@ jpeg <--> png conversion test echo "\n"; echo "JPEG to PNG conversion: "; - echo imagepng(imagecreatefromjpeg($cwd . "/conv_test.jpeg"), $cwd . "/test_png.png") ? 'ok' : 'failed'; + echo imagepng(imagecreatefromjpeg($cwd . "/conv_test.jpg"), $cwd . "/test_png.png") ? 'ok' : 'failed'; echo "\n"; echo "Generated PNG to JPEG conversion: "; diff --git a/ext/gd/tests/jpg2gd-mb.phpt b/ext/gd/tests/jpg2gd-mb.phpt index 85959b4271..b7c0b98ab4 100644 --- a/ext/gd/tests/jpg2gd-mb.phpt +++ b/ext/gd/tests/jpg2gd-mb.phpt @@ -15,11 +15,11 @@ jpeg <--> gd1/gd2 conversion test $cwd = __DIR__; echo "JPEG to GD1 conversion: "; - echo imagegd(imagecreatefromjpeg($cwd . "/conv_test私はガラスを食べられます.jpeg"), $cwd . "/test私はガラスを食べられます.gd1") ? 'ok' : 'failed'; + echo imagegd(imagecreatefromjpeg($cwd . "/conv_test私はガラスを食べられます.jpg"), $cwd . "/test私はガラスを食べられます.gd1") ? 'ok' : 'failed'; echo "\n"; echo "JPEG to GD2 conversion: "; - echo imagegd2(imagecreatefromjpeg($cwd . "/conv_test私はガラスを食べられます.jpeg"), $cwd . "/test私はガラスを食べられます.gd2") ? 'ok' : 'failed'; + echo imagegd2(imagecreatefromjpeg($cwd . "/conv_test私はガラスを食べられます.jpg"), $cwd . "/test私はガラスを食べられます.gd2") ? 'ok' : 'failed'; echo "\n"; echo "GD1 to JPEG conversion: "; diff --git a/ext/gd/tests/jpg2gd.phpt b/ext/gd/tests/jpg2gd.phpt index 672a392df0..6ec714ef27 100644 --- a/ext/gd/tests/jpg2gd.phpt +++ b/ext/gd/tests/jpg2gd.phpt @@ -15,11 +15,11 @@ jpeg <--> gd1/gd2 conversion test $cwd = __DIR__; echo "JPEG to GD1 conversion: "; - echo imagegd(imagecreatefromjpeg($cwd . "/conv_test.jpeg"), $cwd . "/test_jpeg.gd1") ? 'ok' : 'failed'; + echo imagegd(imagecreatefromjpeg($cwd . "/conv_test.jpg"), $cwd . "/test_jpeg.gd1") ? 'ok' : 'failed'; echo "\n"; echo "JPEG to GD2 conversion: "; - echo imagegd2(imagecreatefromjpeg($cwd . "/conv_test.jpeg"), $cwd . "/test_jpeg.gd2") ? 'ok' : 'failed'; + echo imagegd2(imagecreatefromjpeg($cwd . "/conv_test.jpg"), $cwd . "/test_jpeg.gd2") ? 'ok' : 'failed'; echo "\n"; echo "GD1 to JPEG conversion: ";