nlopess Fri Feb 8 16:47:20 2008 UTC
Modified files:
/php-src run-tests.php
Log:
fix ===DONE=== with windows EOLs
http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.341&r2=1.342&diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.341 php-src/run-tests.php:1.342
--- php-src/run-tests.php:1.341 Tue Jan 15 13:03:22 2008
+++ php-src/run-tests.php Fri Feb 8 16:47:20 2008
@@ -24,7 +24,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: run-tests.php,v 1.341 2008/01/15 13:03:22 helly Exp $ */
+/* $Id: run-tests.php,v 1.342 2008/02/08 16:47:20 nlopess Exp $ */
/* Sanity check to ensure that pcre extension needed by this script is
available.
* In the event it is not, print a nice error message indicating that this
script will
@@ -447,7 +447,7 @@
$html_output = is_resource($html_file);
break;
case '--version':
- echo '$Revision: 1.341 $'."\n";
+ echo '$Revision: 1.342 $'."\n";
exit(1);
default:
echo "Illegal switch specified!\n";
@@ -1099,7 +1099,7 @@
}
// End of actual test?
- if ($secfile && preg_match('/^===DONE===$/', $line)) {
+ if ($secfile && preg_match('/^===DONE===\s*$/', $line)) {
$secdone = true;
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php