1--TEST-- 2Bug #69320 libmagic crash when running laravel tests 3--SKIPIF-- 4<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> 5--FILE-- 6<?php 7 8$fname = dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug69320.txt"; 9file_put_contents($fname, "foo"); 10var_dump(finfo_file(finfo_open(FILEINFO_MIME_TYPE), $fname)); 11 12?> 13--CLEAN-- 14<?php 15 $fname = dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug69320.txt"; 16 unlink($fname); 17?> 18--EXPECTF-- 19string(10) "text/plain" 20