]> granicus.if.org Git - php/commitdiff
Add tests from fix #78183 from PHP-7.2
authorJoshua Westerheide <dev@jdoubleu.de>
Sat, 29 Jun 2019 09:59:08 +0000 (11:59 +0200)
committerAnatol Belski <ab@php.net>
Sat, 29 Jun 2019 11:29:53 +0000 (13:29 +0200)
ext/fileinfo/tests/finfo_file_002.phpt
ext/fileinfo/tests/resources/test.tga [new file with mode: 0644]

index 814a8065bc6687c06654e6d6f3f7939591e69533..a747b8bfcf16d5afcc3042b4d48df5269f0e17c8 100644 (file)
@@ -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 (file)
index 0000000..e454f69
Binary files /dev/null and b/ext/fileinfo/tests/resources/test.tga differ