summaryrefslogtreecommitdiff
path: root/ext/phar/tests/tar/frontcontroller17.phar.phpt
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2008-01-07 05:35:18 +0000
committerGreg Beaver <cellog@php.net>2008-01-07 05:35:18 +0000
commitff1c8b2beb1e2264f2e6b5fd1c3ed7135288ab91 (patch)
treecf013db1ba3fc9660ae763068088b4094625eeda /ext/phar/tests/tar/frontcontroller17.phar.phpt
parentc693572cf1c610e9b186ea8af22dadd6a4822092 (diff)
downloadphp-git-ff1c8b2beb1e2264f2e6b5fd1c3ed7135288ab91.tar.gz
new tests for tar format
Diffstat (limited to 'ext/phar/tests/tar/frontcontroller17.phar.phpt')
-rw-r--r--ext/phar/tests/tar/frontcontroller17.phar.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/phar/tests/tar/frontcontroller17.phar.phpt b/ext/phar/tests/tar/frontcontroller17.phar.phpt
new file mode 100644
index 0000000000..d8a7910e5f
--- /dev/null
+++ b/ext/phar/tests/tar/frontcontroller17.phar.phpt
@@ -0,0 +1,15 @@
+--TEST--
+Phar front controller mime type unknown tar-based
+--SKIPIF--
+<?php if (!extension_loaded("phar")) die("skip"); ?>
+--ENV--
+SCRIPT_NAME=/frontcontroller17.phar.php/fronk.gronk
+REQUEST_URI=/frontcontroller17.phar.php/fronk.gronk
+--FILE_EXTERNAL--
+frontcontroller8.phar.tar
+--EXPECTHEADERS--
+Content-type: application/octet-stream
+Content-length: 4
+--EXPECT--
+hio3
+