Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
--TEST--
2
regression test for bug #3590
3
--FILE--
4
<?php
5
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
6
$datasrc = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'bug4623.conf';
7
 
8
$root =& $config->parseConfig($datasrc, "Apache");
9
if (PEAR::isError($root)) {
10
    die('Error while reading configuration: ' . $root->getMessage() . "\r\n");
11
}
12
 
13
$exp = $root->toString('Apache');
14
 
15
if ($phpt->assertNoErrors('problem!')) {
16
   $phpt->assertEquals($root->toString('Apache'), $exp, 'uh oh');
17
}
18
 
19
echo 'tests done';
20
?>
21
--EXPECT--
22
tests done