From: Ævar Arnfjörð Bjarmason Date: Wed, 8 Jul 2009 19:26:15 +0000 (+0000) Subject: Make this error more understandable to someone who runs this script expecting that... X-Git-Tag: 1.31.0-rc.0~41033 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=1c16ab1b9ef3291e2ac2d573320a0dfa1a323885;p=lhc%2Fweb%2Fwiklou.git Make this error more understandable to someone who runs this script expecting that it has a working getopt implementation --- diff --git a/maintenance/parserTests.inc b/maintenance/parserTests.inc index dfd0e4cdec..214e7fed28 100644 --- a/maintenance/parserTests.inc +++ b/maintenance/parserTests.inc @@ -281,7 +281,7 @@ class ParserTest { private function runFile( $filename ) { $infile = fopen( $filename, 'rt' ); if( !$infile ) { - wfDie( "Couldn't open $filename\n" ); + wfDie( "Couldn't open file '$filename'\n" ); } else { global $IP; $relative = wfRelativePath( $filename, $IP );