1--TEST--
2GH-1330: Allow non-ambiguous shortened longopts
3--FILE--
4<?php
5
6$_SERVER['argv'][1] = '--deb';
7$_SERVER['argv'][2] = '--config';
8$_SERVER['argv'][3] = __DIR__ . '/1330/phpunit1330.xml';
9$_SERVER['argv'][4] = 'Issue1330Test';
10$_SERVER['argv'][5] = __DIR__ . '/1330/Issue1330Test.php';
11
12require __DIR__ . '/../../bootstrap.php';
13PHPUnit_TextUI_Command::main();
14?>
15--EXPECTF--
16PHPUnit %s by Sebastian Bergmann and contributors.
17
18
19Starting test 'Issue1330Test::testTrue'.
20.                                                                   1 / 1 (100%)
21
22Time: %s, Memory: %s
23
24OK (1 test, 1 assertion)
25