26 lines
607 B
PHP
26 lines
607 B
PHP
--TEST--
|
|
phpunit FatalTest --process-isolation ../_files/FatalTest.php
|
|
--FILE--
|
|
<?php
|
|
$_SERVER['argv'][1] = '--no-configuration';
|
|
$_SERVER['argv'][2] = '--process-isolation';
|
|
$_SERVER['argv'][3] = 'FatalTest';
|
|
$_SERVER['argv'][4] = __DIR__ . '/../_files/FatalTest.php';
|
|
|
|
require __DIR__ . '/../bootstrap.php';
|
|
PHPUnit_TextUI_Command::main();
|
|
--EXPECTF--
|
|
PHPUnit %s by Sebastian Bergmann and contributors.
|
|
|
|
E 1 / 1 (100%)
|
|
|
|
Time: %s, Memory: %s
|
|
|
|
There was 1 error:
|
|
|
|
1) FatalTest::testFatalError
|
|
%s
|
|
|
|
ERRORS!
|
|
Tests: 1, Assertions: 0, Errors: 1.
|