summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2012-08-14 17:33:38 +0200
committerNikita Popov <nikic@php.net>2012-08-14 17:33:38 +0200
commite1c610fb44385cd2894be1957cc32f7cccc4b476 (patch)
treefa6ff36d1c2ac9ac191bdb7bc8513ebbc456aea9
parentda14cdd6f317c20a338a25ffd0ddaec0155cff3e (diff)
downloadphp-git-e1c610fb44385cd2894be1957cc32f7cccc4b476.tar.gz
Fix exif test failure
There are two slightly different error messages for invalid pointers, so make the pattern slightly less strict to account for both.
-rwxr-xr-xext/exif/tests/bug60150.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/exif/tests/bug60150.phpt b/ext/exif/tests/bug60150.phpt
index 63cf0a9daf..be01998fd8 100755
--- a/ext/exif/tests/bug60150.phpt
+++ b/ext/exif/tests/bug60150.phpt
@@ -12,7 +12,7 @@ var_dump(exif_read_data($infile));
?>
===DONE===
--EXPECTF--
-Warning: exif_read_data(bug60150.jpg): Process tag(x9003=DateTimeOri): Illegal pointer offset(x%x + x%x = x%x > x%x) in %s on line %d
+Warning: exif_read_data(bug60150.jpg): Process tag(x9003=DateTimeOri): Illegal pointer offset(%s) in %s on line %d
Warning: exif_read_data(bug60150.jpg): Error reading from file: got=x%x(=%d) != itemlen-%d=x%x(=%d) in %s on line %d