summaryrefslogtreecommitdiff
path: root/ext/fileinfo/tests
diff options
context:
space:
mode:
authorJoshua Westerheide <dev@jdoubleu.de>2019-06-29 11:59:08 +0200
committerAnatol Belski <ab@php.net>2019-06-29 13:29:53 +0200
commit6cdeedb8de469388e378bd2292b89b725905fd18 (patch)
tree2362979f3aeeb41a60fa1e698dd1512f2fd73478 /ext/fileinfo/tests
parent0a31836bed305b6ef9039834f9519bb7d6627dee (diff)
downloadphp-git-6cdeedb8de469388e378bd2292b89b725905fd18.tar.gz
Add tests from fix #78183 from PHP-7.2
Diffstat (limited to 'ext/fileinfo/tests')
-rw-r--r--ext/fileinfo/tests/finfo_file_002.phpt4
-rw-r--r--ext/fileinfo/tests/resources/test.tgabin0 -> 19 bytes
2 files changed, 3 insertions, 1 deletions
diff --git a/ext/fileinfo/tests/finfo_file_002.phpt b/ext/fileinfo/tests/finfo_file_002.phpt
index 814a8065bc..a747b8bfcf 100644
--- a/ext/fileinfo/tests/finfo_file_002.phpt
+++ b/ext/fileinfo/tests/finfo_file_002.phpt
@@ -36,7 +36,9 @@ array(%d) {
["%s/resources/test.png"]=>
string(9) "image/png"
["%s/resources/test.ppt"]=>
- string(29) "application/vnd.ms-powerpoint"
+ string(29) "application/vnd.ms-powerpoint",
+ ["%s/resources/test.tga"]=>
+ string(11) "image/x-tga"
["%s/resources/test.webm"]=>
string(10) "video/webm"
}
diff --git a/ext/fileinfo/tests/resources/test.tga b/ext/fileinfo/tests/resources/test.tga
new file mode 100644
index 0000000000..e454f69ccc
--- /dev/null
+++ b/ext/fileinfo/tests/resources/test.tga
Binary files differ