Skip to content

Commit

Permalink
Fix exif test failure
Browse files Browse the repository at this point in the history
There are two slightly different error messages for invalid pointers, so
make the pattern slightly less strict to account for both.
  • Loading branch information
nikic committed Aug 14, 2012
1 parent da14cdd commit e1c610f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/exif/tests/bug60150.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e1c610f

Please sign in to comment.