php-src/ext/exif/tests
Peter Kokot b746e69887 Sync leading and final newlines in *.phpt sections
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-15 04:32:30 +02:00
..
bug50660 Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug72735 Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug72819 Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug73115 Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug74428 Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug34704-mb.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug34704.jpg
bug34704.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug34704私はガラスを食べられます.jpg Fixed the UTF-8 and long path support in the streams on Windows. 2016-06-20 12:45:39 +02:00
bug48378.jpeg - MFH: #48378, exif_read_data() segfaults on certain corrupted .jpeg files 2009-05-28 13:48:32 +00:00
bug48378.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
bug50845.jpg Fix #50845: exif_process_IFD_TAG: Use the right offset if reading from stream 2016-06-14 10:48:08 -07:00
bug50845.phpt Fix #50845: exif_process_IFD_TAG: Use the right offset if reading from stream 2016-06-14 10:48:08 -07:00
bug54002_1.jpeg - fix bug #54002, exif_read_data crashes on crafted tags 2011-02-14 09:08:44 +00:00
bug54002_2.jpeg - fix bug #54002, exif_read_data crashes on crafted tags 2011-02-14 09:08:44 +00:00
bug54002.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
bug60150.jpg fix bug #60150 for 5.3 too 2011-11-19 04:49:36 +00:00
bug60150.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug62523_1.jpg Reduce EXIF test image sizes, there is still one large image left that I will look into reducing if possible (bug50845.jpg) 2017-07-30 21:59:55 +02:00
bug62523_1.phpt Reduce EXIF test image sizes, there is still one large image left that I will look into reducing if possible (bug50845.jpg) 2017-07-30 21:59:55 +02:00
bug62523_2.jpg Reduce EXIF test image sizes, there is still one large image left that I will look into reducing if possible (bug50845.jpg) 2017-07-30 21:59:55 +02:00
bug62523_2.phpt Reduce EXIF test image sizes, there is still one large image left that I will look into reducing if possible (bug50845.jpg) 2017-07-30 21:59:55 +02:00
bug62523_3.jpg add tests for bug #62523 2013-10-21 22:15:09 +02:00
bug62523_3.phpt Fix tests: don't count non-countables 2016-11-13 18:16:17 +01:00
bug64739.jpg Test case for bug #64739 2017-07-21 21:55:11 +02:00
bug64739.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
bug68113-mb.phpt Fixed the UTF-8 and long path support in the streams on Windows. 2016-06-20 12:45:39 +02:00
bug68113.jpg Fix bug #68113 (Heap corruption in exif_thumbnail()) 2014-10-14 10:44:00 -07:00
bug68113.phpt fix dir separator in test 2014-11-24 16:14:17 +01:00
bug68113私はガラスを食べられます.jpg Fixed the UTF-8 and long path support in the streams on Windows. 2016-06-20 12:45:39 +02:00
bug68547.jpg Fixed bug #68547 (Exif Header component value check error) (Patch by sjh21a at gmail dot com) 2016-08-05 10:03:14 +02:00
bug68547.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
bug68799.jpg Fix bug #68799: Free called on unitialized pointer 2015-01-11 00:51:05 -08:00
bug68799.phpt Fix tests, although I was not able to reproduce these failures on an x86 build/Windows, this should hopefully make travis happy 2016-08-07 04:22:27 +02:00
bug71534.phpt Fixed bug #71534 (Type confusion in exif_read_data() leading to heap overflow in debug mode) 2016-08-07 05:35:46 +02:00
bug71534.tiff Fixed bug #71534 (Type confusion in exif_read_data() leading to heap overflow in debug mode) 2016-08-07 05:35:46 +02:00
bug72094_1.jpg Fix bug #72094 - Out of bounds heap read access in exif header processing 2016-04-24 19:33:52 -07:00
bug72094_2.jpg Fix bug #72094 - Out of bounds heap read access in exif header processing 2016-04-24 19:33:52 -07:00
bug72094_3.jpg Fix bug #72094 - Out of bounds heap read access in exif header processing 2016-04-24 19:33:52 -07:00
bug72094_4.jpg Fix bug #72094 - Out of bounds heap read access in exif header processing 2016-04-24 19:33:52 -07:00
bug72094.phpt Fix tests, although I was not able to reproduce these failures on an x86 build/Windows, this should hopefully make travis happy 2016-08-07 04:22:27 +02:00
bug72603.jpeg Fix bug #72603: Out of bound read in exif_process_IFD_in_MAKERNOTE 2016-07-17 16:34:21 -07:00
bug72603.phpt fix test portability and expectation 2016-07-19 14:49:24 +02:00
bug72618.jpg Fix bug #72618: NULL Pointer Dereference in exif_process_user_comment 2016-07-18 23:21:51 -07:00
bug72618.phpt fix test portability and expectation 2016-07-19 14:49:24 +02:00
bug72627.phpt Fixed bug #72627: Memory Leakage In exif_process_IFD_in_TIFF 2016-08-16 22:55:40 -07:00
bug72627.tiff Fixed bug #72627: Memory Leakage In exif_process_IFD_in_TIFF 2016-08-16 22:55:40 -07:00
bug73737.phpt Fix overrun in exif's "Illegal components" error message. 2017-01-04 17:44:00 -08:00
bug73737.tiff Fix bug #73737 FPE when parsing a tag format 2016-12-31 19:31:49 -08:00
bug76130_1.jpg Fix #76130: Heap Buffer Overflow (READ: 1786) in exif_iif_add_value 2018-04-22 20:15:02 -07:00
bug76130_2.jpg Fix #76130: Heap Buffer Overflow (READ: 1786) in exif_iif_add_value 2018-04-22 20:15:02 -07:00
bug76130.phpt Fix #76130: Heap Buffer Overflow (READ: 1786) in exif_iif_add_value 2018-04-22 20:15:02 -07:00
bug76164.phpt Convert CRLF line endings to LF 2018-10-13 11:23:20 +02:00
bug76409.phpt Fix test portability 2018-06-09 20:57:17 +02:00
bug76423.jpg Fix bug #76423 - Int Overflow lead to Heap OverFlow in exif_thumbnail_extract of exif.c 2018-07-16 14:16:58 -07:00
bug76423.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
bug76557.jpg Fix bug #76557: heap-buffer-overflow (READ of size 48) while reading exif data 2018-07-16 14:17:51 -07:00
bug76557.phpt Fix test 2018-07-16 18:52:01 -07:00
exif000.phpt
exif001.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
exif002.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
exif003.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
exif004.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
exif005.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
exif007.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif008.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif009.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif010.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif011.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif012.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif013.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif014.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif015.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif016.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif017.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif018.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif020.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif021.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif022.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif023.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif024.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif025.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif026.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif027.phpt Cleanup some tests - remove unnecessary sections 2018-02-04 02:21:40 -08:00
exif_encoding_crash.jpg Merged PR #293 (Exif crash on unknown encoding was fixed) 2013-10-21 21:48:27 +02:00
exif_encoding_crash.phpt Merged PR #293 (Exif crash on unknown encoding was fixed) 2013-10-21 21:48:27 +02:00
exif_imagetype_basic-mb.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
exif_imagetype_basic.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
exif_imagetype_error.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
exif_imagetype_variation1.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
exif_read_data_0.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
exif_read_data_streams_seek.phpt Fix test title 2017-07-14 02:02:25 +02:00
exif_read_data_streams.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
exif_read_exif_data_basic-mb.phpt Fix test 2017-07-08 18:01:51 +02:00
exif_read_exif_data_basic.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
exif_tagname_basic.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
exif_tagname_error.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
exif_tagname_variation1-64bit.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
exif_tagname_variation1.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
exif_thumbnail_streams.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
image007.jpg Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image008.jpg Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image009.jpg Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image010.jpg Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image011.jpg Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image012.jpg Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image013.jpg Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image014.jpg Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image015.jpg Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image016.tiff Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image017.tiff Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image018.tiff Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image020.tiff Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image021.tiff Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image022.tiff Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image023.tiff Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image024.jpg Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image025.jpg Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image026.tiff Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
image027.tiff Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
redhat-bug1362571.jpg Fixed Redhat bug #1362571 (PHP not returning full results for exif_read_data function) 2016-08-03 11:59:30 +02:00
redhat-bug1362571.phpt Fixed Redhat bug #1362571 (PHP not returning full results for exif_read_data function) 2016-08-03 11:59:30 +02:00
sony.jpg Reduce EXIF test image sizes, there is still one large image left that I will look into reducing if possible (bug50845.jpg) 2017-07-30 21:59:55 +02:00
sony.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
test1.jpg
test2.jpg
test2私はガラスを食べられます.jpg Fixed the UTF-8 and long path support in the streams on Windows. 2016-06-20 12:45:39 +02:00
test3.jpg
test4.jpg
test5.jpg
test6.jpg