xref: /PHP-7.0/ext/phar/tests/zip/corrupt_010.phpt (revision 95a84999)
1--TEST--
2Phar: unable to process zip (zip spanning multiple archives)
3--SKIPIF--
4<?php if (!extension_loaded("phar")) die("skip"); ?>
5<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?>
6--FILE--
7<?php
8try {
9	new PharData(dirname(__FILE__) . '/files/disknumber.zip');
10} catch (Exception $e) {
11	echo $e->getMessage() . "\n";
12}
13?>
14===DONE===
15--EXPECTF--
16phar error: split archives spanning multiple zips cannot be processed in zip-based phar "%sdisknumber.zip"
17===DONE===
18