From: Greg Beaver Date: Mon, 13 Oct 2008 04:50:45 +0000 (+0000) Subject: MFB: increase code coverage X-Git-Tag: BEFORE_HEAD_NS_CHANGE~234 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1838c130c955724fe41cf3b0cbd9d6d35f361d6e;p=php MFB: increase code coverage --- diff --git a/ext/phar/tests/stat.phpt b/ext/phar/tests/stat.phpt index 020fc24f86..184aa6d2ec 100644 --- a/ext/phar/tests/stat.phpt +++ b/ext/phar/tests/stat.phpt @@ -14,7 +14,7 @@ $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.tar'; $fname3 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar'; $a = new Phar($fname); -$a['index.php'] = ''; $a['dir/file1.txt'] = 'hi'; $a['dir/file2.txt'] = 'hi2'; $a['dir/file3.txt'] = 'hi3'; $a->setStub(' @@ -212,4 +216,10 @@ is_file bool(true) is_link bool(false) +not found +bool(false) +not found 2 + +Warning: fileperms(): stat failed for not/found in phar://%sstat.phar.php/my/index.php on line %d +bool(false) ===DONE=== \ No newline at end of file