Annotation of embedaddon/php/ext/phar/tests/bug54395.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #54395 (Phar::mount() crashes when calling with wrong parameters)
! 3: --SKIPIF--
! 4: <?php if (!extension_loaded("phar")) die("skip"); ?>
! 5: --FILE--
! 6: <?php
! 7:
! 8: try {
! 9: phar::mount(1,1);
! 10: } catch (Exception $e) {
! 11: var_dump($e->getMessage());
! 12: }
! 13:
! 14: ?>
! 15: --EXPECTF--
! 16: string(25) "Mounting of 1 to 1 failed"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>