summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-08-01 12:51:20 +0200
committerAnatol Belski <ab@php.net>2017-08-01 12:51:20 +0200
commitb8da481a2a08ee65a2190ca1e1fc6e89e0ace457 (patch)
tree2b5a84c693718cbf4fdc2cdf362a6301d3a7fe4c /ext
parent2164e3a0b89f5eb557cbdbda5082d214b83d9d28 (diff)
parentd9d152b895884f8de73aa0b1158c83f118b82449 (diff)
downloadphp-git-b8da481a2a08ee65a2190ca1e1fc6e89e0ace457.tar.gz
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Test to cover the change in ce1a0d97
Diffstat (limited to 'ext')
-rw-r--r--ext/exif/tests/exif_read_data_0.phpt14
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/exif/tests/exif_read_data_0.phpt b/ext/exif/tests/exif_read_data_0.phpt
new file mode 100644
index 0000000000..3208046b03
--- /dev/null
+++ b/ext/exif/tests/exif_read_data_0.phpt
@@ -0,0 +1,14 @@
+--TEST--
+Test exif_read_data on unavailable file
+--SKIPIF--
+<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
+--FILE--
+<?php
+$infile = dirname(__FILE__).'/bug73115.JPG';
+exif_read_data($infile);
+?>
+===DONE===
+--EXPECTF--
+Warning: exif_read_data(): Unable to open file in %sexif_read_data_0.php on line %d
+===DONE===
+