From 1838c130c955724fe41cf3b0cbd9d6d35f361d6e Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Mon, 13 Oct 2008 04:50:45 +0000 Subject: [PATCH] MFB: increase code coverage --- ext/phar/tests/stat.phpt | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) 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 -- 2.50.1