1--TEST--
2GH-1216: PHPUnit bootstrap must take globals vars even when the file is specified in command line
3--FILE--
4<?php
5
6$_SERVER['argv'][1] = '--configuration';
7$_SERVER['argv'][2] = __DIR__ . '/1216/phpunit1216.xml';
8$_SERVER['argv'][3] = '--debug';
9$_SERVER['argv'][4] = '--bootstrap';
10$_SERVER['argv'][5] = __DIR__ . '/1216/bootstrap1216.php';
11$_SERVER['argv'][6] = __DIR__ . '/1216/Issue1216Test.php';
12
13require __DIR__ . '/../../bootstrap.php';
14PHPUnit_TextUI_Command::main();
15?>
16--EXPECTF--
17PHPUnit %s by Sebastian Bergmann and contributors.
18
19
20Starting test 'Issue1216Test::testConfigAvailableInBootstrap'.
21.                                                                   1 / 1 (100%)
22
23Time: %s, Memory: %s
24
25OK (1 test, 1 assertion)
26