com php-src: Fix tests, although I was not able to reproduce these failures on an x86 build/Windows, this should hopefully make travis happy:
ext/exif/tests/bug68547.phpt ext/exif/tests/bug68799.phpt ext/exif/tests/bug72094.phpt
| From: | Kalle Sommer Nielsen | Date: | Sun, 07 Aug 2016 02:22:27 +0000 |
| Subject: | com php-src: Fix tests, although I was not able to reproduce these failures on an x86 build/Windows, this should hopefully make travis happy: ext/exif/tests/bug68547.phpt ext/exif/tests/bug68799.phpt ext/exif/tests/bug72094.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93658@lists.php.net to get a copy of this message | ||
Commit: 8ac784ff13940ba04e30896a5269be25f103edaa
Author: Kalle Sommer Nielsen <kalle@php.net> Sun, 7 Aug 2016 04:22:27 +0200
Parents: 5f0be8a3a5251eb867a081cb23d81d9c39f0bfa6
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8ac784ff13940ba04e30896a5269be25f103edaa
Log:
Fix tests, although I was not able to reproduce these failures on an x86 build/Windows, this should
hopefully make travis happy
Changed paths:
M ext/exif/tests/bug68547.phpt
M ext/exif/tests/bug68799.phpt
M ext/exif/tests/bug72094.phpt
Diff:
diff --git a/ext/exif/tests/bug68547.phpt b/ext/exif/tests/bug68547.phpt
index 3773ebb..894c7680 100644
--- a/ext/exif/tests/bug68547.phpt
+++ b/ext/exif/tests/bug68547.phpt
@@ -8,5 +8,5 @@ exif_read_data(__DIR__ . DIRECTORY_SEPARATOR . 'bug68547.jpg');
?>
===DONE===
--EXPECTF--
-Warning: exif_read_data(bug68547.jpg): Process tag(x9C9E=Keywords ): Illegal components(0) in
%sbug68547.php on line %d
+Warning: exif_read_data(bug68547.jpg): Process tag(x9C9E=Keywords ): Illegal components(%d) in
%sbug68547.php on line %d
===DONE===
\ No newline at end of file
diff --git a/ext/exif/tests/bug68799..phpt b/ext/exif/tests/bug68799.phpt
index 1f10fcf..a246641 100644
--- a/ext/exif/tests/bug68799.phpt
+++ b/ext/exif/tests/bug68799.phpt
@@ -39,7 +39,7 @@ print_r(exif_read_data(__DIR__.'/bug68799.jpg'));
?>
--EXPECTF--
-Warning: exif_read_data(bug68799.jpg): Process tag(x9C9D=Author ): Illegal components(0) in %s
on line %d
+Warning: exif_read_data(bug68799.jpg): Process tag(x9C9D=Author ): Illegal components(%d) in %s
on line %d
Array
(
[FileName] => bug68799.jpg
diff --git a/ext/exif/tests/bug72094.phpt b/ext/exif/tests/bug72094.phpt
index ba7d291..486c373 100644
--- a/ext/exif/tests/bug72094.phpt
+++ b/ext/exif/tests/bug72094.phpt
@@ -47,7 +47,7 @@ Warning: exif_read_data(bug72094_3.jpg): Process tag(x3030=UndefinedTa): Illegal
Warning: exif_read_data(bug72094_3.jpg): Process tag(x3030=UndefinedTa): Illegal format code
0x3030, suppose BYTE in %s%ebug72094.php on line %d
-Warning: exif_read_data(bug72094_3.jpg): Process tag(x3030=UndefinedTa): Illegal components(0) in
%s%ebug72094.php on line %d
+Warning: exif_read_data(bug72094_3.jpg): Process tag(x3030=UndefinedTa): Illegal components(%d) in
%s%ebug72094.php on line %d
Warning: exif_read_data(bug72094_3.jpg): File structure corrupted in %s%ebug72094.php on line %d