2
GH-1348: STDOUT/STDERR IO streams should exist in process isolation
5
if (defined('HHVM_VERSION'))
6
print "skip: PHP runtime required";
11
$_SERVER['argv'][1] = '--no-configuration';
12
$_SERVER['argv'][] = '--strict';
13
$_SERVER['argv'][] = '--process-isolation';
14
$_SERVER['argv'][] = 'Issue1348Test';
15
$_SERVER['argv'][] = __DIR__ . '/1348/Issue1348Test.php';
17
require __DIR__ . '/../../bootstrap.php';
18
PHPUnit_TextUI_Command::main();
21
PHPUnit %s by Sebastian Bergmann.
24
STDOUT does not break test result
27
Time: %s, Memory: %sMb
31
1) Issue1348Test::testSTDERR
32
PHPUnit_Framework_Exception: STDERR works as usual.
35
Tests: 2, Assertions: 1, Errors: 1.
b'\\ No newline at end of file'