~tcuthbert/wordpress/openstack-objectstorage

« back to all changes in this revision

Viewing changes to vendor/phpunit/phpunit/tests/Regression/GitHub/797.phpt

  • Committer: Jacek Nykis
  • Date: 2015-02-11 15:35:31 UTC
  • Revision ID: jacek.nykis@canonical.com-20150211153531-hmy6zi0ov2qfkl0b
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--TEST--
 
2
GH-797: Disabled $preserveGlobalState does not load bootstrap.php.
 
3
--FILE--
 
4
<?php
 
5
 
 
6
$_SERVER['argv'][1] = '--no-configuration';
 
7
$_SERVER['argv'][] = '--process-isolation';
 
8
$_SERVER['argv'][] = '--bootstrap';
 
9
$_SERVER['argv'][] = __DIR__ . '/797/bootstrap797.php';
 
10
$_SERVER['argv'][] = __DIR__ . '/797/Issue797Test.php';
 
11
 
 
12
require __DIR__ . '/../../bootstrap.php';
 
13
PHPUnit_TextUI_Command::main();
 
14
?>
 
15
--EXPECTF--
 
16
PHPUnit %s by Sebastian Bergmann.
 
17
 
 
18
.
 
19
 
 
20
Time: %s, Memory: %sMb
 
21
 
 
22
OK (1 test, 1 assertion)
 
 
b'\\ No newline at end of file'