From: Greg Beaver Date: Sun, 11 May 2008 23:07:12 +0000 (+0000) Subject: increase code coverage X-Git-Tag: RELEASE_2_0_0b1~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3bab5022ab0fb2e3e9f8a216c32631b0f600046;p=php increase code coverage --- diff --git a/ext/phar/tests/tar/files/subdirlink.tar b/ext/phar/tests/tar/files/subdirlink.tar new file mode 100644 index 0000000000..5463a4942d Binary files /dev/null and b/ext/phar/tests/tar/files/subdirlink.tar differ diff --git a/ext/phar/tests/tar/links5.phpt b/ext/phar/tests/tar/links5.phpt new file mode 100644 index 0000000000..262d41d841 --- /dev/null +++ b/ext/phar/tests/tar/links5.phpt @@ -0,0 +1,19 @@ +--TEST-- +Phar: tar with relative link to subdirectory file from subdirectory file +--SKIPIF-- + +--FILE-- +getMessage() . "\n"; +} +echo $p['hi/test.txt']->getContent(); +echo $p['hi/link.txt']->getContent(); +?> +===DONE=== +--EXPECT-- +hi +hi +===DONE===