r14931 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14930‎ | r14931 | r14932 >
Date:09:59, 23 June 2006
Author:tstarling
Status:old
Tags:
Comment:
commandLine.inc no longer changes the current directory
Modified paths:
  • /branches/REL1_6/phase3/maintenance/parserTests.php (modified) (history)

Diff [purge]

Index: branches/REL1_6/phase3/maintenance/parserTests.php
@@ -49,9 +49,7 @@
5050 $wgTitle = Title::newFromText( 'Parser test script do not use' );
5151 $tester =& new ParserTest();
5252
53 -# Note: the command line setup changes the current working directory
54 -# to the parent, which is why we have to put the subdir here:
55 -$ok = $tester->runTestsFromFile( 'maintenance/parserTests.txt' );
 53+$ok = $tester->runTestsFromFile( "$IP/maintenance/parserTests.txt" );
5654
5755 exit ($ok ? 0 : -1);
5856 ?>