1--TEST--
2https://github.com/sebastianbergmann/phpunit/issues/1348
3--SKIPIF--
4<?php
5if (defined('HHVM_VERSION')) {
6    print 'skip: PHP runtime required';
7}
8?>
9--FILE--
10<?php
11$_SERVER['argv'][1] = '--no-configuration';
12$_SERVER['argv'][]  = '--report-useless-tests';
13$_SERVER['argv'][]  = '--process-isolation';
14$_SERVER['argv'][]  = 'Issue1348Test';
15$_SERVER['argv'][]  = __DIR__ . '/1348/Issue1348Test.php';
16
17require __DIR__ . '/../../bootstrap.php';
18PHPUnit_TextUI_Command::main();
19--EXPECTF--
20PHPUnit %s by Sebastian Bergmann and contributors.
21
22.
23STDOUT does not break test result
24E                                                                  2 / 2 (100%)
25
26Time: %s, Memory: %s
27
28There was 1 error:
29
301) Issue1348Test::testSTDERR
31PHPUnit_Framework_Exception: STDERR works as usual.
32
33ERRORS!
34Tests: 2, Assertions: 1, Errors: 1.
35