[PHP-CVS] com php-src: Fix: 62067 Moved comments to FILE section: ext/libxml/tests/bug61367-read.phpt ext/libxml/tests/bug61367-write.phpt
Commit:cd8cf5f49584c9716863c9546ae37ec75380cafd Author:zoe slattery z...@php.net Sat, 19 May 2012 16:13:25 +0100 Parents: 3b3b3d92290f6cae2ef056fe727f2ffad168f203 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cd8cf5f49584c9716863c9546ae37ec75380cafd Log: Fix: 62067 Moved comments to FILE section Changed paths: M ext/libxml/tests/bug61367-read.phpt M ext/libxml/tests/bug61367-write.phpt Diff: diff --git a/ext/libxml/tests/bug61367-read.phpt b/ext/libxml/tests/bug61367-read.phpt index 3deecfc..94da3d8 100644 --- a/ext/libxml/tests/bug61367-read.phpt +++ b/ext/libxml/tests/bug61367-read.phpt @@ -4,11 +4,12 @@ Bug #61367: open_basedir bypass in libxml RSHUTDOWN: read test ?php if(!extension_loaded('dom')) echo 'skip'; ? --INI-- open_basedir=. -; Suppress spurious Trying to get property of non-object notices error_reporting=E_ALL ~E_NOTICE --FILE-- ?php - +/* + * Note: Using error_reporting=E_ALL ~E_NOTICE to supress Trying to get property of non-object notices. + */ class StreamExploiter { public function stream_close ( ) { $doc = new DOMDocument; diff --git a/ext/libxml/tests/bug61367-write.phpt b/ext/libxml/tests/bug61367-write.phpt index aeed688..e18b071 100644 --- a/ext/libxml/tests/bug61367-write.phpt +++ b/ext/libxml/tests/bug61367-write.phpt @@ -4,8 +4,6 @@ Bug #61367: open_basedir bypass in libxml RSHUTDOWN: write test ?php if(!extension_loaded('dom')) echo 'skip'; ? --INI-- open_basedir=. -; Suppress spurious Trying to get property of non-object notices -error_reporting=E_ALL ~E_NOTICE --FILE-- ?php -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] com php-src: Fix: 62067 Moved comments to FILE section: ext/libxml/tests/bug61367-read.phpt ext/libxml/tests/bug61367-write.phpt
Commit:867447f4202f845654eb43e39a825b0efb812d36 Author:zoe slattery z...@php.net Sat, 19 May 2012 16:13:25 +0100 Parents: c9331a3ef27018a93ce17d0ed87bce3c689e8eec Branches: PHP-5.4 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=867447f4202f845654eb43e39a825b0efb812d36 Log: Fix: 62067 Moved comments to FILE section Changed paths: M ext/libxml/tests/bug61367-read.phpt M ext/libxml/tests/bug61367-write.phpt Diff: diff --git a/ext/libxml/tests/bug61367-read.phpt b/ext/libxml/tests/bug61367-read.phpt index 3deecfc..94da3d8 100644 --- a/ext/libxml/tests/bug61367-read.phpt +++ b/ext/libxml/tests/bug61367-read.phpt @@ -4,11 +4,12 @@ Bug #61367: open_basedir bypass in libxml RSHUTDOWN: read test ?php if(!extension_loaded('dom')) echo 'skip'; ? --INI-- open_basedir=. -; Suppress spurious Trying to get property of non-object notices error_reporting=E_ALL ~E_NOTICE --FILE-- ?php - +/* + * Note: Using error_reporting=E_ALL ~E_NOTICE to supress Trying to get property of non-object notices. + */ class StreamExploiter { public function stream_close ( ) { $doc = new DOMDocument; diff --git a/ext/libxml/tests/bug61367-write.phpt b/ext/libxml/tests/bug61367-write.phpt index aeed688..e18b071 100644 --- a/ext/libxml/tests/bug61367-write.phpt +++ b/ext/libxml/tests/bug61367-write.phpt @@ -4,8 +4,6 @@ Bug #61367: open_basedir bypass in libxml RSHUTDOWN: write test ?php if(!extension_loaded('dom')) echo 'skip'; ? --INI-- open_basedir=. -; Suppress spurious Trying to get property of non-object notices -error_reporting=E_ALL ~E_NOTICE --FILE-- ?php -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] com php-src: Fix: 62067 Moved comments to FILE section: ext/libxml/tests/bug61367-read.phpt ext/libxml/tests/bug61367-write.phpt
Commit:778d69ddfe25fae5476e66b6b2ce3b0b8ade68bb Author:zoe slattery z...@php.net Sat, 19 May 2012 16:13:25 +0100 Parents: 79d52503a40e2efba4f27514373eb6cc7273d4ae Branches: PHP-5.3 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=778d69ddfe25fae5476e66b6b2ce3b0b8ade68bb Log: Fix: 62067 Moved comments to FILE section Changed paths: M ext/libxml/tests/bug61367-read.phpt M ext/libxml/tests/bug61367-write.phpt Diff: diff --git a/ext/libxml/tests/bug61367-read.phpt b/ext/libxml/tests/bug61367-read.phpt index 3deecfc..94da3d8 100644 --- a/ext/libxml/tests/bug61367-read.phpt +++ b/ext/libxml/tests/bug61367-read.phpt @@ -4,11 +4,12 @@ Bug #61367: open_basedir bypass in libxml RSHUTDOWN: read test ?php if(!extension_loaded('dom')) echo 'skip'; ? --INI-- open_basedir=. -; Suppress spurious Trying to get property of non-object notices error_reporting=E_ALL ~E_NOTICE --FILE-- ?php - +/* + * Note: Using error_reporting=E_ALL ~E_NOTICE to supress Trying to get property of non-object notices. + */ class StreamExploiter { public function stream_close ( ) { $doc = new DOMDocument; diff --git a/ext/libxml/tests/bug61367-write.phpt b/ext/libxml/tests/bug61367-write.phpt index aeed688..e18b071 100644 --- a/ext/libxml/tests/bug61367-write.phpt +++ b/ext/libxml/tests/bug61367-write.phpt @@ -4,8 +4,6 @@ Bug #61367: open_basedir bypass in libxml RSHUTDOWN: write test ?php if(!extension_loaded('dom')) echo 'skip'; ? --INI-- open_basedir=. -; Suppress spurious Trying to get property of non-object notices -error_reporting=E_ALL ~E_NOTICE --FILE-- ?php -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] com php-src: Change impl of GZIP_POST, DEFLATE_POST. See #62021: ext/soap/tests/server019.phpt ext/soap/tests/server020.phpt run-tests.php
Commit:1af8b3f8836bd8fb997ebfead82cbf21d33ed916 Author:zoe slattery z...@php.net Tue, 15 May 2012 11:05:20 +0100 Parents: 3332943c9d20a8b5e09816b11f38742de0e16085 Branches: PHP-5.3 PHP-5.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1af8b3f8836bd8fb997ebfead82cbf21d33ed916 Log: Change impl of GZIP_POST, DEFLATE_POST. See #62021 Bugs: https://bugs.php.net/62021 Changed paths: M ext/soap/tests/server019.phpt M ext/soap/tests/server020.phpt M run-tests.php Diff: diff --git a/ext/soap/tests/server019.phpt b/ext/soap/tests/server019.phpt index defdac5..d36cff0 100644 --- a/ext/soap/tests/server019.phpt +++ b/ext/soap/tests/server019.phpt @@ -8,7 +8,7 @@ SOAP Server 19: compressed request (gzip) ? --INI-- precision=14 ---POST-- +--GZIP_POST-- SOAP-ENV:Envelope SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; @@ -19,8 +19,6 @@ precision=14 ns1:test xmlns:ns1=http://testuri.org; / /SOAP-ENV:Body /SOAP-ENV:Envelope ---GZIP_POST-- -1 --FILE-- ?php function test() { diff --git a/ext/soap/tests/server020.phpt b/ext/soap/tests/server020.phpt index 1bd5893..b14978f 100644 --- a/ext/soap/tests/server020.phpt +++ b/ext/soap/tests/server020.phpt @@ -8,7 +8,7 @@ SOAP Server 20: compressed request (deflate) ? --INI-- precision=14 ---POST-- +--DEFLATE_POST-- ?xml version=1.0 encoding=ISO-8859-1? SOAP-ENV:Envelope SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; @@ -20,8 +20,6 @@ precision=14 ns1:test xmlns:ns1=http://testuri.org; / /SOAP-ENV:Body /SOAP-ENV:Envelope ---DEFLATE_POST-- -1 --FILE-- ?php function test() { diff --git a/run-tests.php b/run-tests.php index cc193e5..1fe0deb 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1315,7 +1315,7 @@ TEST $file $tested = trim($section_text['TEST']); /* For GET/POST/PUT tests, check if cgi sapi is available and if it is, use it. */ - if (!empty($section_text['GET']) || !empty($section_text['POST']) || !empty($section_text['POST_RAW']) || !empty($section_text['PUT']) || !empty($section_text['COOKIE']) || !empty($section_text['EXPECTHEADERS'])) { + if (!empty($section_text['GET']) || !empty($section_text['POST']) || !empty($section_text['GZIP_POST']) || !empty($section_text['DEFLATE_POST']) || !empty($section_text['POST_RAW']) || !empty($section_text['PUT']) || !empty($section_text['COOKIE']) || !empty($section_text['EXPECTHEADERS'])) { if (isset($php_cgi)) { $old_php = $php; $php = $php_cgi . ' -C '; @@ -1700,15 +1700,6 @@ TEST $file } else if (array_key_exists('POST', $section_text) !empty($section_text['POST'])) { $post = trim($section_text['POST']); - - if (array_key_exists('GZIP_POST', $section_text) function_exists('gzencode')) { - $post = gzencode($post, 9, FORCE_GZIP); - $env['HTTP_CONTENT_ENCODING'] = 'gzip'; - } else if (array_key_exists('DEFLATE_POST', $section_text) function_exists('gzcompress')) { - $post = gzcompress($post, 9); - $env['HTTP_CONTENT_ENCODING'] = 'deflate'; - } - save_text($tmp_post, $post); $content_length = strlen($post); @@ -1718,6 +1709,35 @@ TEST $file $cmd = $php $pass_options $ini_settings -f \$test_file\ 21 \$tmp_post\; +} else if (array_key_exists('GZIP_POST', $section_text) !empty($section_text['GZIP_POST'])) { + +$post = trim($section_text['GZIP_POST']); +$post = gzencode($post, 9, FORCE_GZIP); +$env['HTTP_CONTENT_ENCODING'] = 'gzip'; + +save_text($tmp_post, $post); +$content_length = strlen($post); + +$env['REQUEST_METHOD'] = 'POST'; +$env['CONTENT_TYPE'] = 'application/x-www-form-urlencoded'; +$env['CONTENT_LENGTH'] = $content_length; + +$cmd = $php $pass_options $ini_settings -f \$test_file\ 21 \$tmp_post\; + +} else if (array_key_exists('DEFLATE_POST', $section_text) !empty($section_text['DEFLATE_POST'])) { +$post = trim($section_text['DEFLATE_POST']); +$post = gzcompress($post, 9); +$env['HTTP_CONTENT_ENCODING'] = 'deflate'; +save_text($tmp_post, $post); +$content_length = strlen($post); + +$env['REQUEST_METHOD'] = 'POST'; +$env['CONTENT_TYPE'] = 'application/x-www-form-urlencoded'; +$env['CONTENT_LENGTH'] = $content_length; + +$cmd = $php $pass_options $ini_settings -f \$test_file\ 21 \$tmp_post\; + + } else { $env['REQUEST_METHOD'] = 'GET'; -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] com php-src: Small fixes to tests, see #62022: ext/dom/tests/DOMAttr_value_basic_001.phpt ext/dom/tests/DOMAttr_value_basic_002.phpt ext/dom/tests/DOMCharacterData_data_error_002.phpt ext/do
Commit:e35f09d7743defe37f99305a9b1e96b48cdec4b4 Author:zoe slattery z...@php.net Tue, 15 May 2012 11:42:14 +0100 Parents: 1af8b3f8836bd8fb997ebfead82cbf21d33ed916 Branches: PHP-5.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e35f09d7743defe37f99305a9b1e96b48cdec4b4 Log: Small fixes to tests, see #62022 Bugs: https://bugs.php.net/62022 Changed paths: M ext/dom/tests/DOMAttr_value_basic_001.phpt M ext/dom/tests/DOMAttr_value_basic_002.phpt M ext/dom/tests/DOMCharacterData_data_error_002.phpt M ext/dom/tests/DOMCharacterData_length_error_001.phpt M ext/posix/tests/posix_setgid_error.phpt M ext/reflection/tests/bug47254.phpt M ext/standard/tests/file/windows_links/bug48746.phpt M ext/standard/tests/file/windows_links/bug48746_1.phpt M ext/standard/tests/file/windows_links/bug48746_2.phpt M ext/standard/tests/file/windows_links/bug48746_3.phpt Diff: diff --git a/ext/dom/tests/DOMAttr_value_basic_001.phpt b/ext/dom/tests/DOMAttr_value_basic_001.phpt index 40e00bc..51c4ac9 100755 --- a/ext/dom/tests/DOMAttr_value_basic_001.phpt +++ b/ext/dom/tests/DOMAttr_value_basic_001.phpt @@ -1,6 +1,6 @@ --TEST-- Read empty $value. ---CREDIT-- +--CREDITS-- Jason Bouffard jbouffa...@yahoo.com # TestFest Atlanta 2009-05-14 --SKIPIF-- @@ -13,4 +13,4 @@ print $attr-value.\n; ===DONE=== --EXPECTF-- ===DONE=== - \ No newline at end of file + diff --git a/ext/dom/tests/DOMAttr_value_basic_002.phpt b/ext/dom/tests/DOMAttr_value_basic_002.phpt index cf71eeb..384a9ca 100644 --- a/ext/dom/tests/DOMAttr_value_basic_002.phpt +++ b/ext/dom/tests/DOMAttr_value_basic_002.phpt @@ -1,6 +1,6 @@ --TEST-- Write non-string $value property ---CREDIT-- +--CREDITS-- Eric Berg ehb...@gmail.com # TestFest Atlanta 2009-05-14 --SKIPIF-- @@ -12,4 +12,4 @@ $attr-value = 1; print $attr-value; ? --EXPECTF-- -1 \ No newline at end of file +1 diff --git a/ext/dom/tests/DOMCharacterData_data_error_002.phpt b/ext/dom/tests/DOMCharacterData_data_error_002.phpt index 9dae096..401e0f2 100755 --- a/ext/dom/tests/DOMCharacterData_data_error_002.phpt +++ b/ext/dom/tests/DOMCharacterData_data_error_002.phpt @@ -1,6 +1,6 @@ --TEST-- Invalid State Error when getting data on DOMCharacterData out of content. ---CREDIT-- +--CREDITS-- Eric Berg ehb...@gmail.com # TestFest Atlanta 2009-05-14 --SKIPIF-- @@ -11,4 +11,4 @@ $character_data = new DOMCharacterData(); print $character_data-data; ? --EXPECTF-- -Warning: main(): Invalid State Error in %s on line %d \ No newline at end of file +Warning: main(): Invalid State Error in %s on line %d diff --git a/ext/dom/tests/DOMCharacterData_length_error_001.phpt b/ext/dom/tests/DOMCharacterData_length_error_001.phpt index 0dda492..e8bf16a 100755 --- a/ext/dom/tests/DOMCharacterData_length_error_001.phpt +++ b/ext/dom/tests/DOMCharacterData_length_error_001.phpt @@ -1,6 +1,6 @@ --TEST-- Invalid State Error when getting length on DOMCharacterData out of content. ---CREDIT-- +--CREDITS-- Jason Bouffard jbouffa...@yahoo.com # TestFest Atlanta 2009-05-14 --SKIPIF-- @@ -14,4 +14,4 @@ print $character_data-length; --EXPECTF-- Warning: main(): Invalid State Error in %s ===DONE=== - \ No newline at end of file + diff --git a/ext/posix/tests/posix_setgid_error.phpt b/ext/posix/tests/posix_setgid_error.phpt index 247435d..83d727c 100644 --- a/ext/posix/tests/posix_setgid_error.phpt +++ b/ext/posix/tests/posix_setgid_error.phpt @@ -1,6 +1,5 @@ --TEST-- Test function posix_setgid() by calling it more than or less than its expected arguments. ---CREDITS-- --SKIPIF-- ?php if(!extension_loaded(posix)) print skip - POSIX extension not loaded; diff --git a/ext/reflection/tests/bug47254.phpt b/ext/reflection/tests/bug47254.phpt index 4bcce1b..83593a4 100644 --- a/ext/reflection/tests/bug47254.phpt +++ b/ext/reflection/tests/bug47254.phpt @@ -23,7 +23,6 @@ $m = $R-getMethods(); print_r($m); ? ---CLEAN-- --EXPECT-- Array ( diff --git a/ext/standard/tests/file/windows_links/bug48746.phpt b/ext/standard/tests/file/windows_links/bug48746.phpt index 55465ae..5978e7f 100644 --- a/ext/standard/tests/file/windows_links/bug48746.phpt +++ b/ext/standard/tests/file/windows_links/bug48746.phpt @@ -1,7 +1,7 @@ --TEST-- Bug#48746 - Junction not working properly ---CREDIT-- +--CREDITS-- Venkat Raman Don (don.ra...@microsoft.com) --SKIPIF-- diff --git a/ext/standard/tests/file/windows_links/bug48746_1.phpt b/ext/standard/tests/file/windows_links/bug48746_1.phpt index 5d8e685..a4277a4 100644 --- a/ext/standard/tests/file/windows_links/bug48746_1.phpt +++ b/ext/standard/tests/file/windows_links/bug48746_1.phpt @@ -1,7 +1,7 @@ --TEST-- Bug#48746 - Junction not working properly ---CREDIT-- +--CREDITS-- Venkat Raman Don (don.ra...@microsoft.com) --SKIPIF-- diff --git a/ext/standard/tests/file/windows_links/bug48746_2.phpt b/ext/standard/tests/file/windows_links/bug48746_2.phpt index
[PHP-CVS] com php-src: Changes to remaining two tests, #62022: ext/mysqli/tests/mysqli_options_openbasedir.phpt ext/standard/tests/strings/htmlentities15.phpt
Commit:63401268db9cf9b0e07b7a5819644d61f572746a Author:zoe slattery z...@php.net Tue, 15 May 2012 14:39:51 +0100 Parents: d99203d44bac39a7cc8ee031534ee638545a6753 Branches: PHP-5.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=63401268db9cf9b0e07b7a5819644d61f572746a Log: Changes to remaining two tests, #62022 Bugs: https://bugs.php.net/62022 Changed paths: M ext/mysqli/tests/mysqli_options_openbasedir.phpt M ext/standard/tests/strings/htmlentities15.phpt Diff: diff --git a/ext/mysqli/tests/mysqli_options_openbasedir.phpt b/ext/mysqli/tests/mysqli_options_openbasedir.phpt index 500baf3..4c13ec1 100644 --- a/ext/mysqli/tests/mysqli_options_openbasedir.phpt +++ b/ext/mysqli/tests/mysqli_options_openbasedir.phpt @@ -6,7 +6,6 @@ require_once('skipif.inc'); require_once('skipifemb.inc'); require_once('skipifconnectfailure.inc'); ? ---INI-- --FILE-- ?php require_once('connect.inc'); diff --git a/ext/standard/tests/strings/htmlentities15.phpt b/ext/standard/tests/strings/htmlentities15.phpt index 54c1b06..e5729f9 100644 --- a/ext/standard/tests/strings/htmlentities15.phpt +++ b/ext/standard/tests/strings/htmlentities15.phpt @@ -11,7 +11,7 @@ if (!$result || preg_match('/koi8/i', setlocale(LC_CTYPE, 0)) == 0) { die(skip setlocale() failed\n); } ? ---COMMENT-- +--DESCRIPTION-- As of PHP 5.4, htmlentities() no longer makes replacements with numerical entities. Hence, for this input there's no substitution. --FILE-- -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/phpruntests/trunk/ src/configuration/settings/rtPhpCgiExecutableSetting.php tests/configuration/settings/rtPhpCgiExecutableSettingTest.php tests/testcase/rtGetExecutionTest.php
zoe Fri, 11 May 2012 08:04:49 + Revision: http://svn.php.net/viewvc?view=revisionrevision=325655 Log: fix to do a better guess at finding the CGI executable Changed paths: U php/phpruntests/trunk/src/configuration/settings/rtPhpCgiExecutableSetting.php U php/phpruntests/trunk/tests/configuration/settings/rtPhpCgiExecutableSettingTest.php U php/phpruntests/trunk/tests/testcase/rtGetExecutionTest.php Modified: php/phpruntests/trunk/src/configuration/settings/rtPhpCgiExecutableSetting.php === --- php/phpruntests/trunk/src/configuration/settings/rtPhpCgiExecutableSetting.php 2012-05-11 05:30:34 UTC (rev 325654) +++ php/phpruntests/trunk/src/configuration/settings/rtPhpCgiExecutableSetting.php 2012-05-11 08:04:49 UTC (rev 325655) @@ -43,17 +43,24 @@ } /** - * @todo spriebsch: does this method need to be public, is it only called from get()? - * @todo zoe:This method only works if we are running from a PHP source tree, do we need to - * cope with /usr/local/bin/php for example? + * If the path tp the php cli executable is either: + * something/cli/php + * or, failing that, + * something/php + * we can make a guess at the path to the cgi executable */ -public function guessFromPhpCli($phpCli) +private function guessFromPhpCli($phpCli) { -if(substr(dirname($phpCli),-3) == 'cli') { -$pathLength = strlen(dirname($phpCli)) - 3; -$sapiDir = substr(dirname($phpCli), 0, $pathLength); -$this-phpCgiExecutable = $sapiDir.cgi/php-cgi; -} + + if(substr($phpCli, -7) === cli/php) { + $cgiGuess = substr($phpCli, 0, -7) . cgi/php-cgi; + }elseif( substr($phpCli, -3) === php) { + $cgiGuess = substr($phpCli, 0, -3) . php-cgi; + }else{ + $cgiGuess = null; + } + + return $cgiGuess; } /** @@ -68,9 +75,10 @@ // We ask rtPhpExecutableSetting for the path to the PHP executable. $rtPhpExecutableSetting = new rtPhpExecutableSetting($this-configuration); -$this-guessFromPhpCli($rtPhpExecutableSetting-get()); +$phpCli=$rtPhpExecutableSetting-get(); +$this-phpCgiExecutable = $this-guessFromPhpCli($phpCli); + } - return $this-phpCgiExecutable; } } Modified: php/phpruntests/trunk/tests/configuration/settings/rtPhpCgiExecutableSettingTest.php === --- php/phpruntests/trunk/tests/configuration/settings/rtPhpCgiExecutableSettingTest.php 2012-05-11 05:30:34 UTC (rev 325654) +++ php/phpruntests/trunk/tests/configuration/settings/rtPhpCgiExecutableSettingTest.php 2012-05-11 08:04:49 UTC (rev 325655) @@ -27,25 +27,32 @@ $setPhp = $configuration-getSetting('TEST_PHP_EXECUTABLE'); -if (preg_match(/sapi/, $setPhp)) { -// Make no assertion bacuse the CGI executable can be guesed +if (substr($setPhp, -3) === php) { +// Make no assertion because the CGI executable can be guesed } else { $this-assertEquals(null, $setting-get()); } } public function testSetFromCliExecutableName() { -$configuration = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-p', '/a/sapi/cli/php', 'test.phpt')); +$configuration = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-p', '/some/thing/php', 'test.phpt')); $configuration-setEnvironmentVariable('TEST_PHP_CGI_EXECUTABLE', null); $setting = new rtPhpCgiExecutableSetting($configuration); -$this-assertEquals('/a/sapi/cgi/php-cgi', $setting-get()); +$this-assertEquals('/some/thing/php-cgi', $setting-get()); } public function testSetFromCli2() { -$configuration = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-p', '/a/sapi/cli/php', 'test.phpt')); +$configuration = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-p', '/some/thing/sapi/cli/php', 'test.phpt')); $setting = new rtPhpCgiExecutableSetting($configuration); -$this-assertEquals('/a/sapi/cgi/php-cgi', $setting-get()); +$this-assertEquals('/some/thing/sapi/cgi/php-cgi', $setting-get()); } + public function testSetFromCli3() { +$configuration = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-p', '/some/thing/sapi/cli/phpblah', 'test.phpt')); +$setting = new rtPhpCgiExecutableSetting($configuration); + +$this-assertEquals(null, $setting-get()); +} + } ? Modified: php/phpruntests/trunk/tests/testcase/rtGetExecutionTest.php === --- php
[PHP-CVS] svn: /php/phpruntests/trunk/ build.xml phpdefinitions.txt phpdefinitions.txt_sample
zoe Fri, 11 May 2012 08:16:12 + Revision: http://svn.php.net/viewvc?view=revisionrevision=325656 Log: Add a temp directory to properties Changed paths: U php/phpruntests/trunk/build.xml D php/phpruntests/trunk/phpdefinitions.txt A php/phpruntests/trunk/phpdefinitions.txt_sample Modified: php/phpruntests/trunk/build.xml === --- php/phpruntests/trunk/build.xml 2012-05-11 08:04:49 UTC (rev 325655) +++ php/phpruntests/trunk/build.xml 2012-05-11 08:16:12 UTC (rev 325656) @@ -59,15 +59,15 @@ delete dir=_compare / mkdir dir=_compare / -delete dir=/tmp/phpruntests / -mkdir dir=/tmp/phpruntests / +delete dir=${temp_directory}/phpruntests / +mkdir dir=${temp_directory}/phpruntests / -copy file=${project.basedir}/QA/QATESTS.tgz tofile=/tmp/phpruntests/QATESTS.tgz / +copy file=${project.basedir}/QA/QATESTS.tgz tofile=${temp_directory}/phpruntests/QATESTS.tgz / -exec command=tar xfz QATESTS.tgz dir=/tmp/phpruntests / +exec command=tar xfz QATESTS.tgz dir=${temp_directory}/phpruntests / -exec command=${php} -n ${php_source}/run-tests.php -n -p ${php_to_test} /tmp/phpruntests/Zend /tmp/phpruntests/ext /tmp/phpruntests/sapi /tmp/phpruntests/tests ${project.basedir}/_compare/old.out dir=/tmp/phpruntests passthru=true checkReturn=true/ -exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p ${php_to_test} -o csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests dir=/tmp/phpruntests passthru=true checkReturn=true / +exec command=${php} -n ${php_source}/run-tests.php -n -p ${php_to_test} ${temp_directory}/phpruntests/Zend ${temp_directory}/phpruntests/ext ${temp_directory}/phpruntests/sapi ${temp_directory}/phpruntests/tests ${project.basedir}/_compare/old.out dir=${temp_directory}/phpruntests passthru=true checkReturn=true/ +exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p ${php_to_test} -o csv -s ${project.basedir}/_compare/new.out ${temp_directory}/phpruntests dir=${temp_directory}/phpruntests passthru=true checkReturn=true / exec command=${php} -n QA/compareNewOld.php ${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out phpruntests ${project.basedir}/_compare/compare_new_old.out dir=${project.basedir} passthru=true checkReturn=true/ Deleted: php/phpruntests/trunk/phpdefinitions.txt === --- php/phpruntests/trunk/phpdefinitions.txt2012-05-11 08:04:49 UTC (rev 325655) +++ php/phpruntests/trunk/phpdefinitions.txt2012-05-11 08:16:12 UTC (rev 325656) @@ -1,9 +0,0 @@ -# This file is used as a phing property file and is also read by rtTestBoootstrap.php to determine which -# PHP exectables to use in running unit tests - -#These are example settings, you will need to unomment and change them to the right paths on your system -# -#php=/usr/bin/php -#php_to_test=/usr/local/php540/bin/php -#php_cgi_to_test=/usr/local/php540/bin/php-cgi -#php_source=/Users/zoe/Applications/PHP/php-5.4.0 Added: php/phpruntests/trunk/phpdefinitions.txt_sample === --- php/phpruntests/trunk/phpdefinitions.txt_sample (rev 0) +++ php/phpruntests/trunk/phpdefinitions.txt_sample 2012-05-11 08:16:12 UTC (rev 325656) @@ -0,0 +1,17 @@ +# This file is used as a phing property file and is also read by rtTestBoootstrap.php to determine which +# PHP exectables to use in running unit tests + +#These are example settings, you will change them to the right paths on your system +#then copy this to phpdefinitions.txt +# +#Your system defualt PHP +php=/usr/bin/php +# +#The version of PHP that you intend to test +php_to_test=/usr/local/php540/bin/php +# +#The location of a copy run-tests.php for running comparison results (qa target) +php_source=/Users/zoe/Applications/PHP/php-5.4.0 +# +#Temporary (writable) directory - also used buy qa target +temp_directory=/tmp -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/phpruntests/trunk/ build.xml
zoe Fri, 11 May 2012 08:48:17 + Revision: http://svn.php.net/viewvc?view=revisionrevision=325657 Log: add some echos to the build file Changed paths: U php/phpruntests/trunk/build.xml Modified: php/phpruntests/trunk/build.xml === --- php/phpruntests/trunk/build.xml 2012-05-11 08:16:12 UTC (rev 325656) +++ php/phpruntests/trunk/build.xml 2012-05-11 08:48:17 UTC (rev 325657) @@ -62,15 +62,28 @@ delete dir=${temp_directory}/phpruntests / mkdir dir=${temp_directory}/phpruntests / +echo msg=Copying QATESTS tar file to temporary directory / + copy file=${project.basedir}/QA/QATESTS.tgz tofile=${temp_directory}/phpruntests/QATESTS.tgz / +echo msg=Extracting QATESTS.. / + exec command=tar xfz QATESTS.tgz dir=${temp_directory}/phpruntests / +echo msg=Running the tests using standard (old) run-tests.php.. / + exec command=${php} -n ${php_source}/run-tests.php -n -p ${php_to_test} ${temp_directory}/phpruntests/Zend ${temp_directory}/phpruntests/ext ${temp_directory}/phpruntests/sapi ${temp_directory}/phpruntests/tests ${project.basedir}/_compare/old.out dir=${temp_directory}/phpruntests passthru=true checkReturn=true/ + +echo msg=Running the tests using new run-tests.php.. / + exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p ${php_to_test} -o csv -s ${project.basedir}/_compare/new.out ${temp_directory}/phpruntests dir=${temp_directory}/phpruntests passthru=true checkReturn=true / +echo msg=Comparing the results from new and old runs / + exec command=${php} -n QA/compareNewOld.php ${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out phpruntests ${project.basedir}/_compare/compare_new_old.out dir=${project.basedir} passthru=true checkReturn=true/ +echo msg=Comparing the results from new runs with baseline Linux results / + exec command=${php} -n QA/compareNewNew.php ${project.basedir}/QA/BaselineLinuxResults ${project.basedir}/_compare/new.out phpruntests ${project.basedir}/_compare/compare_baseline_old.out dir=${project.basedir} passthru=true checkReturn=true/ /target -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/phpruntests/trunk/tests/ configuration/rtPreconditionListTest.php configuration/rtRuntestsConfigurationTest.php testcase/rtCleanExecutionTest.php testcase/rtCookieExecutionTest.php
zoe Thu, 10 May 2012 10:49:40 + Revision: http://svn.php.net/viewvc?view=revisionrevision=325635 Log: Change the tests to use the TestBootstrap for PHP defs Changed paths: U php/phpruntests/trunk/tests/configuration/rtPreconditionListTest.php U php/phpruntests/trunk/tests/configuration/rtRuntestsConfigurationTest.php U php/phpruntests/trunk/tests/testcase/rtCleanExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtCookieExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtDeflatePostExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtFileExternalExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtGetExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtGzipPostExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtPhpRunnerTest.php U php/phpruntests/trunk/tests/testcase/rtPhpTestTest.php U php/phpruntests/trunk/tests/testcase/rtPostExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtPostRawExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtSkipIfExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtTestConfigurationTest.php U php/phpruntests/trunk/tests/testcase/rtTestExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtTestOutputWriterTest.php U php/phpruntests/trunk/tests/testcase/rtTestResultsTest.php Modified: php/phpruntests/trunk/tests/configuration/rtPreconditionListTest.php === --- php/phpruntests/trunk/tests/configuration/rtPreconditionListTest.php 2012-05-10 04:52:13 UTC (rev 325634) +++ php/phpruntests/trunk/tests/configuration/rtPreconditionListTest.php 2012-05-10 10:49:40 UTC (rev 325635) @@ -12,6 +12,7 @@ */ require_once dirname(__FILE__) . '../../../src/rtAutoload.php'; +require_once dirname(__FILE__) . '/../rtTestBootstrap.php'; /** * Tests for rtPreCondtionListTest precondition. @@ -38,10 +39,9 @@ public function testCheck() { -$php = trim(shell_exec(which php)); $preConditionList = rtPreConditionList::getInstance(); -$runtestsConfiguration = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-p', $php, 'a-test.phpt')); +$runtestsConfiguration = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-p', RT_PHP_PATH, 'a-test.phpt')); $runtestsConfiguration-configure(); $this-assertTrue($preConditionList-check($runtestsConfiguration)); Modified: php/phpruntests/trunk/tests/configuration/rtRuntestsConfigurationTest.php === --- php/phpruntests/trunk/tests/configuration/rtRuntestsConfigurationTest.php 2012-05-10 04:52:13 UTC (rev 325634) +++ php/phpruntests/trunk/tests/configuration/rtRuntestsConfigurationTest.php 2012-05-10 10:49:40 UTC (rev 325635) @@ -1,33 +1,33 @@ ?php require_once dirname(__FILE__) . '../../../src/rtAutoload.php'; +require_once dirname(__FILE__) . '/../rtTestBootstrap.php'; class rtRuntestsConfigurationTest extends PHPUnit_Framework_TestCase { public function setUp() { -$this-php = trim(shell_exec(which php)); } public function testCreateUnix() { -$config = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-p', $this-php, 'test.phpt')); +$config = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-p', RT_PHP_PATH, 'test.phpt')); $config-configure(); $testFiles = $config-getSetting('TestFiles'); -$this-assertEquals($this-php, $config-getSetting('PhpExecutable')); +$this-assertEquals(RT_PHP_PATH, $config-getSetting('PhpExecutable')); $this-assertEquals('test.phpt', $testFiles[0]); } public function testCreateWin() { -$config = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-p', $this-php, 'test.phpt'), 'Windows'); +$config = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-p', RT_PHP_PATH, 'test.phpt'), 'Windows'); $config-configure(); $testFiles = $config-getSetting('TestFiles'); -$this-assertEquals($this-php, $config-getSetting('PhpExecutable')); +$this-assertEquals(RT_PHP_PATH, $config-getSetting('PhpExecutable')); $this-assertEquals('test.phpt', $testFiles[0]); } } Modified: php/phpruntests/trunk/tests/testcase/rtCleanExecutionTest.php === --- php/phpruntests/trunk/tests/testcase/rtCleanExecutionTest.php 2012-05-10 04:52:13 UTC (rev 325634) +++ php/phpruntests/trunk/tests/testcase/rtCleanExecutionTest.php 2012-05-10 10:49:40 UTC (rev 325635) @@ -1,6 +1,7 @@ ?php require_once dirname(__FILE__) . '../../../src/rtAutoload.php'; +require_once dirname(__FILE__) . '/../rtTestBootstrap.php'; class rtCleanExecutionTest extends PHPUnit_Framework_TestCase { @@ -10,8
[PHP-CVS] svn: /php/phpruntests/trunk/ build.xml phpdefinitions.txt tests/rtTestBootstrap.php tests/testcase/rtCleanExecutionTest.php
zoe Thu, 10 May 2012 15:17:46 + Revision: http://svn.php.net/viewvc?view=revisionrevision=325643 Log: change to use a single configuration file for testing Changed paths: U php/phpruntests/trunk/build.xml A php/phpruntests/trunk/phpdefinitions.txt U php/phpruntests/trunk/tests/rtTestBootstrap.php U php/phpruntests/trunk/tests/testcase/rtCleanExecutionTest.php Modified: php/phpruntests/trunk/build.xml === --- php/phpruntests/trunk/build.xml 2012-05-10 14:47:02 UTC (rev 325642) +++ php/phpruntests/trunk/build.xml 2012-05-10 15:17:46 UTC (rev 325643) @@ -1,6 +1,7 @@ ?xml version=1.0? project name=runtests default=qa basedir=. +property file=phpdefinitions.txt / target name=clean delete dir=_compare / @@ -51,7 +52,8 @@ target name=compare description=Old/New comparison of phpt results. fail unless=php message=Path to standard PHP executable not defined, use -Dphp=/path/to/php / -fail unless=php_to_test message=Path to test PHP source dir not defined, use -Dphp_to_test=/path/to/php_source_dir / +fail unless=php_to_test message=Path to test PHP source dir not defined, use -Dphp_to_test=/path/to/php/to/test / +fail unless=php_source message=Path to test PHP source dir not defined, use -Dphp_to_test=/path/to/php_source_dir / delete dir=_compare / @@ -64,8 +66,8 @@ exec command=tar xfz QATESTS.tgz dir=/tmp/phpruntests / -exec command=${php} -n ${php_to_test}/run-tests.php -n -p ${php_to_test}/sapi/cli/php /tmp/phpruntests/Zend /tmp/phpruntests/ext /tmp/phpruntests/sapi /tmp/phpruntests/tests ${project.basedir}/_compare/old.out dir=/tmp/phpruntests passthru=true checkReturn=true/ -exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p ${php_to_test}/sapi/cli/php -o csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests dir=/tmp/phpruntests passthru=true checkReturn=true / +exec command=${php} -n ${php_source}/run-tests.php -n -p ${php_to_test} /tmp/phpruntests/Zend /tmp/phpruntests/ext /tmp/phpruntests/sapi /tmp/phpruntests/tests ${project.basedir}/_compare/old.out dir=/tmp/phpruntests passthru=true checkReturn=true/ +exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p ${php_to_test} -o csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests dir=/tmp/phpruntests passthru=true checkReturn=true / exec command=${php} -n QA/compareNewOld.php ${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out phpruntests ${project.basedir}/_compare/compare_new_old.out dir=${project.basedir} passthru=true checkReturn=true/ Added: php/phpruntests/trunk/phpdefinitions.txt === --- php/phpruntests/trunk/phpdefinitions.txt(rev 0) +++ php/phpruntests/trunk/phpdefinitions.txt2012-05-10 15:17:46 UTC (rev 325643) @@ -0,0 +1,9 @@ +# This file is used as a phing property file and is also read by rtTestBoootstrap.php to determine which +# PHP exectables to use in running unit tests + +#These are example settings, you will need to unomment and change them to the right paths on your system +# +#php=/usr/bin/php +#php_to_test=/usr/local/php540/bin/php +#php_cgi_to_test=/usr/local/php540/bin/php-cgi +#php_source=/Users/zoe/Applications/PHP/php-5.4.0 Modified: php/phpruntests/trunk/tests/rtTestBootstrap.php === --- php/phpruntests/trunk/tests/rtTestBootstrap.php 2012-05-10 14:47:02 UTC (rev 325642) +++ php/phpruntests/trunk/tests/rtTestBootstrap.php 2012-05-10 15:17:46 UTC (rev 325643) @@ -3,14 +3,31 @@ require_once __DIR__ . '/../src/rtAutoload.php'; /** - * Define the Path to the PHP executable + * Check to see if the PHP and CGI executables are in a config file */ +if(file_exists(__DIR__ . '/../phpdefinitions.txt')) { + $phpdefs=file(__DIR__ . '/../phpdefinitions.txt'); + foreach($phpdefs as $line) { + if(preg_match('/^php_to_test=(.*)/', $line, $matches)) { + define('RT_PHP_PATH', trim($matches[1])); + } + if(preg_match('/^php_cgi_to_test=(.*)/', $line, $matches)) { + define('RT_PHP_CGI_PATH', trim($matches[1])); + } + } +} + + +/** + * Fall back definition of Path to the PHPexecutable + */ + if (!defined('RT_PHP_PATH')) { define('RT_PHP_PATH', trim(shell_exec(which php))); } /** - * Define the Path to the PHP CGI executable + * Fall back definition of Path to the PHP CGI executable */ if (!defined('RT_PHP_CGI_PATH')) { define('RT_PHP_CGI_PATH', trim(shell_exec(which php-cgi))); Modified: php/phpruntests/trunk/tests/testcase/rtCleanExecutionTest.php === --- php/phpruntests/trunk/tests/testcase/rtCleanExecutionTest.php
[PHP-CVS] svn: /php/phpruntests/trunk/ build.xml phpt-tests/sample_clean.php phpt-tests/sample_clean_fail.php phpt-tests/sample_fileexternal.phpt phpt-tests/sample_gzippost.phpt phpt-tests/utils/hw.ph
zoe Wed, 09 May 2012 16:26:29 + Revision: http://svn.php.net/viewvc?view=revisionrevision=325627 Log: tidying up Changed paths: U php/phpruntests/trunk/build.xml D php/phpruntests/trunk/phpt-tests/sample_clean.php D php/phpruntests/trunk/phpt-tests/sample_clean_fail.php U php/phpruntests/trunk/phpt-tests/sample_fileexternal.phpt U php/phpruntests/trunk/phpt-tests/sample_gzippost.phpt A php/phpruntests/trunk/phpt-tests/utils/ A php/phpruntests/trunk/phpt-tests/utils/hw.php A php/phpruntests/trunk/phpt-tests/utils/hw.save A php/phpruntests/trunk/phpt-tests/utils/windows_line_endings.php D php/phpruntests/trunk/phpt-tests/windows_line_endings.php U php/phpruntests/trunk/tests/testcase/rtCookieExecutionTest.php Modified: php/phpruntests/trunk/build.xml === --- php/phpruntests/trunk/build.xml 2012-05-09 16:12:35 UTC (rev 325626) +++ php/phpruntests/trunk/build.xml 2012-05-09 16:26:29 UTC (rev 325627) @@ -11,6 +11,15 @@ delete dir=QA/sapi / delete dir=QA/tests / delete dir=QA/Zend / +delete + fileset dir=phpt-tests includes=*.out / + fileset dir=phpt-tests includes=*.exp / + fileset dir=phpt-tests includes=*.diff / + fileset dir=phpt-tests includes=*.log / + fileset dir=phpt-tests includes=*.sh / + fileset dir=phpt-tests includes=*.post / + fileset dir=phpt-tests includes=*.php / +/delete /target target name=qa depends=lint, test, coverage, compare, doc description=Perform quality assurance. @@ -28,13 +37,6 @@ include name=**/*.php/ /fileset /phplint - -phplint haltonfailure=true - fileset dir=tests -include name=*.php/ -include name=**/*.php/ - /fileset -/phplint /target target name=test description=Run all unit tests. Deleted: php/phpruntests/trunk/phpt-tests/sample_clean.php === --- php/phpruntests/trunk/phpt-tests/sample_clean.php 2012-05-09 16:12:35 UTC (rev 325626) +++ php/phpruntests/trunk/phpt-tests/sample_clean.php 2012-05-09 16:26:29 UTC (rev 325627) @@ -1,7 +0,0 @@ -?php - - $file_name = dirname(__FILE__) . /cleantest.tmp; - file_put_contents($file_name, hello world); - echo written\n; - -? Deleted: php/phpruntests/trunk/phpt-tests/sample_clean_fail.php === --- php/phpruntests/trunk/phpt-tests/sample_clean_fail.php 2012-05-09 16:12:35 UTC (rev 325626) +++ php/phpruntests/trunk/phpt-tests/sample_clean_fail.php 2012-05-09 16:26:29 UTC (rev 325627) @@ -1,7 +0,0 @@ -?php - - $file_name = dirname(__FILE__) . /cleantest.tmp; - file_put_contents($file_name, hello world); - echo written\n; - -? Modified: php/phpruntests/trunk/phpt-tests/sample_fileexternal.phpt === --- php/phpruntests/trunk/phpt-tests/sample_fileexternal.phpt 2012-05-09 16:12:35 UTC (rev 325626) +++ php/phpruntests/trunk/phpt-tests/sample_fileexternal.phpt 2012-05-09 16:26:29 UTC (rev 325627) @@ -1,6 +1,6 @@ --TEST-- sample test for file_external --FILE_EXTERNAL-- -hw.php +utils/hw.php --EXPECT-- hello world Modified: php/phpruntests/trunk/phpt-tests/sample_gzippost.phpt === --- php/phpruntests/trunk/phpt-tests/sample_gzippost.phpt 2012-05-09 16:12:35 UTC (rev 325626) +++ php/phpruntests/trunk/phpt-tests/sample_gzippost.phpt 2012-05-09 16:26:29 UTC (rev 325627) @@ -5,8 +5,8 @@ --FILE-- ?php $content = file_get_contents('php://input'); - -if ($content != gzencode('blahblah=blah')) +$string = gzdecode($content); +if ($string != blahblah=blah) { echo invalid gzipped content; } else { Added: php/phpruntests/trunk/phpt-tests/utils/hw.php === --- php/phpruntests/trunk/phpt-tests/utils/hw.php (rev 0) +++ php/phpruntests/trunk/phpt-tests/utils/hw.php 2012-05-09 16:26:29 UTC (rev 325627) @@ -0,0 +1,3 @@ +?php + echo hello world\n; +? Added: php/phpruntests/trunk/phpt-tests/utils/hw.save === --- php/phpruntests/trunk/phpt-tests/utils/hw.save (rev 0) +++ php/phpruntests/trunk/phpt-tests/utils/hw.save 2012-05-09 16:26:29 UTC (rev 325627) @@ -0,0 +1,3 @@ +?php + echo hello world\n; +? Added: php/phpruntests/trunk/phpt-tests/utils/windows_line_endings.php === --- php/phpruntests/trunk/phpt-tests/utils/windows_line_endings.php (rev 0) +++ php/phpruntests/trunk/phpt-tests/utils/windows_line_endings.php 2012-05-09 16:26:29 UTC (rev
[PHP-CVS] svn: /php/phpruntests/trunk/phpt-tests/utils/ hw.save
zoe Wed, 09 May 2012 16:27:07 + Revision: http://svn.php.net/viewvc?view=revisionrevision=325628 Log: added by accident Changed paths: D php/phpruntests/trunk/phpt-tests/utils/hw.save Deleted: php/phpruntests/trunk/phpt-tests/utils/hw.save === --- php/phpruntests/trunk/phpt-tests/utils/hw.save 2012-05-09 16:26:29 UTC (rev 325627) +++ php/phpruntests/trunk/phpt-tests/utils/hw.save 2012-05-09 16:27:07 UTC (rev 325628) @@ -1,3 +0,0 @@ -?php - echo hello world\n; -? -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/phpruntests/trunk/phpt-tests/ hw.php
zoe Wed, 09 May 2012 16:29:30 + Revision: http://svn.php.net/viewvc?view=revisionrevision=325629 Log: moree tidying Changed paths: D php/phpruntests/trunk/phpt-tests/hw.php Deleted: php/phpruntests/trunk/phpt-tests/hw.php === --- php/phpruntests/trunk/phpt-tests/hw.php 2012-05-09 16:27:07 UTC (rev 325628) +++ php/phpruntests/trunk/phpt-tests/hw.php 2012-05-09 16:29:30 UTC (rev 325629) @@ -1,3 +0,0 @@ -?php - echo hello world\n; -? -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/phpruntests/trunk/tests/testcase/sections/configurationsections/ rtPostSectionTest.php
zoe Wed, 09 May 2012 16:54:16 + Revision: http://svn.php.net/viewvc?view=revisionrevision=325630 Log: clean up temporary file Changed paths: U php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtPostSectionTest.php Modified: php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtPostSectionTest.php === --- php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtPostSectionTest.php 2012-05-09 16:29:30 UTC (rev 325629) +++ php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtPostSectionTest.php 2012-05-09 16:54:16 UTC (rev 325630) @@ -13,6 +13,9 @@ $fileName = $postSection-getPostFileName(); $string = file_get_contents($fileName); +//clean up +unlink($fileName); + $this-assertEquals('hello=Worldgoodbye=MrChips', $string); } } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/phpruntests/trunk/ build.xml
zoe Wed, 09 May 2012 18:57:48 + Revision: http://svn.php.net/viewvc?view=revisionrevision=325631 Log: remove hard coded paths Changed paths: U php/phpruntests/trunk/build.xml Modified: php/phpruntests/trunk/build.xml === --- php/phpruntests/trunk/build.xml 2012-05-09 16:54:16 UTC (rev 325630) +++ php/phpruntests/trunk/build.xml 2012-05-09 18:57:48 UTC (rev 325631) @@ -50,8 +50,10 @@ /target target name=compare description=Old/New comparison of phpt results. -fail unless=php message=Path to PHP executable not defined, use -Dphp=/path/to/php / +fail unless=php message=Path to standard PHP executable not defined, use -Dphp=/path/to/php / +fail unless=php_to_test message=Path to test PHP source dir not defined, use -Dphp_to_test=/path/to/php_source_dir / + delete dir=_compare / mkdir dir=_compare / @@ -62,8 +64,8 @@ exec command=tar xfz QATESTS.tgz dir=/tmp/phpruntests / -exec command=${php} -n /Users/zoe/Applications/PHP/php-5.4.0/run-tests.php -n -p ${php} /tmp/phpruntests/Zend /tmp/phpruntests/ext /tmp/phpruntests/sapi /tmp/phpruntests/tests ${project.basedir}/_compare/old.out dir=/tmp/phpruntests passthru=true checkReturn=true/ -exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p ${php} -o csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests dir=/tmp/phpruntests passthru=true checkReturn=true / +exec command=${php} -n ${php_to_test}/run-tests.php -n -p ${php_to_test}/sapi/cli/php /tmp/phpruntests/Zend /tmp/phpruntests/ext /tmp/phpruntests/sapi /tmp/phpruntests/tests ${project.basedir}/_compare/old.out dir=/tmp/phpruntests passthru=true checkReturn=true/ +exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p ${php_to_test}/sapi/cli/php -o csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests dir=/tmp/phpruntests passthru=true checkReturn=true / exec command=${php} -n QA/compareNewOld.php ${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out phpruntests ${project.basedir}/_compare/compare_new_old.out dir=${project.basedir} passthru=true checkReturn=true/ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/phpruntests/trunk/ build.xml
zoe Mon, 30 Apr 2012 21:13:32 + Revision: http://svn.php.net/viewvc?view=revisionrevision=325481 Log: Fix the directory where tests are run Changed paths: U php/phpruntests/trunk/build.xml Modified: php/phpruntests/trunk/build.xml === --- php/phpruntests/trunk/build.xml 2012-04-30 11:55:07 UTC (rev 325480) +++ php/phpruntests/trunk/build.xml 2012-04-30 21:13:32 UTC (rev 325481) @@ -60,8 +60,8 @@ exec command=tar xfz QATESTS.tgz dir=/tmp/phpruntests / -exec command=${php} -n run-tests.php -n -p ${php} /tmp/phpruntests/Zend /tmp/phpruntests/ext /tmp/phpruntests/sapi /tmp/phpruntests/tests ${project.basedir}/_compare/old.out dir=/tmp/phpruntests passthru=true checkReturn=true/ -exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p ${php} -o csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests dir=${project.basedir} passthru=true checkReturn=true / +exec command=${php} -n /Users/zoe/Applications/PHP/php-5.4.0/run-tests.php -n -p ${php} /tmp/phpruntests/Zend /tmp/phpruntests/ext /tmp/phpruntests/sapi /tmp/phpruntests/tests ${project.basedir}/_compare/old.out dir=/tmp/phpruntests passthru=true checkReturn=true/ +exec command=${php} -n ${project.basedir}/src/run-tests.php -n -p ${php} -o csv -s ${project.basedir}/_compare/new.out /tmp/phpruntests dir=/tmp/phpruntests passthru=true checkReturn=true / exec command=${php} -n QA/compareNewOld.php ${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out phpruntests ${project.basedir}/_compare/compare_new_old.out dir=${project.basedir} passthru=true checkReturn=true/ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/phpruntests/trunk/tests/ rtTextTest.php
zoe Thu, 19 Apr 2012 11:11:55 + Revision: http://svn.php.net/viewvc?view=revisionrevision=325332 Log: remove redundant PHPUnit code Changed paths: U php/phpruntests/trunk/tests/rtTextTest.php Modified: php/phpruntests/trunk/tests/rtTextTest.php === --- php/phpruntests/trunk/tests/rtTextTest.php 2012-04-19 10:02:50 UTC (rev 325331) +++ php/phpruntests/trunk/tests/rtTextTest.php 2012-04-19 11:11:55 UTC (rev 325332) @@ -1,6 +1,5 @@ ?php -require_once 'PHPUnit/Framework.php'; require_once dirname(__FILE__) . '/../src/rtAutoload.php'; class rtHelpTextTest extends PHPUnit_Framework_TestCase -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/phpruntests/trunk/code-samples/ Iterator.php
zoe Thu, 19 Apr 2012 11:30:29 + Revision: http://svn.php.net/viewvc?view=revisionrevision=325334 Log: remove public Changed paths: U php/phpruntests/trunk/code-samples/Iterator.php Modified: php/phpruntests/trunk/code-samples/Iterator.php === --- php/phpruntests/trunk/code-samples/Iterator.php 2012-04-19 11:25:39 UTC (rev 325333) +++ php/phpruntests/trunk/code-samples/Iterator.php 2012-04-19 11:30:29 UTC (rev 325334) @@ -1,6 +1,6 @@ ?php - public function getTests($aDirectory) + function getTests($aDirectory) { $result = array(); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/phpruntests/trunk/tests/configuration/ rtCommandLineOptionsTest.php
zoe Thu, 19 Apr 2012 11:37:50 + Revision: http://svn.php.net/viewvc?view=revisionrevision=325335 Log: I do not know how this ever worked, unless we planned to make keep-all have some options? Changed paths: U php/phpruntests/trunk/tests/configuration/rtCommandLineOptionsTest.php Modified: php/phpruntests/trunk/tests/configuration/rtCommandLineOptionsTest.php === --- php/phpruntests/trunk/tests/configuration/rtCommandLineOptionsTest.php 2012-04-19 11:30:29 UTC (rev 325334) +++ php/phpruntests/trunk/tests/configuration/rtCommandLineOptionsTest.php 2012-04-19 11:37:50 UTC (rev 325335) @@ -41,11 +41,10 @@ public function testLongOptionWithArg() { $clo = new rtCommandLineOptions(); -$clo-parse(array('run-tests.php', '--keep-all', 'the-keepall-arg')); +$clo-parse(array('run-tests.php', '--mopts', 'the-memoryoptions-arg')); -$this-assertTrue($clo-hasOption('keep-all')); -var_dump($clo-getOption('keep-all')); -$this-assertEquals('the-keepall-arg', $clo-getOption('keep-all')); +$this-assertTrue($clo-hasOption('mopts')); +$this-assertEquals('the-memoryoptions-arg', $clo-getOption('mopts')); } public function testNonexistingOption() -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/ext/bcmath/tests/bcdiv_error1.phpt branches/PHP_5_2/ext/bcmath/tests/bcdiv_error2.phpt branches/PHP_5_2/ext/bcmath/tests/bcmod_error1.phpt branches/PHP_5_
zoe Mon, 31 Aug 2009 19:22:29 + Revision: http://svn.php.net/viewvc?view=revisionrevision=287925 Log: add missing skipifs Changed paths: U php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error1.phpt U php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error2.phpt U php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcmod_error1.phpt U php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error1.phpt U php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error2.phpt U php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error3.phpt U php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcsqrt_error1.phpt U php/php-src/branches/PHP_5_3/ext/bcmath/tests/bcdiv_error1.phpt U php/php-src/branches/PHP_5_3/ext/bcmath/tests/bcdiv_error2.phpt U php/php-src/branches/PHP_5_3/ext/bcmath/tests/bcmod_error1.phpt U php/php-src/branches/PHP_5_3/ext/bcmath/tests/bcpowmod_error1.phpt U php/php-src/branches/PHP_5_3/ext/bcmath/tests/bcpowmod_error2.phpt U php/php-src/branches/PHP_5_3/ext/bcmath/tests/bcpowmod_error3.phpt U php/php-src/branches/PHP_5_3/ext/bcmath/tests/bcsqrt_error1.phpt U php/php-src/trunk/ext/bcmath/tests/bcdiv_error1.phpt U php/php-src/trunk/ext/bcmath/tests/bcdiv_error2.phpt U php/php-src/trunk/ext/bcmath/tests/bcmod_error1.phpt U php/php-src/trunk/ext/bcmath/tests/bcpowmod_error1.phpt U php/php-src/trunk/ext/bcmath/tests/bcpowmod_error2.phpt U php/php-src/trunk/ext/bcmath/tests/bcpowmod_error3.phpt U php/php-src/trunk/ext/bcmath/tests/bcsqrt_error1.phpt Modified: php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error1.phpt === --- php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error1.phpt 2009-08-31 18:12:47 UTC (rev 287924) +++ php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error1.phpt 2009-08-31 19:22:29 UTC (rev 287925) @@ -4,6 +4,8 @@ TestFest2009 Antoni Torrents ant...@solucionsinternet.com +--SKIPIF-- +?php if(!extension_loaded(bcmath)) print skip; ? --FILE-- ?php echo bcdiv('10.99', '0'); Modified: php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error2.phpt === --- php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error2.phpt 2009-08-31 18:12:47 UTC (rev 287924) +++ php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error2.phpt 2009-08-31 19:22:29 UTC (rev 287925) @@ -3,6 +3,8 @@ --CREDITS-- Antoni Torrents ant...@solucionsinternet.com +--SKIPIF-- +?php if(!extension_loaded(bcmath)) print skip; ? --FILE-- ?php echo bcdiv('1', '2', '3', '4'); Modified: php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcmod_error1.phpt === --- php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcmod_error1.phpt 2009-08-31 18:12:47 UTC (rev 287924) +++ php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcmod_error1.phpt 2009-08-31 19:22:29 UTC (rev 287925) @@ -3,6 +3,8 @@ --CREDITS-- Antoni Torrents ant...@solucionsinternet.com +--SKIPIF-- +?php if(!extension_loaded(bcmath)) print skip; ? --FILE-- ?php echo bcmod('1', '2', '3'); Modified: php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error1.phpt === --- php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error1.phpt 2009-08-31 18:12:47 UTC (rev 287924) +++ php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error1.phpt 2009-08-31 19:22:29 UTC (rev 287925) @@ -3,6 +3,8 @@ --CREDITS-- Antoni Torrents ant...@solucionsinternet.com +--SKIPIF-- +?php if(!extension_loaded(bcmath)) print skip; ? --FILE-- ?php echo bcpowmod('1'); Modified: php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error2.phpt === --- php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error2.phpt 2009-08-31 18:12:47 UTC (rev 287924) +++ php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error2.phpt 2009-08-31 19:22:29 UTC (rev 287925) @@ -3,6 +3,8 @@ --CREDITS-- Antoni Torrents ant...@solucionsinternet.com +--SKIPIF-- +?php if(!extension_loaded(bcmath)) print skip; ? --FILE-- ?php echo bcpowmod('1', '2'); Modified: php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error3.phpt === --- php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error3.phpt 2009-08-31 18:12:47 UTC (rev 287924) +++ php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error3.phpt 2009-08-31 19:22:29 UTC (rev 287925) @@ -3,6 +3,8 @@ --CREDITS-- Antoni Torrents ant...@solucionsinternet.com +--SKIPIF-- +?php if(!extension_loaded(bcmath)) print skip; ? --FILE-- ?php echo bcpowmod('1', '2', '3', '4', '5'); Modified: php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcsqrt_error1.phpt
[PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/ext/standard/tests/general_functions/getservbyport_basic.phpt branches/PHP_5_3/ext/standard/tests/general_functions/getservbyport_basic.phpt trunk/ext/sta
zoe Sun, 30 Aug 2009 08:18:53 + Revision: http://svn.php.net/viewvc?view=revisionrevision=287892 Log: Fixed to allow for http etc Changed paths: U php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/getservbyport_basic.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/getservbyport_basic.phpt U php/php-src/trunk/ext/standard/tests/general_functions/getservbyport_basic.phpt Modified: php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/getservbyport_basic.phpt === --- php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/getservbyport_basic.phpt 2009-08-30 08:08:00 UTC (rev 287891) +++ php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/getservbyport_basic.phpt 2009-08-30 08:18:53 UTC (rev 287892) @@ -13,10 +13,14 @@ else die(PHP_OS. unsupported); if(file_exists($file)){ - var_dump(getservbyport( 80, tcp ) === www); + $services = file_get_contents($file); +$service = getservbyport( 80, tcp ); +if(preg_match(/$service\s+80\/tcp/, $services)) { + echo PASS\n; + } }else{ - var_dump(getservbyport(80, tcp) === false); + echo Services file not found in expected location\n; } ? ---EXPECTF-- -bool(true) +--EXPECT-- +PASS Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/getservbyport_basic.phpt === --- php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/getservbyport_basic.phpt 2009-08-30 08:08:00 UTC (rev 287891) +++ php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/getservbyport_basic.phpt 2009-08-30 08:18:53 UTC (rev 287892) @@ -13,10 +13,14 @@ else die(PHP_OS. unsupported); if(file_exists($file)){ - var_dump(getservbyport( 80, tcp ) === www); + $services = file_get_contents($file); +$service = getservbyport( 80, tcp ); +if(preg_match(/$service\s+80\/tcp/, $services)) { + echo PASS\n; + } }else{ - var_dump(getservbyport(80, tcp) === false); + echo Services file not found in expected location\n; } ? ---EXPECTF-- -bool(true) +--EXPECT-- +PASS Modified: php/php-src/trunk/ext/standard/tests/general_functions/getservbyport_basic.phpt === --- php/php-src/trunk/ext/standard/tests/general_functions/getservbyport_basic.phpt 2009-08-30 08:08:00 UTC (rev 287891) +++ php/php-src/trunk/ext/standard/tests/general_functions/getservbyport_basic.phpt 2009-08-30 08:18:53 UTC (rev 287892) @@ -13,10 +13,14 @@ else die(PHP_OS. unsupported); if(file_exists($file)){ - var_dump(getservbyport( 80, tcp ) === www); + $services = file_get_contents($file); +$service = getservbyport( 80, tcp ); +if(preg_match(/$service\s+80\/tcp/, $services)) { + echo PASS\n; + } }else{ - var_dump(getservbyport(80, tcp) === false); + echo Services file not found in expected location\n; } ? ---EXPECTF-- -bool(true) +--EXPECT-- +PASS -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/ext/bcmath/tests/bcdiv_error1.phpt branches/PHP_5_2/ext/bcmath/tests/bcdiv_error2.phpt branches/PHP_5_2/ext/bcmath/tests/bcmod_error1.phpt branches/PHP_5_
zoe Sun, 30 Aug 2009 11:10:20 + Revision: http://svn.php.net/viewvc?view=revisionrevision=287895 Log: bc math tests from testfest 2009 Changed paths: A php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error1.phpt A php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error2.phpt A php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcmod_error1.phpt A php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error1.phpt A php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error2.phpt A php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error3.phpt A php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcsqrt_error1.phpt A php/php-src/branches/PHP_5_3/ext/bcmath/tests/bcdiv_error1.phpt A php/php-src/branches/PHP_5_3/ext/bcmath/tests/bcdiv_error2.phpt A php/php-src/branches/PHP_5_3/ext/bcmath/tests/bcmod_error1.phpt A php/php-src/branches/PHP_5_3/ext/bcmath/tests/bcpowmod_error1.phpt A php/php-src/branches/PHP_5_3/ext/bcmath/tests/bcpowmod_error2.phpt A php/php-src/branches/PHP_5_3/ext/bcmath/tests/bcpowmod_error3.phpt A php/php-src/branches/PHP_5_3/ext/bcmath/tests/bcsqrt_error1.phpt A php/php-src/trunk/ext/bcmath/tests/bcdiv_error1.phpt A php/php-src/trunk/ext/bcmath/tests/bcdiv_error2.phpt A php/php-src/trunk/ext/bcmath/tests/bcmod_error1.phpt A php/php-src/trunk/ext/bcmath/tests/bcpowmod_error1.phpt A php/php-src/trunk/ext/bcmath/tests/bcpowmod_error2.phpt A php/php-src/trunk/ext/bcmath/tests/bcpowmod_error3.phpt A php/php-src/trunk/ext/bcmath/tests/bcsqrt_error1.phpt Added: php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error1.phpt === --- php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error1.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error1.phpt 2009-08-30 11:10:20 UTC (rev 287895) @@ -0,0 +1,12 @@ +--TEST-- +bcdiv — Divide two arbitrary precision numbers +--CREDITS-- +TestFest2009 +Antoni Torrents +ant...@solucionsinternet.com +--FILE-- +?php +echo bcdiv('10.99', '0'); +? +--EXPECTF-- +Warning: bcdiv(): Division by zero in %s.php on line %d Property changes on: php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error1.phpt ___ Added: svn:executable + * Added: php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error2.phpt === --- php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error2.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcdiv_error2.phpt 2009-08-30 11:10:20 UTC (rev 287895) @@ -0,0 +1,11 @@ +--TEST-- +bcdiv — Divide two arbitrary precision numbers +--CREDITS-- +Antoni Torrents +ant...@solucionsinternet.com +--FILE-- +?php +echo bcdiv('1', '2', '3', '4'); +? +--EXPECTF-- +Warning: Wrong parameter count for bcdiv() in %s.php on line %d Added: php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcmod_error1.phpt === --- php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcmod_error1.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcmod_error1.phpt 2009-08-30 11:10:20 UTC (rev 287895) @@ -0,0 +1,11 @@ +--TEST-- +bcmod — Get modulus of an arbitrary precision number +--CREDITS-- +Antoni Torrents +ant...@solucionsinternet.com +--FILE-- +?php +echo bcmod('1', '2', '3'); +? +--EXPECTF-- +Warning: Wrong parameter count for bcmod() in %s.php on line %d Added: php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error1.phpt === --- php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error1.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error1.phpt 2009-08-30 11:10:20 UTC (rev 287895) @@ -0,0 +1,11 @@ +--TEST-- +bcpowmod — Raise an arbitrary precision number to another, reduced by a specified modulus +--CREDITS-- +Antoni Torrents +ant...@solucionsinternet.com +--FILE-- +?php +echo bcpowmod('1'); +? +--EXPECTF-- +Warning: bcpowmod() expects at least 3 parameters, 1 given in %s.php on line %d Property changes on: php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error1.phpt ___ Added: svn:executable + * Added: php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error2.phpt === --- php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error2.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/bcmath/tests/bcpowmod_error2.phpt 2009-08-30 11:10:20 UTC (rev 287895) @@ -0,0 +1,11 @@ +--TEST-- +bcpowmod — Raise an arbitrary precision number to another, reduced by a specified modulus
[PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/ext/standard/tests/general_functions/get_cfg_var_variation1.phpt branches/PHP_5_2/ext/standard/tests/general_functions/get_cfg_var_variation6.phpt branche
zoe Sun, 30 Aug 2009 12:19:50 + Revision: http://svn.php.net/viewvc?view=revisionrevision=287896 Log: More tests from 2009 testfest Changed paths: A php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/get_cfg_var_variation1.phpt A php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/get_cfg_var_variation6.phpt A php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/get_cfg_var_variation8.phpt A php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/getservbyname_variation1.phpt A php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/getservbyname_variation13.phpt A php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/getservbyname_variation6.phpt A php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/getservbyname_variation8.phpt A php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/get_cfg_var_variation1.phpt A php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/get_cfg_var_variation6.phpt A php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/get_cfg_var_variation8.phpt A php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/getservbyname_variation1.phpt A php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/getservbyname_variation13.phpt A php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/getservbyname_variation6.phpt A php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/getservbyname_variation8.phpt A php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/getservbyport_variation1.phpt A php/php-src/trunk/ext/standard/tests/general_functions/get_cfg_var_variation1.phpt A php/php-src/trunk/ext/standard/tests/general_functions/get_cfg_var_variation6.phpt A php/php-src/trunk/ext/standard/tests/general_functions/get_cfg_var_variation8.phpt A php/php-src/trunk/ext/standard/tests/general_functions/getservbyname_variation1.phpt A php/php-src/trunk/ext/standard/tests/general_functions/getservbyname_variation13.phpt A php/php-src/trunk/ext/standard/tests/general_functions/getservbyname_variation6.phpt A php/php-src/trunk/ext/standard/tests/general_functions/getservbyname_variation8.phpt A php/php-src/trunk/ext/standard/tests/general_functions/getservbyport_variation1.phpt Added: php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/get_cfg_var_variation1.phpt === --- php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/get_cfg_var_variation1.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/get_cfg_var_variation1.phpt 2009-08-30 12:19:50 UTC (rev 287896) @@ -0,0 +1,46 @@ +--TEST-- +Test function get_cfg_var() by substituting argument 1 with array values. +--CREDITS-- +Francesco Fullone f...@ideato.it +#PHPTestFest Cesena Italia on 2009-06-20 +--INI-- +session.use_cookies=0 +session.serialize_handler=php +session.save_handler=files +--FILE-- +?php + + +echo *** Test substituting argument 1 with array values ***\n; + + + +$index_array = array(1, 2, 3); +$assoc_array = array(1 = 'one', 2 = 'two'); + +$variation_array = array( + 'empty array' = array(), + 'int indexed array' = $index_array, + 'associative array' = $assoc_array, + 'nested arrays' = array('foo', $index_array, $assoc_array), + ); + + +foreach ( $variation_array as $var ) { + var_dump(get_cfg_var( $var ) ); +} +? +--EXPECTF-- +*** Test substituting argument 1 with array values *** + +Notice: Array to string conversion in %s.php on line %d +bool(false) + +Notice: Array to string conversion in %s.php on line %d +bool(false) + +Notice: Array to string conversion in %s.php on line %d +bool(false) + +Notice: Array to string conversion in %s.php on line %d +bool(false) Added: php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/get_cfg_var_variation6.phpt === --- php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/get_cfg_var_variation6.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/get_cfg_var_variation6.phpt 2009-08-30 12:19:50 UTC (rev 287896) @@ -0,0 +1,41 @@ +--TEST-- +Test function get_cfg_var() by substituting argument 1 with object values. +--CREDITS-- +Francesco Fullone f...@ideato.it +#PHPTestFest Cesena Italia on 2009-06-20 +--INI-- +session.use_cookies=0 +session.serialize_handler=php +session.save_handler=files +--FILE-- +?php + + +echo *** Test substituting argument 1 with object values ***\n; + +class classWithToString +{ +public function __toString() { +return session.use_cookies; +} +} + +class classWithoutToString
[PHP-CVS] svn: /php/phpruntests/trunk/src/testcase/ rtPhpTest.php rtTestResults.php rtTestStatus.php sections/executablesections/rtFileSection.php
zoe Sat, 08 Aug 2009 20:22:39 + Revision: http://svn.php.net/viewvc?view=revisionrevision=286934 Log: reworked valgrind support to be a little more in line with run-tests.php Changed paths: U php/phpruntests/trunk/src/testcase/rtPhpTest.php U php/phpruntests/trunk/src/testcase/rtTestResults.php U php/phpruntests/trunk/src/testcase/rtTestStatus.php U php/phpruntests/trunk/src/testcase/sections/executablesections/rtFileSection.php Modified: php/phpruntests/trunk/src/testcase/rtPhpTest.php === --- php/phpruntests/trunk/src/testcase/rtPhpTest.php2009-08-08 20:11:30 UTC (rev 286933) +++ php/phpruntests/trunk/src/testcase/rtPhpTest.php2009-08-08 20:22:39 UTC (rev 286934) @@ -79,8 +79,6 @@ //Identify the file and expect section types $this-fileSection = $this-setFileSection(); $this-expectSection = $this-setExpectSection(); -$this-fileSection-setExecutableFileName($this-getName()); - } Modified: php/phpruntests/trunk/src/testcase/rtTestResults.php === --- php/phpruntests/trunk/src/testcase/rtTestResults.php2009-08-08 20:11:30 UTC (rev 286933) +++ php/phpruntests/trunk/src/testcase/rtTestResults.php2009-08-08 20:22:39 UTC (rev 286934) @@ -113,6 +113,10 @@ $testCase-getSection('SKIPIF')-deleteFile(); } +if($testCase-getStatus()-getValue('leak') == true) { +$this-savedFileNames['mem'] = $testCase-getSection('FILE')-getMemFileName(); +} + } protected function onFail(rtPhpTest $testCase) @@ -146,6 +150,10 @@ if ($testCase-hasSection('SKIPIF')) { $this-savedFileNames['skipif'] = $this-testName. 'skipif.php'; } + +if($testCase-getStatus()-getValue('leak') == true) { +$this-savedFileNames['mem'] = $testCase-getSection('FILE')-getMemFileName(); +} } protected function onSkip(rtPhpTest $testCase, rtRuntestsConfiguration $runConfiguration) @@ -153,10 +161,10 @@ if ($runConfiguration-hasCommandLineOption('keep-all') || $runConfiguration-hasCommandLineOption('keep-skip')) { $this-savedFileNames['skipif'] = $this-testName. 'skipif.php'; } else if($testCase-hasSection('SKIPIF')) { -$skipSection = $testCase-getSection('SKIPIF'); -$skipSection-deleteFile(); +$testCase-getSection('SKIPIF')-deleteFile(); } +//TODO I think this can go? Have since updated code to BORK on finding blank sections //It may seem odd to check for an XFAIL if we are skipping the test, on the other hand I found //a few windows tests with blank XFAIL sections and wanted to know about those. @@ -166,6 +174,8 @@ } } + + public function getStatus() { return $this-testStatus; Modified: php/phpruntests/trunk/src/testcase/rtTestStatus.php === --- php/phpruntests/trunk/src/testcase/rtTestStatus.php 2009-08-08 20:11:30 UTC (rev 286933) +++ php/phpruntests/trunk/src/testcase/rtTestStatus.php 2009-08-08 20:22:39 UTC (rev 286934) @@ -27,6 +27,7 @@ 'fail_skip', 'fail_headers', 'pass_headers', +'leak', ); public function __construct($testName) Modified: php/phpruntests/trunk/src/testcase/sections/executablesections/rtFileSection.php === --- php/phpruntests/trunk/src/testcase/sections/executablesections/rtFileSection.php 2009-08-08 20:11:30 UTC (rev 286933) +++ php/phpruntests/trunk/src/testcase/sections/executablesections/rtFileSection.php 2009-08-08 20:22:39 UTC (rev 286934) @@ -18,13 +18,9 @@ protected $headers; protected $memFileName; -public function setExecutableFileName($testName) -{ -$this-fileName = $testName . .php; -$this-memFileName = $testName . .mem; -} - protected function init() { +$this-fileName = $this-testName . .php; +$this-memFileName = $this-testName . .mem; } public function run(rtPhpTest $testCase, rtRuntestsConfiguration $runConfiguration) @@ -83,6 +79,15 @@ $testStatus-setMessage('fail', $e-getMessage() ); } + +if($runConfiguration-hasMemoryTool()) { +if(filesize($this-memFileName) 0) { +$testStatus-setTrue('leak'); +} else { +$this-deleteMemFile(); +} +} + return $testStatus; } @@ -99,5 +104,10 @@ @unlink($this-memFileName); } + +public function getMemFileName() { +return $this-memFileName
[PHP-CVS] svn: /php/phpruntests/trunk/src/ configuration/preconditions/rtIsPhpVersionCorrect.php configuration/rtEnvironmentVariables.php configuration/rtRuntestsConfiguration.php configuration/settin
zoe Thu, 06 Aug 2009 11:48:12 + Revision: http://svn.php.net/viewvc?view=revisionrevision=286881 Log: change to use protected rather than private Changed paths: U php/phpruntests/trunk/src/configuration/preconditions/rtIsPhpVersionCorrect.php U php/phpruntests/trunk/src/configuration/rtEnvironmentVariables.php U php/phpruntests/trunk/src/configuration/rtRuntestsConfiguration.php U php/phpruntests/trunk/src/configuration/settings/rtCurrentDirectorySetting.php U php/phpruntests/trunk/src/configuration/settings/rtLogFormatSetting.php U php/phpruntests/trunk/src/configuration/settings/rtPhpCgiExecutableSetting.php U php/phpruntests/trunk/src/configuration/settings/rtPhpCommandLineArgSetting.php U php/phpruntests/trunk/src/configuration/settings/rtPhpExecutableSetting.php U php/phpruntests/trunk/src/configuration/settings/rtTestDirectorySetting.php U php/phpruntests/trunk/src/configuration/settings/rtTestFileSetting.php U php/phpruntests/trunk/src/configuration/settings/rtWorkingDirectorySetting.php U php/phpruntests/trunk/src/taskScheduler/rtTaskSchedulerFile.php U php/phpruntests/trunk/src/taskScheduler/rtTaskSchedulerMsgQ.php U php/phpruntests/trunk/src/taskScheduler/rtTaskTestGroup.php U php/phpruntests/trunk/src/testcase/output/rtTestOutputWriterHTML.php U php/phpruntests/trunk/src/testcase/output/rtTestOutputWriterXML.php U php/phpruntests/trunk/src/testcase/preconditions/rtHasNoEmptySections.php U php/phpruntests/trunk/src/testcase/preconditions/rtIsSectionImplemented.php U php/phpruntests/trunk/src/testcase/preconditions/rtIsValidSectionName.php U php/phpruntests/trunk/src/testcase/rtPhpRunner.php U php/phpruntests/trunk/src/testcase/rtPhpTest.php U php/phpruntests/trunk/src/testcase/rtPhpTestFile.php U php/phpruntests/trunk/src/testcase/rtTestConfiguration.php U php/phpruntests/trunk/src/testcase/rtTestDifference.php U php/phpruntests/trunk/src/testcase/rtTestResults.php U php/phpruntests/trunk/src/testcase/rtTestStatus.php U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtArgsSection.php U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtCookieSection.php U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtDeflatePostSection.php U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtEnvSection.php U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtGetSection.php U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtGzipPostSection.php U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtIniSection.php U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtPostRawSection.php U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtPostSection.php U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtStdinSection.php U php/phpruntests/trunk/src/testcase/sections/executablesections/rtFileExternalSection.php U php/phpruntests/trunk/src/testcase/sections/executablesections/rtFileSection.php U php/phpruntests/trunk/src/testcase/sections/outputsections/rtExpectFSection.php U php/phpruntests/trunk/src/testcase/sections/rtSection.php U php/phpruntests/trunk/src/testgroup/rtPhpTestGroup.php U php/phpruntests/trunk/src/testrun/rtPhpTestRun.php Modified: php/phpruntests/trunk/src/configuration/preconditions/rtIsPhpVersionCorrect.php === --- php/phpruntests/trunk/src/configuration/preconditions/rtIsPhpVersionCorrect.php 2009-08-06 11:11:15 UTC (rev 286880) +++ php/phpruntests/trunk/src/configuration/preconditions/rtIsPhpVersionCorrect.php 2009-08-06 11:48:12 UTC (rev 286881) @@ -19,12 +19,12 @@ /** * @var int */ -private $requiredMajorVersion = 5; +protected $requiredMajorVersion = 5; /** * @var int */ -private $requiredMinorVersion = 3; +protected $requiredMinorVersion = 3; /** * Return the message associated with an invalid php-version Modified: php/phpruntests/trunk/src/configuration/rtEnvironmentVariables.php === --- php/phpruntests/trunk/src/configuration/rtEnvironmentVariables.php 2009-08-06 11:11:15 UTC (rev 286880) +++ php/phpruntests/trunk/src/configuration/rtEnvironmentVariables.php 2009-08-06 11:48:12 UTC (rev 286881) @@ -31,7 +31,7 @@ 'NO_PHPTEST_SUMMARY', ); -private $environmentVariables = array(); +protected $environmentVariables = array(); public function __construct() { Modified: php/phpruntests/trunk/src/configuration/rtRuntestsConfiguration.php
[PHP-CVS] svn: /php/phpruntests/trunk/src/testcase/sections/ rtExecutableSection.php
zoe Wed, 05 Aug 2009 21:04:55 + Revision: http://svn.php.net/viewvc?view=revisionrevision=286854 Log: fixing phar/tests/005.phpt on windows Changed paths: U php/phpruntests/trunk/src/testcase/sections/rtExecutableSection.php Modified: php/phpruntests/trunk/src/testcase/sections/rtExecutableSection.php === --- php/phpruntests/trunk/src/testcase/sections/rtExecutableSection.php 2009-08-05 20:30:21 UTC (rev 286853) +++ php/phpruntests/trunk/src/testcase/sections/rtExecutableSection.php 2009-08-05 21:04:55 UTC (rev 286854) @@ -25,8 +25,9 @@ protected function writeExecutableFile() { -// @todo I think \n could be replaced with PHP_EOL here - need to check on Windows. -$contentsAsString = implode(\n, $this-sectionContents) . PHP_EOL; +// Don't even think anout replacing the \n with PHP_EOL +// It causes stuff (ext/phar/tests/005.phpt) on windows. +$contentsAsString = implode(\n, $this-sectionContents) . \n; file_put_contents($this-fileName, (binary) $contentsAsString); } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/phpruntests/trunk/src/testcase/ rtPhpTest.php rtTestResults.php sections/configurationsections/rtDeflatePostSection.php sections/configurationsections/rtGzipPostSection.php section
zoe Tue, 04 Aug 2009 21:46:19 + Revision: http://svn.php.net/viewvc?view=revisionrevision=286820 Log: Change to the way POST section files are created Changed paths: U php/phpruntests/trunk/src/testcase/rtPhpTest.php U php/phpruntests/trunk/src/testcase/rtTestResults.php U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtDeflatePostSection.php U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtGzipPostSection.php U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtPostRawSection.php U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtPostSection.php U php/phpruntests/trunk/src/testcase/sections/rtSection.php Modified: php/phpruntests/trunk/src/testcase/rtPhpTest.php === --- php/phpruntests/trunk/src/testcase/rtPhpTest.php2009-08-04 21:43:16 UTC (rev 286819) +++ php/phpruntests/trunk/src/testcase/rtPhpTest.php2009-08-04 21:46:19 UTC (rev 286820) @@ -62,7 +62,7 @@ if($this-isFileSection($sectionKey)) { $tempArray = $this-removeDone($tempArray); } -$testSection = rtSection::getInstance($sectionKey, $tempArray); +$testSection = rtSection::getInstance($sectionKey, $tempArray, $this-testName); $this-sections[$sectionKey] = $testSection; break; } else { @@ -72,7 +72,7 @@ } } -$testSection = rtSection::getInstance($lastSection, $tempArray); +$testSection = rtSection::getInstance($lastSection, $tempArray, $this-testName); $this-sections[$lastSection] = $testSection; Modified: php/phpruntests/trunk/src/testcase/rtTestResults.php === --- php/phpruntests/trunk/src/testcase/rtTestResults.php2009-08-04 21:43:16 UTC (rev 286819) +++ php/phpruntests/trunk/src/testcase/rtTestResults.php2009-08-04 21:46:19 UTC (rev 286820) @@ -64,6 +64,13 @@ @unlink($this-testName . '.mem'); } } + +//always delete temporary files used in POST sections +if(file_exists($this-testName . '.post')) { +@unlink($this-testName . '.post'); +} + + } /** Modified: php/phpruntests/trunk/src/testcase/sections/configurationsections/rtDeflatePostSection.php === --- php/phpruntests/trunk/src/testcase/sections/configurationsections/rtDeflatePostSection.php 2009-08-04 21:43:16 UTC (rev 286819) +++ php/phpruntests/trunk/src/testcase/sections/configurationsections/rtDeflatePostSection.php 2009-08-04 21:46:19 UTC (rev 286820) @@ -26,7 +26,7 @@ $this-postVariables['CONTENT_LENGTH'] = strlen($compressedPostString); $this-postVariables['REQUEST_METHOD'] = 'POST'; -$this-postFileName = tempnam(sys_get_temp_dir(), 'post'); +$this-postFileName = $this-testName . .post; file_put_contents($this-postFileName, $compressedPostString); } Modified: php/phpruntests/trunk/src/testcase/sections/configurationsections/rtGzipPostSection.php === --- php/phpruntests/trunk/src/testcase/sections/configurationsections/rtGzipPostSection.php 2009-08-04 21:43:16 UTC (rev 286819) +++ php/phpruntests/trunk/src/testcase/sections/configurationsections/rtGzipPostSection.php 2009-08-04 21:46:19 UTC (rev 286820) @@ -26,7 +26,7 @@ $this-postVariables['CONTENT_LENGTH'] = strlen($gzipPostString); $this-postVariables['REQUEST_METHOD'] = 'POST'; -$this-postFileName = tempnam(sys_get_temp_dir(), 'post'); +$this-postFileName = $this-testName . .post; file_put_contents($this-postFileName, $gzipPostString); } Modified: php/phpruntests/trunk/src/testcase/sections/configurationsections/rtPostRawSection.php === --- php/phpruntests/trunk/src/testcase/sections/configurationsections/rtPostRawSection.php 2009-08-04 21:43:16 UTC (rev 286819) +++ php/phpruntests/trunk/src/testcase/sections/configurationsections/rtPostRawSection.php 2009-08-04 21:46:19 UTC (rev 286820) @@ -36,8 +36,8 @@ $this-postVariables['CONTENT_LENGTH'] = strlen($postString); $this-postVariables['REQUEST_METHOD'] = 'POST'; -$this-postFileName = tempnam(sys_get_temp_dir(), 'post'); - +$this-postFileName = $this-testName . .post; + file_put_contents($this-postFileName, $postString); } Modified: php/phpruntests/trunk/src/testcase/sections/configurationsections/rtPostSection.php
[PHP-CVS] svn: /php/phpruntests/trunk/tests/testcase/ rtTestConfigurationTest.php rtTestDifferenceTest.php sections/configurationsections/rtArgsSectionTest.php sections/configurationsections/rtCookieS
zoe Tue, 04 Aug 2009 21:47:03 + Revision: http://svn.php.net/viewvc?view=revisionrevision=286821 Log: Change to the way POST section files are created Changed paths: U php/phpruntests/trunk/tests/testcase/rtTestConfigurationTest.php U php/phpruntests/trunk/tests/testcase/rtTestDifferenceTest.php U php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtArgsSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtCookieSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtDeflatePostSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtEnvSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtGetSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtGzipPostSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtIniSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtPostRawSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtPostSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/executablesections/rtCleanSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/executablesections/rtFileExternalSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/executablesections/rtFileSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/executablesections/rtSkipIfSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/informationsections/rtCreditsSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/informationsections/rtTestHeaderSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/informationsections/rtXfailSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/outputsections/rtExpectFSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/outputsections/rtExpectHeadersSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/outputsections/rtExpectRegexSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/outputsections/rtExpectSectionTest.php U php/phpruntests/trunk/tests/testcase/sections/rtSectionTest.php Modified: php/phpruntests/trunk/tests/testcase/rtTestConfigurationTest.php === --- php/phpruntests/trunk/tests/testcase/rtTestConfigurationTest.php 2009-08-04 21:46:19 UTC (rev 286820) +++ php/phpruntests/trunk/tests/testcase/rtTestConfigurationTest.php 2009-08-04 21:47:03 UTC (rev 286821) @@ -11,10 +11,10 @@ { $this-php = $this-php = trim(shell_exec(which php)); -$this-sections['ARGS'] = rtArgsSection::getInstance('ARGS', array('-vvv -a value - -2 -v')); -$this-sections['ENV'] = rtEnvSection::getInstance('ENV', array('env1 = ENV1', 'env2=ENV2')); -$this-sections['INI'] = rtIniSection::getInstance('INI', array('error_reporting=E_ALL | E_STRICT | E_DEPRECATED', 'assert.active = 1')); -$this-sections['FILE'] = rtFileSection::getInstance('FILE', array('blah')); +$this-sections['ARGS'] = rtArgsSection::getInstance('ARGS', array('-vvv -a value - -2 -v'), 'testname'); +$this-sections['ENV'] = rtEnvSection::getInstance('ENV', array('env1 = ENV1', 'env2=ENV2'), 'testname'); +$this-sections['INI'] = rtIniSection::getInstance('INI', array('error_reporting=E_ALL | E_STRICT | E_DEPRECATED', 'assert.active = 1'), 'testname'); +$this-sections['FILE'] = rtFileSection::getInstance('FILE', array('blah'), 'testname'); } Modified: php/phpruntests/trunk/tests/testcase/rtTestDifferenceTest.php === --- php/phpruntests/trunk/tests/testcase/rtTestDifferenceTest.php 2009-08-04 21:46:19 UTC (rev 286820) +++ php/phpruntests/trunk/tests/testcase/rtTestDifferenceTest.php 2009-08-04 21:47:03 UTC (rev 286821) @@ -7,7 +7,7 @@ { public function testTestDifference() { -$expectSection = rtExpectSection::getInstance('EXPECT', array('Hello World')); +$expectSection = rtExpectSection::getInstance('EXPECT', array('Hello World'), 'testname'); $testDifference = new rtTestDifference($expectSection, 'Hello Dolly'); $difference = $testDifference-getDifference(); Modified: php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtArgsSectionTest.php === --- php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtArgsSectionTest.php 2009-08-04 21:46:19 UTC (rev 286820) +++ php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtArgsSectionTest.php 2009-08-04 21:47:03 UTC (rev 286821) @@ -7,7 +7,7 @@ { public
[PHP-CVS] svn: /php/phpruntests/trunk/tests/configuration/ rtExternalToolTest.php rtMemoryToolTest.php
zoe Mon, 03 Aug 2009 09:48:53 + Revision: http://svn.php.net/viewvc?view=revisionrevision=286720 Log: oops Changed paths: D php/phpruntests/trunk/tests/configuration/rtExternalToolTest.php A + php/phpruntests/trunk/tests/configuration/rtMemoryToolTest.php (from php/phpruntests/trunk/tests/configuration/rtExternalToolTest.php:r286467) Deleted: php/phpruntests/trunk/tests/configuration/rtExternalToolTest.php === --- php/phpruntests/trunk/tests/configuration/rtExternalToolTest.php 2009-08-03 08:45:28 UTC (rev 286719) +++ php/phpruntests/trunk/tests/configuration/rtExternalToolTest.php 2009-08-03 09:48:53 UTC (rev 286720) @@ -1,38 +0,0 @@ -?php -require_once 'PHPUnit/Framework.php'; -require_once dirname(__FILE__) . '../../../src/rtAutoload.php'; - -class rtExternalToolTest extends PHPUnit_Framework_TestCase -{ - - -public function testCreate() -{ - -$config = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-m', 'test.phpt')); -$this-externalTool = rtExternalTool::getInstance($config); -$this-externalTool-checkAvailable($config); -$this-externalTool-init($config); - -$string = substr($this-externalTool-getCommand(), 0, 48); - -$this-assertEquals('valgrind -q --tool=memcheck --trace-children=yes', $string); - -} - -public function testCreate2() -{ - -$config = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-m', '--mopts', 'blah blah', 'test.phpt')); -$this-externalTool = rtExternalTool::getInstance($config); -$this-externalTool-checkAvailable($config); -$this-externalTool-init($config); - -$string = substr($this-externalTool-getCommand(), 0, 58); -$this-assertEquals('valgrind -q --tool=memcheck --trace-children=yes blah blah', $string); - -} - -} -? - Copied: php/phpruntests/trunk/tests/configuration/rtMemoryToolTest.php (from rev 286467, php/phpruntests/trunk/tests/configuration/rtExternalToolTest.php) === --- php/phpruntests/trunk/tests/configuration/rtMemoryToolTest.php (rev 0) +++ php/phpruntests/trunk/tests/configuration/rtMemoryToolTest.php 2009-08-03 09:48:53 UTC (rev 286720) @@ -0,0 +1,38 @@ +?php +require_once 'PHPUnit/Framework.php'; +require_once dirname(__FILE__) . '../../../src/rtAutoload.php'; + +class rtMemoryToolTest extends PHPUnit_Framework_TestCase +{ + + +public function testCreate() +{ + +$config = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-m', 'test.phpt')); +$this-memoryTool = rtMemoryTool::getInstance($config); +$this-memoryTool-checkAvailable($config); +$this-memoryTool-init($config); + +$string = substr($this-memoryTool-getCommand(), 0, 48); + +$this-assertEquals('valgrind -q --tool=memcheck --trace-children=yes', $string); + +} + +public function testCreate2() +{ + +$config = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-m', '--mopts', 'blah blah', 'test.phpt')); +$this-memoryTool = rtMemoryTool::getInstance($config); +$this-memoryTool-checkAvailable($config); +$this-memoryTool-init($config); + +$string = substr($this-memoryTool-getCommand(), 0, 58); +$this-assertEquals('valgrind -q --tool=memcheck --trace-children=yes blah blah', $string); + +} + +} +? + -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/phpruntests/trunk/src/testcase/sections/configurationsections/ rtStdinSection.php
zoe Mon, 03 Aug 2009 11:59:30 + Revision: http://svn.php.net/viewvc?view=revisionrevision=286729 Log: fixing to run on Windows Changed paths: U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtStdinSection.php Modified: php/phpruntests/trunk/src/testcase/sections/configurationsections/rtStdinSection.php === --- php/phpruntests/trunk/src/testcase/sections/configurationsections/rtStdinSection.php 2009-08-03 11:41:53 UTC (rev 286728) +++ php/phpruntests/trunk/src/testcase/sections/configurationsections/rtStdinSection.php 2009-08-03 11:59:30 UTC (rev 286729) @@ -19,7 +19,8 @@ protected function init() { -$this-inputString = join($this-sectionContents, PHP_EOL) . PHP_EOL; +//This really does need to be \n not PHPEOL. +$this-inputString = join($this-sectionContents, \n) . \n; } public function getInputString() { -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/phpruntests/trunk/ src/configuration/rtCommandLineOptions.php src/configuration/rtExternalTool.php src/configuration/rtRuntestsConfiguration.php src/configuration/tools/rtValgrind.
zoe Tue, 28 Jul 2009 20:48:15 + Revision: http://svn.php.net/viewvc?view=revisionrevision=286467 Log: code to use an external memory checker (valgrind) framework to add others Changed paths: U php/phpruntests/trunk/src/configuration/rtCommandLineOptions.php A php/phpruntests/trunk/src/configuration/rtExternalTool.php U php/phpruntests/trunk/src/configuration/rtRuntestsConfiguration.php A php/phpruntests/trunk/src/configuration/tools/ A php/phpruntests/trunk/src/configuration/tools/rtValgrind.php U php/phpruntests/trunk/src/rtClassMap.php U php/phpruntests/trunk/src/testcase/rtTestConfiguration.php U php/phpruntests/trunk/src/testcase/sections/executablesections/rtFileSection.php A php/phpruntests/trunk/tests/configuration/rtExternalToolTest.php Modified: php/phpruntests/trunk/src/configuration/rtCommandLineOptions.php === --- php/phpruntests/trunk/src/configuration/rtCommandLineOptions.php 2009-07-28 20:35:06 UTC (rev 286466) +++ php/phpruntests/trunk/src/configuration/rtCommandLineOptions.php 2009-07-28 20:48:15 UTC (rev 286467) @@ -74,6 +74,7 @@ 'temp-source', 'temp-target', 'set-timeout', +'mopts', ); /** Added: php/phpruntests/trunk/src/configuration/rtExternalTool.php === --- php/phpruntests/trunk/src/configuration/rtExternalTool.php (rev 0) +++ php/phpruntests/trunk/src/configuration/rtExternalTool.php 2009-07-28 20:48:15 UTC (rev 286467) @@ -0,0 +1,45 @@ +?php +/** + * rtExternalTool + * + * Class to handle using an external tool (default is valgrind) + * + * @category Testing + * @packageRUNTESTS + * @author Zoe Slattery z...@php.net + * @author Stefan Priebsch sprieb...@php.net + * @copyright 2009 The PHP Group + * @licensehttp://www.php.net/license/3_01.txt PHP License 3.01 + * @link http://qa.php.net/ + * + */ + +class rtExternalTool +{ +protected $command; +protected $options; +protected $version; + +public static function getInstance($configuration) +{ +if($configuration-hasCommandLineOption('m')) { +return new rtValgrind(); +} else { +$name = 'rt' . $configuration-getCommandLineOption('mtool'); +return new $name(); +} +} + +public function init(rtRuntestsConfiguration $configuration) { +$this-setVersion(); +$this-setCommand($configuration); +$this-setOptions($configuration); +} + +public function getCommand() { +return $this-command; +} + + +} +? \ No newline at end of file Modified: php/phpruntests/trunk/src/configuration/rtRuntestsConfiguration.php === --- php/phpruntests/trunk/src/configuration/rtRuntestsConfiguration.php 2009-07-28 20:35:06 UTC (rev 286466) +++ php/phpruntests/trunk/src/configuration/rtRuntestsConfiguration.php 2009-07-28 20:48:15 UTC (rev 286467) @@ -22,6 +22,8 @@ private $settings; private $environmentVariables; private $commandLine; + +private $externalTool = null; private $settingNames = array ( @@ -67,6 +69,15 @@ //extend test command line using TEST_PHP_ARGS $options = new rtAddToCommandLine(); $options-parseAdditionalOptions($this-commandLine, $this-environmentVariables); + +//if there is an external tool - configure it + +if($this-commandLine-hasOption('m') || $this-commandLine-hasOption('mtool')) { +$this-externalTool = rtExternalTool::getInstance($this); +$this-externalTool-checkAvailable($this); +$this-externalTool-init($this); + +} //set configuration foreach ($this-settingNames as $name = $className) { @@ -144,5 +155,17 @@ public function getUserEnvironment() { $this-environmentVariables-getUserSuppliedVariables(); } + +public function hasExternalTool() { +if($this-externalTool != null) { +return true; +} +return false; +} + +public function getExternalToolCommand() { +return $this-externalTool-getCommand(); +} + } ? Added: php/phpruntests/trunk/src/configuration/tools/rtValgrind.php === --- php/phpruntests/trunk/src/configuration/tools/rtValgrind.php (rev 0) +++ php/phpruntests/trunk/src/configuration/tools/rtValgrind.php 2009-07-28 20:48:15 UTC (rev 286467) @@ -0,0 +1,52 @@ +?php +/** + * rtvalgrind + * + * Class to handle using an external tool (default is valgrind) + * + * @category Testing + * @packageRUNTESTS + * @author Zoe Slattery z...@php.net + * @author Stefan Priebsch sprieb...@php.net + * @copyright 2009 The PHP Group
[PHP-CVS] svn: /php/phpruntests/trunk/ src/configuration/preconditions/rtIsValgrindAvailable.php src/configuration/rtPreConditionList.php src/rtClassMap.php src/testcase/rtPhpRunner.php src/texts/valg
zoe Sun, 26 Jul 2009 14:49:23 + Revision: http://svn.php.net/viewvc?view=revisionrevision=286359 Log: valgrind input classes Changed paths: A php/phpruntests/trunk/src/configuration/preconditions/rtIsValgrindAvailable.php U php/phpruntests/trunk/src/configuration/rtPreConditionList.php U php/phpruntests/trunk/src/rtClassMap.php U php/phpruntests/trunk/src/testcase/rtPhpRunner.php A php/phpruntests/trunk/src/texts/valgrindNotAvailable.txt A php/phpruntests/trunk/tests/configuration/preconditions/rtIsValgrindAvailableTest.php Added: php/phpruntests/trunk/src/configuration/preconditions/rtIsValgrindAvailable.php === --- php/phpruntests/trunk/src/configuration/preconditions/rtIsValgrindAvailable.php (rev 0) +++ php/phpruntests/trunk/src/configuration/preconditions/rtIsValgrindAvailable.php 2009-07-26 14:49:23 UTC (rev 286359) @@ -0,0 +1,57 @@ +?php +/** + * rtIsValgrindAvailable + * + * Class for checking whether the PCNTL extension is loaded. + * + * @category Testing + * @packageRUNTESTS + * @author Zoe Slattery z...@php.net + * @author Stefan Priebsch sprieb...@php.net + * @copyright 2009 The PHP Group + * @licensehttp://www.php.net/license/3_01.txt PHP License 3.01 + * @link http://qa.php.net/ + * + */ +class rtIsValgrindAvailable extends rtPreCondition +{ +/** + * Return the message associated with missing Valgrind + * + * @return text + */ +public function getMessage() +{ +return rtText::get('valgrindNotAvailable'); +} + +/** + * Check that the right version of valgrind is available + * + * @param rtRuntestsConfiguration $config + * @return boolean + */ +public function check(rtRuntestsConfiguration $config) +{ +if ($config-hasCommandLineOption('m')) { +$valgrind_cmd = valgrind --version; +$phpRunner = new rtPhpRunner($valgrind_cmd); +$valgrind_header = $phpRunner-runPHP(); + + +if (!$valgrind_header) { +//valgrind not available +return false; +} else { +$replace_count = 0; +$valgrind_version = preg_replace(/valgrind-([0-9])\.([0-9])\.([0-9]+)([.-]\w+)?(\s+)/, '$1$2$3', $valgrind_header, 1, $replace_count); +if ($replace_count != 1 || !is_numeric($valgrind_version)) { +//Valgrind returned invalid version info +return false; +} +} +} +return true; +} +} +? \ No newline at end of file Modified: php/phpruntests/trunk/src/configuration/rtPreConditionList.php === --- php/phpruntests/trunk/src/configuration/rtPreConditionList.php 2009-07-26 14:47:43 UTC (rev 286358) +++ php/phpruntests/trunk/src/configuration/rtPreConditionList.php 2009-07-26 14:49:23 UTC (rev 286359) @@ -23,6 +23,7 @@ 'rtIsSafeModeDisabled', 'rtIsTestFileSpecified', 'rtIsPhpVersionCorrect', +'rtIsValgrindAvailable', ); /** Modified: php/phpruntests/trunk/src/rtClassMap.php === --- php/phpruntests/trunk/src/rtClassMap.php2009-07-26 14:47:43 UTC (rev 286358) +++ php/phpruntests/trunk/src/rtClassMap.php2009-07-26 14:49:23 UTC (rev 286359) @@ -19,6 +19,7 @@ 'rtIsProcOpenAvailable'= 'configuration/preconditions/rtIsProcOpenAvailable.php', 'rtIsSafeModeDisabled' = 'configuration/preconditions/rtIsSafeModeDisabled.php', 'rtIsTestFileSpecified'= 'configuration/preconditions/rtIsTestFileSpecified.php', +'rtIsValgrindAvailable'= 'configuration/preconditions/rtIsValgrindAvailable.php', 'rtAddToCommandLine' = 'configuration/rtAddToCommandLine.php', 'rtCommandLineOptions' = 'configuration/rtCommandLineOptions.php', 'rtEnvironmentVariables' = 'configuration/rtEnvironmentVariables.php', Modified: php/phpruntests/trunk/src/testcase/rtPhpRunner.php === --- php/phpruntests/trunk/src/testcase/rtPhpRunner.php 2009-07-26 14:47:43 UTC (rev 286358) +++ php/phpruntests/trunk/src/testcase/rtPhpRunner.php 2009-07-26 14:49:23 UTC (rev 286359) @@ -21,7 +21,7 @@ private $stdin; private $timeOut; -public function __construct($phpCommand, $environmentVariables, $currentWorkingDirectory, $stdin = null, $timeOut = 60) +public function __construct($phpCommand, $environmentVariables=null, $currentWorkingDirectory=null, $stdin = null, $timeOut = 60) { $this-phpCommand = $phpCommand
[PHP-CVS] svn: php/phpruntests/trunk/src/testrun/ rtPhpTestRun.php
zoe Wed, 22 Jul 2009 10:44:08 + Revision: http://svn.php.net/viewvc?view=revisionrevision=284591 Log: Adding PHP test executable name to the env that is passed to the test runner Changed paths: U php/phpruntests/trunk/src/testrun/rtPhpTestRun.php Modified: php/phpruntests/trunk/src/testrun/rtPhpTestRun.php === --- php/phpruntests/trunk/src/testrun/rtPhpTestRun.php 2009-07-22 10:38:48 UTC (rev 284590) +++ php/phpruntests/trunk/src/testrun/rtPhpTestRun.php 2009-07-22 10:44:08 UTC (rev 284591) @@ -31,6 +31,7 @@ $runConfiguration-getUserEnvironment(); $runConfiguration-configure(); + //Check help message if($runConfiguration-hasCommandLineOption('help') || $runConfiguration-hasCommandLineOption('h')) { echo rtText::get('help'); @@ -43,6 +44,12 @@ // $preConditionList-check($this-commandLine, $this-environmentVariables); $preConditionList-check($runConfiguration); + +//Write PHP executable name to the array of env variables. Some +//test cases expect to be able to use it. +$php = $runConfiguration-getSetting('PhpExecutable'); +$runConfiguration-setEnvironmentVariable('TEST_PHP_EXECUTABLE', $php); + if ($runConfiguration-getSetting('TestDirectories') != null) { -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/ build.xml
zoe Wed, 22 Jul 2009 13:46:38 + Revision: http://svn.php.net/viewvc?view=revisionrevision=284605 Log: Addes -n to make sure of ignoring php.ini files Changed paths: U php/phpruntests/trunk/build.xml Modified: php/phpruntests/trunk/build.xml === --- php/phpruntests/trunk/build.xml 2009-07-22 12:22:32 UTC (rev 284604) +++ php/phpruntests/trunk/build.xml 2009-07-22 13:46:38 UTC (rev 284605) @@ -59,9 +59,9 @@ delete dir=QA/Zend / exec command=tar xfz QATESTS.tgz dir=QA passthru=true / -exec command=${php} run-tests.php -p ${php} Zend ext sapi tests ${project.basedir}/_compare/old.out dir=QA passthru=true checkReturn=true/ -exec command=${php} ${project.basedir}/src/run-tests.php -p ${php} -o csv -s ${project.basedir}/_compare/new.out QA dir=${project.basedir} passthru=true checkReturn=true / -exec command=${php} QA/compareNewOld.php ${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out QA ${project.basedir}/_compare/compare.out dir=${project.basedir} passthru=true checkReturn=true/ +exec command=${php} -n run-tests.php -p ${php} Zend ext sapi tests ${project.basedir}/_compare/old.out dir=QA passthru=true checkReturn=true/ +exec command=${php} -n ${project.basedir}/src/run-tests.php -p ${php} -o csv -s ${project.basedir}/_compare/new.out QA dir=${project.basedir} passthru=true checkReturn=true / +exec command=${php} -n QA/compareNewOld.php ${project.basedir}/_compare/new.out ${project.basedir}/_compare/old.out QA ${project.basedir}/_compare/compare.out dir=${project.basedir} passthru=true checkReturn=true/ /target target name=sniff description=Run all PHP_CodeSniffer sniffs. -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/QA/ QATESTS.tgz
zoe Wed, 22 Jul 2009 20:08:50 + Revision: http://svn.php.net/viewvc?view=revisionrevision=284623 Log: fixed Changed paths: U php/phpruntests/trunk/QA/QATESTS.tgz Modified: php/phpruntests/trunk/QA/QATESTS.tgz === (Binary files differ) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/src/ rtClassMap.php testcase/preconditions/rtIsSectionImplemented.php testcase/preconditions/rtIsValidSectionName.php testcase/rtTestConfiguration.php testcase/sec
zoe Tue, 21 Jul 2009 11:30:46 + Revision: http://svn.php.net/viewvc?view=revisionrevision=284483 Log: Added DESCRIPTION and STDIN sections Changed paths: U php/phpruntests/trunk/src/rtClassMap.php U php/phpruntests/trunk/src/testcase/preconditions/rtIsSectionImplemented.php U php/phpruntests/trunk/src/testcase/preconditions/rtIsValidSectionName.php U php/phpruntests/trunk/src/testcase/rtTestConfiguration.php A php/phpruntests/trunk/src/testcase/sections/configurationsections/rtStdinSection.php U php/phpruntests/trunk/src/testcase/sections/executablesections/rtFileSection.php A php/phpruntests/trunk/src/testcase/sections/informationsections/rtDescriptionSection.php U php/phpruntests/trunk/src/testcase/sections/rtSection.phpModified: php/phpruntests/trunk/src/rtClassMap.php === --- php/phpruntests/trunk/src/rtClassMap.php 2009-07-21 10:02:26 UTC (rev 284482) +++ php/phpruntests/trunk/src/rtClassMap.php 2009-07-21 11:30:46 UTC (rev 284483) @@ -85,11 +85,13 @@ 'rtIniSection' = 'testcase/sections/configurationsections/rtIniSection.php', 'rtPostRawSection' = 'testcase/sections/configurationsections/rtPostRawSection.php', 'rtPostSection'= 'testcase/sections/configurationsections/rtPostSection.php', +'rtStdinSection' = 'testcase/sections/configurationsections/rtStdinSection.php', 'rtCleanSection' = 'testcase/sections/executablesections/rtCleanSection.php', 'rtFileExternalSection'= 'testcase/sections/executablesections/rtFileExternalSection.php', 'rtFileSection'= 'testcase/sections/executablesections/rtFileSection.php', 'rtSkipIfSection' = 'testcase/sections/executablesections/rtSkipIfSection.php', 'rtCreditsSection' = 'testcase/sections/informationsections/rtCreditsSection.php', +'rtDescriptionSection' = 'testcase/sections/informationsections/rtDescriptionSection.php', 'rtTestHeaderSection' = 'testcase/sections/informationsections/rtTestHeaderSection.php', 'rtXfailSection' = 'testcase/sections/informationsections/rtXfailSection.php', 'rtExpectFSection' = 'testcase/sections/outputsections/rtExpectFSection.php', Modified: php/phpruntests/trunk/src/testcase/preconditions/rtIsSectionImplemented.php === --- php/phpruntests/trunk/src/testcase/preconditions/rtIsSectionImplemented.php 2009-07-21 10:02:26 UTC (rev 284482) +++ php/phpruntests/trunk/src/testcase/preconditions/rtIsSectionImplemented.php 2009-07-21 11:30:46 UTC (rev 284483) @@ -17,6 +17,7 @@ { private $sectionMap = array( 'TEST'= 'rtTestHeaderSection', +'DESCRIPTION' = 'rtDescriptionSection', 'SKIPIF' = 'rtSkipIfSection', 'FILE'= 'rtFileSection', 'EXPECT' = 'rtExpectSection', @@ -25,6 +26,7 @@ 'INI' = 'rtIniSection', 'ARGS'= 'rtArgsSection', 'ENV' = 'rtEnvSection', +'STDIN' = 'rtStdinSection', 'CREDITS' = 'rtCreditsSection', 'CLEAN' = 'rtCleanSection', 'XFAIL' = 'rtXfailSection', Modified: php/phpruntests/trunk/src/testcase/preconditions/rtIsValidSectionName.php === --- php/phpruntests/trunk/src/testcase/preconditions/rtIsValidSectionName.php 2009-07-21 10:02:26 UTC (rev 284482) +++ php/phpruntests/trunk/src/testcase/preconditions/rtIsValidSectionName.php 2009-07-21 11:30:46 UTC (rev 284483) @@ -17,6 +17,7 @@ { private $validSectionNames = array( 'TEST', +'DESCRIPTION', 'SKIPIF', 'FILE', 'FILEEOF', @@ -27,6 +28,7 @@ 'INI', 'ARGS', 'ENV', +'STDIN', 'XFAIL', 'STDIN', 'CREDITS', Modified: php/phpruntests/trunk/src/testcase/rtTestConfiguration.php === --- php/phpruntests/trunk/src/testcase/rtTestConfiguration.php 2009-07-21 10:02:26 UTC (rev 284482) +++ php/phpruntests/trunk/src/testcase/rtTestConfiguration.php 2009-07-21 11:30:46 UTC (rev 284483) @@ -20,6 +20,7 @@ private $testCommandLineArguments; private $phpExecutable; private $inputFileString; +private $stdin = null; private $cgiTest = false; private $cgiSections = array( 'GET', @@ -45,6 +46,7 @@ $this-setTestCommandLineArguments($sections); $this-setPhpExecutable($runConfiguration, $sectionHeadings
[PHP-CVS] svn: php/phpruntests/trunk/QA/ QATESTS.tgz
zoe Tue, 21 Jul 2009 11:36:18 + Revision: http://svn.php.net/viewvc?view=revisionrevision=284484 Log: tidied test suite Changed paths: U php/phpruntests/trunk/QA/QATESTS.tgz Modified: php/phpruntests/trunk/QA/QATESTS.tgz === (Binary files differ) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/src/testcase/sections/configurationsections/ rtStdinSection.php
zoe Tue, 21 Jul 2009 11:56:22 + Revision: http://svn.php.net/viewvc?view=revisionrevision=284487 Log: Fixed typo Changed paths: U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtStdinSection.php Modified: php/phpruntests/trunk/src/testcase/sections/configurationsections/rtStdinSection.php === --- php/phpruntests/trunk/src/testcase/sections/configurationsections/rtStdinSection.php 2009-07-21 11:52:10 UTC (rev 284486) +++ php/phpruntests/trunk/src/testcase/sections/configurationsections/rtStdinSection.php 2009-07-21 11:56:22 UTC (rev 284487) @@ -19,7 +19,7 @@ protected function init() { -$this-inputString = join($this-sectionContents, PHP_EOL) . clPHP_EOL; +$this-inputString = join($this-sectionContents, PHP_EOL) . PHP_EOL; } public function getInputString() { -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/php-src/ branches/PHP_5_2/Zend/tests/function_exists_error.phpt branches/PHP_5_2/ext/pcre/tests/preg_split_basic.phpt branches/PHP_5_2/ext/posix/tests/posix_getcwd.phpt branches/PHP
zoe Tue, 21 Jul 2009 14:02:24 + Revision: http://svn.php.net/viewvc?view=revisionrevision=284538 Log: Remove empty sections. Fix bad use of --SKIP-- Changed paths: U php/php-src/branches/PHP_5_2/Zend/tests/function_exists_error.phpt U php/php-src/branches/PHP_5_2/ext/pcre/tests/preg_split_basic.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_getcwd.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_getgrnam.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_getpwnam.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_getrlimit.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_initgroups.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_isatty.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_mknod.phpt U php/php-src/branches/PHP_5_2/ext/standard/tests/array/bug40709.phpt U php/php-src/branches/PHP_5_2/ext/standard/tests/strings/addslashes_basic.phpt U php/php-src/branches/PHP_5_2/ext/standard/tests/strings/addslashes_error.phpt U php/php-src/branches/PHP_5_2/ext/standard/tests/strings/addslashes_variation1.phpt U php/php-src/branches/PHP_5_2/ext/standard/tests/strings/addslashes_variation2.phpt U php/php-src/branches/PHP_5_2/ext/standard/tests/strings/addslashes_variation3.phpt U php/php-src/branches/PHP_5_2/ext/standard/tests/strings/join_variation6.phpt U php/php-src/branches/PHP_5_2/ext/standard/tests/strings/stripcslashes_variation1.phpt U php/php-src/branches/PHP_5_2/ext/standard/tests/strings/ucwords_basic.phpt U php/php-src/branches/PHP_5_2/ext/standard/tests/strings/ucwords_error.phpt U php/php-src/branches/PHP_5_2/ext/standard/tests/strings/wordwrap_variation3.phpt U php/php-src/branches/PHP_5_3/Zend/tests/function_exists_error.phpt U php/php-src/branches/PHP_5_3/ext/pcre/tests/preg_split_basic.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_getcwd.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_getgrnam.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_getpwnam.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_getrlimit.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_initgroups.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_isatty.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_mknod.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/array/bug40709.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/strings/addslashes_basic.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/strings/addslashes_error.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/strings/addslashes_variation1.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/strings/addslashes_variation2.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/strings/addslashes_variation3.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/strings/join_variation6.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/strings/stripcslashes_variation1.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/strings/ucwords_basic.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/strings/ucwords_error.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/strings/wordwrap_variation3.phpt U php/php-src/branches/PHP_5_3/tests/classes/arrayobject_001.phpt U php/php-src/branches/PHP_5_3/tests/security/open_basedir.inc U php/php-src/branches/PHP_5_3/tests/security/open_basedir_copy.phpt U php/php-src/trunk/Zend/tests/function_exists_error.phpt U php/php-src/trunk/ext/pcre/tests/preg_split_basic.phpt U php/php-src/trunk/ext/posix/tests/posix_getcwd.phpt U php/php-src/trunk/ext/posix/tests/posix_getgrnam.phpt U php/php-src/trunk/ext/posix/tests/posix_getpwnam.phpt U php/php-src/trunk/ext/posix/tests/posix_getrlimit.phpt U php/php-src/trunk/ext/posix/tests/posix_initgroups.phpt U php/php-src/trunk/ext/posix/tests/posix_isatty.phpt U php/php-src/trunk/ext/posix/tests/posix_mknod.phpt U php/php-src/trunk/ext/standard/tests/array/bug40709.phpt U php/php-src/trunk/ext/standard/tests/strings/addslashes_basic.phpt U php/php-src/trunk/ext/standard/tests/strings/addslashes_error.phpt U php/php-src/trunk/ext/standard/tests/strings/addslashes_variation1.phpt U php/php-src/trunk/ext/standard/tests/strings/addslashes_variation2.phpt U php/php-src/trunk/ext/standard/tests/strings/join_variation6.phpt U php/php-src/trunk/ext/standard/tests/strings/stripcslashes_variation1.phpt U php/php-src/trunk/ext/standard/tests/strings/wordwrap_variation3.phpt U php/php-src/trunk/tests/classes/arrayobject_001.phpt Modified: php/php-src/branches/PHP_5_2/Zend/tests/function_exists_error.phpt
[PHP-CVS] svn: php/phpruntests/trunk/QA/ BaselineLinuxResults LinuxQAJuly18 QATESTS.tgz
zoe Tue, 21 Jul 2009 14:44:58 + Revision: http://svn.php.net/viewvc?view=revisionrevision=284545 Log: Final cleaned up tests Changed paths: A php/phpruntests/trunk/QA/BaselineLinuxResults D php/phpruntests/trunk/QA/LinuxQAJuly18 U php/phpruntests/trunk/QA/QATESTS.tgz Added: php/phpruntests/trunk/QA/BaselineLinuxResults === --- php/phpruntests/trunk/QA/BaselineLinuxResults (rev 0) +++ php/phpruntests/trunk/QA/BaselineLinuxResults 2009-07-21 14:44:58 UTC (rev 284545) @@ -0,0 +1,24 @@ + + +In the new code (phpruntests)... + Number of Warnings: 0 + Number of Notices: 0 + Number of Fatal: 0 + + = 1 tests fail in phpruntests and do not fail in run-tests +ext/standard/tests/general_functions/phpinfo.phpt + + = 1 tests fail in run-tests and do not fail in phpruntests +ext/standard/tests/mail/mail_variation2.phpt + + = 4 tests bork in phpruntests and do not bork in run-tests +ext/pdo_sqlite/tests/common.phpt +ext/sqlite/tests/pdo/common.phpt +tests/lang/bug35382.phpt +tests/lang/comments2.phpt + + = 0 tests bork in run-tests and do not bork in phpruntests + + = 0 tests skip in phpruntests and do not skip in run-tests + + = 0 tests skip in run-tests and do not skip in phpruntests Deleted: php/phpruntests/trunk/QA/LinuxQAJuly18 === --- php/phpruntests/trunk/QA/LinuxQAJuly18 2009-07-21 14:44:43 UTC (rev 284544) +++ php/phpruntests/trunk/QA/LinuxQAJuly18 2009-07-21 14:44:58 UTC (rev 284545) @@ -1,46 +0,0 @@ - - -In the new code (phpruntests)... - Number of Warnings: 0 - Number of Notices: 0 - Number of Fatal: 0 - - = 2 tests fail in phpruntests and do not fail in run-tests -ext/phar/tests/zip/phar_stub.phpt -ext/standard/tests/general_functions/phpinfo.phpt - - = 0 tests fail in run-tests and do not fail in phpruntests - - = 25 tests bork in phpruntests and do not bork in run-tests -ext/pdo_sqlite/tests/common.phpt -ext/posix/tests/posix_access.phpt -ext/posix/tests/posix_access_error_modes.phpt -ext/posix/tests/posix_access_error_wrongparams.phpt -ext/posix/tests/posix_ctermid.phpt -ext/posix/tests/posix_getcwd.phpt -ext/posix/tests/posix_getgrnam.phpt -ext/posix/tests/posix_getpwnam.phpt -ext/posix/tests/posix_getrlimit.phpt -ext/posix/tests/posix_getsid.phpt -ext/posix/tests/posix_getsid_error.phpt -ext/posix/tests/posix_initgroups.phpt -ext/posix/tests/posix_isatty.phpt -ext/posix/tests/posix_mkfifo_safemode.phpt -ext/posix/tests/posix_mknod.phpt -ext/posix/tests/posix_times.phpt -ext/posix/tests/posix_ttyname.phpt -ext/posix/tests/posix_ttyname_error_wrongparams.phpt -ext/posix/tests/posix_uname.phpt -ext/sqlite/tests/pdo/common.phpt -ext/standard/tests/general_functions/phpcredits2.phpt -ext/standard/tests/misc/time_nanosleep_error4.phpt -tests/lang/bug35382.phpt -tests/lang/comments2.phpt -tests/run-test/test010.phpt - - = 0 tests bork in run-tests and do not bork in phpruntests - - = 0 tests skip in phpruntests and do not skip in run-tests - - = 1 tests skip in run-tests and do not skip in phpruntests -ext/posix/tests/posix_ttyname_error_wrongparams.phpt Modified: php/phpruntests/trunk/QA/QATESTS.tgz === (Binary files differ) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/QA/ QATESTS.tgz
zoe Sun, 19 Jul 2009 15:08:58 + URL: http://svn.php.net/viewvc?view=revisionrevision=284360 Changed paths: U php/phpruntests/trunk/QA/QATESTS.tgz Log: updated tests slightly Modified: php/phpruntests/trunk/QA/QATESTS.tgz === (Binary files differ) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/src/testcase/sections/executablesections/ rtSkipIfSection.php
zoe Sat, 18 Jul 2009 13:11:32 + URL: http://svn.php.net/viewvc?view=revisionrevision=284313 Changed paths: U php/phpruntests/trunk/src/testcase/sections/executablesections/rtSkipIfSection.php Log: Fixing to use teh CGI executable for SKIPIFs in CGI tests Modified: php/phpruntests/trunk/src/testcase/sections/executablesections/rtSkipIfSection.php === --- php/phpruntests/trunk/src/testcase/sections/executablesections/rtSkipIfSection.php 2009-07-18 12:27:46 UTC (rev 284312) +++ php/phpruntests/trunk/src/testcase/sections/executablesections/rtSkipIfSection.php 2009-07-18 13:11:32 UTC (rev 284313) @@ -25,9 +25,18 @@ $testStatus = $testCase-getStatus(); $this-setExecutableFileName($testCase-getName()); $this-writeExecutableFile(); + +$phpExecutable = $testCase-testConfiguration-getPhpExecutable(); -$phpCommand = $runConfiguration-getSetting('PhpExecutable'); -$phpCommand .= ' '.$runConfiguration-getSetting('PhpCommandLineArguments'); +// The CGI excutable is null if it is not available, check and SKIP if necessary +if (is_null($phpExecutable)) { +$testStatus-setTrue('skip'); +$testStatus-setMessage('skip', 'The CGI executable is unavailable' ); +return $testStatus; +} + +$phpCommand = $phpExecutable; +$phpCommand .= ' '.$testCase-testConfiguration-getPhpCommandLineArguments(); $phpCommand .= ' -f '.$this-fileName; $PhpRunner = new rtPhpRunner($phpCommand, -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/php-src/trunk/ext/standard/tests/misc/ get_browser_basic.phpt get_browser_error.phpt get_browser_variation1.phpt
zoe Sat, 18 Jul 2009 13:12:56 + URL: http://svn.php.net/viewvc?view=revisionrevision=284314 Changed paths: U php/php-src/trunk/ext/standard/tests/misc/get_browser_basic.phpt U php/php-src/trunk/ext/standard/tests/misc/get_browser_error.phpt U php/php-src/trunk/ext/standard/tests/misc/get_browser_variation1.phpt Log: fixing paths in INI section Modified: php/php-src/trunk/ext/standard/tests/misc/get_browser_basic.phpt === --- php/php-src/trunk/ext/standard/tests/misc/get_browser_basic.phpt 2009-07-18 13:11:32 UTC (rev 284313) +++ php/php-src/trunk/ext/standard/tests/misc/get_browser_basic.phpt 2009-07-18 13:12:56 UTC (rev 284314) @@ -1,7 +1,7 @@ --TEST-- Test get_browser() function : basic functionality --INI-- -browscap=ext/standard/tests/misc/browscap.ini +browscap={PWD}/browscap.ini unicode.runtime_encoding = utf-8 unicode.output_encoding = utf-8 --SKIPIF-- Modified: php/php-src/trunk/ext/standard/tests/misc/get_browser_error.phpt === --- php/php-src/trunk/ext/standard/tests/misc/get_browser_error.phpt 2009-07-18 13:11:32 UTC (rev 284313) +++ php/php-src/trunk/ext/standard/tests/misc/get_browser_error.phpt 2009-07-18 13:12:56 UTC (rev 284314) @@ -1,7 +1,7 @@ --TEST-- Test get_browser() function : error functionality --INI-- -browscap=ext/standard/tests/misc/browscap.ini +browscap={PWD}/browscap.ini unicode.runtime_encoding = utf-8 unicode.output_encoding = utf-8 --SKIPIF-- Modified: php/php-src/trunk/ext/standard/tests/misc/get_browser_variation1.phpt === --- php/php-src/trunk/ext/standard/tests/misc/get_browser_variation1.phpt 2009-07-18 13:11:32 UTC (rev 284313) +++ php/php-src/trunk/ext/standard/tests/misc/get_browser_variation1.phpt 2009-07-18 13:12:56 UTC (rev 284314) @@ -1,7 +1,7 @@ --TEST-- Test get_browser() function : variation with extra browscap definitions --INI-- -browscap=ext/standard/tests/misc/browscap.ini +browscap={PWD}/browscap.ini unicode.runtime_encoding = utf-8 unicode.output_encoding = utf-8 --SKIPIF-- -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/php-src/branches/PHP_5_3/ext/standard/tests/misc/ get_browser_basic.phpt get_browser_error.phpt get_browser_variation1.phpt
zoe Sat, 18 Jul 2009 13:14:21 + URL: http://svn.php.net/viewvc?view=revisionrevision=284315 Changed paths: U php/php-src/branches/PHP_5_3/ext/standard/tests/misc/get_browser_basic.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/misc/get_browser_error.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/misc/get_browser_variation1.phpt Log: fixing paths in INI section Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/misc/get_browser_basic.phpt === --- php/php-src/branches/PHP_5_3/ext/standard/tests/misc/get_browser_basic.phpt 2009-07-18 13:12:56 UTC (rev 284314) +++ php/php-src/branches/PHP_5_3/ext/standard/tests/misc/get_browser_basic.phpt 2009-07-18 13:14:21 UTC (rev 284315) @@ -1,7 +1,7 @@ --TEST-- Test get_browser() function : basic functionality --INI-- -browscap=ext/standard/tests/misc/browscap.ini +browscap={PWD}/browscap.ini --SKIPIF-- ?php /** Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/misc/get_browser_error.phpt === --- php/php-src/branches/PHP_5_3/ext/standard/tests/misc/get_browser_error.phpt 2009-07-18 13:12:56 UTC (rev 284314) +++ php/php-src/branches/PHP_5_3/ext/standard/tests/misc/get_browser_error.phpt 2009-07-18 13:14:21 UTC (rev 284315) @@ -1,7 +1,7 @@ --TEST-- Test get_browser() function : error functionality --INI-- -browscap=ext/standard/tests/misc/browscap.ini +browscap={PWD}/browscap.ini --SKIPIF-- ?php /** Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/misc/get_browser_variation1.phpt === --- php/php-src/branches/PHP_5_3/ext/standard/tests/misc/get_browser_variation1.phpt 2009-07-18 13:12:56 UTC (rev 284314) +++ php/php-src/branches/PHP_5_3/ext/standard/tests/misc/get_browser_variation1.phpt 2009-07-18 13:14:21 UTC (rev 284315) @@ -1,7 +1,7 @@ --TEST-- Test get_browser() function : variation functionality: extra browser names --INI-- -browscap=ext/standard/tests/misc/browscap.ini +browscap={PWD}/browscap.ini --SKIPIF-- ?php /** -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/php-src/trunk/ Zend/tests/unset_cv07.phpt ext/standard/tests/file/is_uploaded_file_basic.phpt ext/standard/tests/file/move_uploaded_file_basic.phpt ext/standard/tests/general_functi
zoe Sat, 18 Jul 2009 13:44:15 + URL: http://svn.php.net/viewvc?view=revisionrevision=284321 Changed paths: U php/php-src/trunk/Zend/tests/unset_cv07.phpt U php/php-src/trunk/ext/standard/tests/file/is_uploaded_file_basic.phpt U php/php-src/trunk/ext/standard/tests/file/move_uploaded_file_basic.phpt U php/php-src/trunk/ext/standard/tests/general_functions/phpcredits2.phpt U php/php-src/trunk/ext/standard/tests/general_functions/phpinfo2.phpt U php/php-src/trunk/tests/basic/002.phpt U php/php-src/trunk/tests/basic/003.phpt U php/php-src/trunk/tests/basic/004.phpt U php/php-src/trunk/tests/basic/005.phpt U php/php-src/trunk/tests/basic/011.phpt U php/php-src/trunk/tests/basic/013.phpt U php/php-src/trunk/tests/basic/014.phpt U php/php-src/trunk/tests/basic/015.phpt U php/php-src/trunk/tests/basic/016.phpt U php/php-src/trunk/tests/basic/017.phpt U php/php-src/trunk/tests/basic/018.phpt U php/php-src/trunk/tests/basic/019.phpt U php/php-src/trunk/tests/basic/020.phpt U php/php-src/trunk/tests/basic/024.phpt U php/php-src/trunk/tests/basic/025.phpt U php/php-src/trunk/tests/basic/026.phpt U php/php-src/trunk/tests/basic/027.phpt U php/php-src/trunk/tests/basic/rfc1867_anonymous_upload.phpt U php/php-src/trunk/tests/basic/rfc1867_array_upload.phpt U php/php-src/trunk/tests/basic/rfc1867_boundary_1.phpt U php/php-src/trunk/tests/basic/rfc1867_boundary_2.phpt U php/php-src/trunk/tests/basic/rfc1867_empty_upload.phpt U php/php-src/trunk/tests/basic/rfc1867_file_upload_disabled.phpt U php/php-src/trunk/tests/basic/rfc1867_garbled_mime_headers.phpt U php/php-src/trunk/tests/basic/rfc1867_invalid_boundary.phpt U php/php-src/trunk/tests/basic/rfc1867_malicious_input.phpt U php/php-src/trunk/tests/basic/rfc1867_max_file_size.phpt U php/php-src/trunk/tests/basic/rfc1867_missing_boundary.phpt U php/php-src/trunk/tests/basic/rfc1867_missing_boundary_2.phpt U php/php-src/trunk/tests/basic/rfc1867_post_max_filesize.phpt U php/php-src/trunk/tests/basic/rfc1867_post_max_size.phpt U php/php-src/trunk/tests/lang/bug25145.phpt Log: Removing unnecessary SKIPIF sections Modified: php/php-src/trunk/Zend/tests/unset_cv07.phpt === --- php/php-src/trunk/Zend/tests/unset_cv07.phpt 2009-07-18 13:40:06 UTC (rev 284320) +++ php/php-src/trunk/Zend/tests/unset_cv07.phpt 2009-07-18 13:44:15 UTC (rev 284321) @@ -1,7 +1,5 @@ --TEST-- unset() CV 7 (indirect unset() of global variable in import_request_variables()) ---SKIPIF-- -?php if (php_sapi_name()=='cli') echo 'skip'; ? --GET-- x=2 --FILE-- Modified: php/php-src/trunk/ext/standard/tests/file/is_uploaded_file_basic.phpt === --- php/php-src/trunk/ext/standard/tests/file/is_uploaded_file_basic.phpt 2009-07-18 13:40:06 UTC (rev 284320) +++ php/php-src/trunk/ext/standard/tests/file/is_uploaded_file_basic.phpt 2009-07-18 13:44:15 UTC (rev 284321) @@ -2,8 +2,6 @@ is_uploaded_file() function --CREDITS-- Dave Kelsey d_kel...@uk.ibm.com ---SKIPIF-- -?php if (php_sapi_name()=='cli') die('skip'); ? --POST_RAW-- Content-type: multipart/form-data, boundary=AaB03x Modified: php/php-src/trunk/ext/standard/tests/file/move_uploaded_file_basic.phpt === --- php/php-src/trunk/ext/standard/tests/file/move_uploaded_file_basic.phpt 2009-07-18 13:40:06 UTC (rev 284320) +++ php/php-src/trunk/ext/standard/tests/file/move_uploaded_file_basic.phpt 2009-07-18 13:44:15 UTC (rev 284321) @@ -2,8 +2,6 @@ move_uploaded_file() function --CREDITS-- Dave Kelsey d_kel...@uk.ibm.com ---SKIPIF-- -?php if (php_sapi_name()=='cli') die('skip'); ? --POST_RAW-- Content-type: multipart/form-data, boundary=AaB03x Modified: php/php-src/trunk/ext/standard/tests/general_functions/phpcredits2.phpt === --- php/php-src/trunk/ext/standard/tests/general_functions/phpcredits2.phpt 2009-07-18 13:40:06 UTC (rev 284320) +++ php/php-src/trunk/ext/standard/tests/general_functions/phpcredits2.phpt 2009-07-18 13:44:15 UTC (rev 284321) @@ -1,7 +1,5 @@ --TEST-- phpcredits() CGI ---SKIPIF-- -?php if (php_sapi_name()=='cli') echo 'skip'; ? --POST-- dummy=x --FILE-- Modified: php/php-src/trunk/ext/standard/tests/general_functions/phpinfo2.phpt === --- php/php-src/trunk/ext/standard/tests/general_functions/phpinfo2.phpt 2009-07-18 13:40:06 UTC (rev 284320) +++ php/php-src/trunk/ext/standard/tests/general_functions/phpinfo2.phpt 2009-07
[PHP-CVS] svn: php/php-src/branches/PHP_5_3/ Zend/tests/unset_cv07.phpt ext/standard/tests/file/is_uploaded_file_basic.phpt ext/standard/tests/file/move_uploaded_file_basic.phpt ext/standard/tests/gen
zoe Sat, 18 Jul 2009 13:46:08 + URL: http://svn.php.net/viewvc?view=revisionrevision=284322 Changed paths: U php/php-src/branches/PHP_5_3/Zend/tests/unset_cv07.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/file/is_uploaded_file_basic.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/file/move_uploaded_file_basic.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/phpcredits2.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/phpinfo2.phpt U php/php-src/branches/PHP_5_3/tests/basic/002.phpt U php/php-src/branches/PHP_5_3/tests/basic/003.phpt U php/php-src/branches/PHP_5_3/tests/basic/004.phpt U php/php-src/branches/PHP_5_3/tests/basic/005.phpt U php/php-src/branches/PHP_5_3/tests/basic/011.phpt U php/php-src/branches/PHP_5_3/tests/basic/013.phpt U php/php-src/branches/PHP_5_3/tests/basic/014.phpt U php/php-src/branches/PHP_5_3/tests/basic/015.phpt U php/php-src/branches/PHP_5_3/tests/basic/016.phpt U php/php-src/branches/PHP_5_3/tests/basic/017.phpt U php/php-src/branches/PHP_5_3/tests/basic/018.phpt U php/php-src/branches/PHP_5_3/tests/basic/019.phpt U php/php-src/branches/PHP_5_3/tests/basic/020.phpt U php/php-src/branches/PHP_5_3/tests/basic/021.phpt U php/php-src/branches/PHP_5_3/tests/basic/024.phpt U php/php-src/branches/PHP_5_3/tests/basic/025.phpt U php/php-src/branches/PHP_5_3/tests/basic/026.phpt U php/php-src/branches/PHP_5_3/tests/basic/027.phpt U php/php-src/branches/PHP_5_3/tests/basic/bug46759.phpt U php/php-src/branches/PHP_5_3/tests/basic/rfc1867_anonymous_upload.phpt U php/php-src/branches/PHP_5_3/tests/basic/rfc1867_array_upload.phpt U php/php-src/branches/PHP_5_3/tests/basic/rfc1867_boundary_1.phpt U php/php-src/branches/PHP_5_3/tests/basic/rfc1867_boundary_2.phpt U php/php-src/branches/PHP_5_3/tests/basic/rfc1867_empty_upload.phpt U php/php-src/branches/PHP_5_3/tests/basic/rfc1867_file_upload_disabled.phpt U php/php-src/branches/PHP_5_3/tests/basic/rfc1867_garbled_mime_headers.phpt U php/php-src/branches/PHP_5_3/tests/basic/rfc1867_invalid_boundary.phpt U php/php-src/branches/PHP_5_3/tests/basic/rfc1867_malicious_input.phpt U php/php-src/branches/PHP_5_3/tests/basic/rfc1867_max_file_size.phpt U php/php-src/branches/PHP_5_3/tests/basic/rfc1867_missing_boundary.phpt U php/php-src/branches/PHP_5_3/tests/basic/rfc1867_missing_boundary_2.phpt U php/php-src/branches/PHP_5_3/tests/basic/rfc1867_post_max_filesize.phpt U php/php-src/branches/PHP_5_3/tests/basic/rfc1867_post_max_size.phpt U php/php-src/branches/PHP_5_3/tests/lang/bug25145.phpt Log: Removing unnecessary SKIPIF sections Modified: php/php-src/branches/PHP_5_3/Zend/tests/unset_cv07.phpt === --- php/php-src/branches/PHP_5_3/Zend/tests/unset_cv07.phpt 2009-07-18 13:44:15 UTC (rev 284321) +++ php/php-src/branches/PHP_5_3/Zend/tests/unset_cv07.phpt 2009-07-18 13:46:08 UTC (rev 284322) @@ -1,7 +1,5 @@ --TEST-- unset() CV 7 (indirect unset() of global variable in import_request_variables()) ---SKIPIF-- -?php if (php_sapi_name()=='cli') echo 'skip'; ? --GET-- x=2 --FILE-- Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/file/is_uploaded_file_basic.phpt === --- php/php-src/branches/PHP_5_3/ext/standard/tests/file/is_uploaded_file_basic.phpt 2009-07-18 13:44:15 UTC (rev 284321) +++ php/php-src/branches/PHP_5_3/ext/standard/tests/file/is_uploaded_file_basic.phpt 2009-07-18 13:46:08 UTC (rev 284322) @@ -2,8 +2,6 @@ is_uploaded_file() function --CREDITS-- Dave Kelsey d_kel...@uk.ibm.com ---SKIPIF-- -?php if (php_sapi_name()=='cli') die('skip'); ? --POST_RAW-- Content-type: multipart/form-data, boundary=AaB03x Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/file/move_uploaded_file_basic.phpt === --- php/php-src/branches/PHP_5_3/ext/standard/tests/file/move_uploaded_file_basic.phpt 2009-07-18 13:44:15 UTC (rev 284321) +++ php/php-src/branches/PHP_5_3/ext/standard/tests/file/move_uploaded_file_basic.phpt 2009-07-18 13:46:08 UTC (rev 284322) @@ -2,8 +2,6 @@ move_uploaded_file() function --CREDITS-- Dave Kelsey d_kel...@uk.ibm.com ---SKIPIF-- -?php if (php_sapi_name()=='cli') die('skip'); ? --POST_RAW-- Content-type: multipart/form-data, boundary=AaB03x Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/phpcredits2.phpt === --- php/php-src/branches/PHP_5_3/ext
[PHP-CVS] svn: php/php-src/branches/PHP_5_2/ Zend/tests/unset_cv07.phpt ext/standard/tests/file/is_uploaded_file_basic.phpt ext/standard/tests/file/move_uploaded_file_basic.phpt ext/standard/tests/gen
zoe Sat, 18 Jul 2009 13:47:08 + URL: http://svn.php.net/viewvc?view=revisionrevision=284323 Changed paths: U php/php-src/branches/PHP_5_2/Zend/tests/unset_cv07.phpt U php/php-src/branches/PHP_5_2/ext/standard/tests/file/is_uploaded_file_basic.phpt U php/php-src/branches/PHP_5_2/ext/standard/tests/file/move_uploaded_file_basic.phpt U php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/phpcredits2.phpt U php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/phpinfo2.phpt U php/php-src/branches/PHP_5_2/tests/basic/002.phpt U php/php-src/branches/PHP_5_2/tests/basic/003.phpt U php/php-src/branches/PHP_5_2/tests/basic/004.phpt U php/php-src/branches/PHP_5_2/tests/basic/005.phpt U php/php-src/branches/PHP_5_2/tests/basic/011.phpt U php/php-src/branches/PHP_5_2/tests/basic/013.phpt U php/php-src/branches/PHP_5_2/tests/basic/014.phpt U php/php-src/branches/PHP_5_2/tests/basic/015.phpt U php/php-src/branches/PHP_5_2/tests/basic/016.phpt U php/php-src/branches/PHP_5_2/tests/basic/017.phpt U php/php-src/branches/PHP_5_2/tests/basic/018.phpt U php/php-src/branches/PHP_5_2/tests/basic/019.phpt U php/php-src/branches/PHP_5_2/tests/basic/020.phpt U php/php-src/branches/PHP_5_2/tests/basic/021.phpt U php/php-src/branches/PHP_5_2/tests/basic/024.phpt U php/php-src/branches/PHP_5_2/tests/basic/025.phpt U php/php-src/branches/PHP_5_2/tests/basic/026.phpt U php/php-src/branches/PHP_5_2/tests/basic/027.phpt U php/php-src/branches/PHP_5_2/tests/basic/bug46759.phpt U php/php-src/branches/PHP_5_2/tests/lang/bug25145.phpt Log: Removing unnecessary SKIPIF sections Modified: php/php-src/branches/PHP_5_2/Zend/tests/unset_cv07.phpt === --- php/php-src/branches/PHP_5_2/Zend/tests/unset_cv07.phpt 2009-07-18 13:46:08 UTC (rev 284322) +++ php/php-src/branches/PHP_5_2/Zend/tests/unset_cv07.phpt 2009-07-18 13:47:08 UTC (rev 284323) @@ -1,7 +1,5 @@ --TEST-- unset() CV 7 (indirect unset() of global variable in import_request_variables()) ---SKIPIF-- -?php if (php_sapi_name()=='cli') echo 'skip'; ? --GET-- x=2 --FILE-- Modified: php/php-src/branches/PHP_5_2/ext/standard/tests/file/is_uploaded_file_basic.phpt === --- php/php-src/branches/PHP_5_2/ext/standard/tests/file/is_uploaded_file_basic.phpt 2009-07-18 13:46:08 UTC (rev 284322) +++ php/php-src/branches/PHP_5_2/ext/standard/tests/file/is_uploaded_file_basic.phpt 2009-07-18 13:47:08 UTC (rev 284323) @@ -2,8 +2,6 @@ is_uploaded_file() function --CREDITS-- Dave Kelsey d_kel...@uk.ibm.com ---SKIPIF-- -?php if (php_sapi_name()=='cli') die('skip'); ? --POST_RAW-- Content-type: multipart/form-data, boundary=AaB03x Modified: php/php-src/branches/PHP_5_2/ext/standard/tests/file/move_uploaded_file_basic.phpt === --- php/php-src/branches/PHP_5_2/ext/standard/tests/file/move_uploaded_file_basic.phpt 2009-07-18 13:46:08 UTC (rev 284322) +++ php/php-src/branches/PHP_5_2/ext/standard/tests/file/move_uploaded_file_basic.phpt 2009-07-18 13:47:08 UTC (rev 284323) @@ -2,8 +2,6 @@ move_uploaded_file() function --CREDITS-- Dave Kelsey d_kel...@uk.ibm.com ---SKIPIF-- -?php if (php_sapi_name()=='cli') die('skip'); ? --POST_RAW-- Content-type: multipart/form-data, boundary=AaB03x Modified: php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/phpcredits2.phpt === --- php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/phpcredits2.phpt 2009-07-18 13:46:08 UTC (rev 284322) +++ php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/phpcredits2.phpt 2009-07-18 13:47:08 UTC (rev 284323) @@ -1,7 +1,5 @@ --TEST-- phpcredits() CGI ---SKIPIF-- -?php if (php_sapi_name()=='cli') echo 'skip'; ? --POST-- dummy=x --FILE-- Modified: php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/phpinfo2.phpt === --- php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/phpinfo2.phpt 2009-07-18 13:46:08 UTC (rev 284322) +++ php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/phpinfo2.phpt 2009-07-18 13:47:08 UTC (rev 284323) @@ -1,7 +1,5 @@ --TEST-- phpinfo() CGI ---SKIPIF-- -?php if (php_sapi_name()=='cli') echo 'skip'; ? --POST-- dummy=x --FILE-- Modified: php/php-src/branches/PHP_5_2/tests/basic/002.phpt === --- php/php-src/branches/PHP_5_2/tests/basic/002.phpt 2009-07-18 13:46:08 UTC (rev 284322) +++ php/php-src/branches/PHP_5_2/tests/basic/002.phpt 2009-07
[PHP-CVS] svn: php/phpruntests/trunk/QA/ compareNewOld.php
zoe Sat, 18 Jul 2009 15:01:02 + URL: http://svn.php.net/viewvc?view=revisionrevision=284324 Changed paths: U php/phpruntests/trunk/QA/compareNewOld.php Log: fix regular expression Modified: php/phpruntests/trunk/QA/compareNewOld.php === --- php/phpruntests/trunk/QA/compareNewOld.php 2009-07-18 13:47:08 UTC (rev 284323) +++ php/phpruntests/trunk/QA/compareNewOld.php 2009-07-18 15:01:02 UTC (rev 284324) @@ -72,7 +72,7 @@ function parseOld($output, $searchFor) { $result = array(); foreach($output as $line) { - if (preg_match(/$searchFor.*\[(.+\.phpt)\]/, $line, $matches)) { + if (preg_match(/^TEST\s+\d+\/\d+\s+\[(.+\.phpt)\]\s+$searchFor/, $line, $matches)) { $result[] = $matches[1]; } } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/php-src/trunk/ext/ filter/tests/bug42718.phpt simplexml/tests/034.phpt
zoe Sat, 18 Jul 2009 16:39:35 + URL: http://svn.php.net/viewvc?view=revisionrevision=284325 Changed paths: U php/php-src/trunk/ext/filter/tests/bug42718.phpt U php/php-src/trunk/ext/simplexml/tests/034.phpt Log: removing empty XFAIL sections Modified: php/php-src/trunk/ext/filter/tests/bug42718.phpt === --- php/php-src/trunk/ext/filter/tests/bug42718.phpt2009-07-18 15:01:02 UTC (rev 284324) +++ php/php-src/trunk/ext/filter/tests/bug42718.phpt2009-07-18 16:39:35 UTC (rev 284325) @@ -15,7 +15,6 @@ var_dump(FILTER_FLAG_STRIP_LOW == 4); echo addcslashes($_GET['a'],\0) . \n; ? ---XFAIL-- --EXPECT-- unsafe_raw 4 Modified: php/php-src/trunk/ext/simplexml/tests/034.phpt === --- php/php-src/trunk/ext/simplexml/tests/034.phpt 2009-07-18 15:01:02 UTC (rev 284324) +++ php/php-src/trunk/ext/simplexml/tests/034.phpt 2009-07-18 16:39:35 UTC (rev 284325) @@ -1,6 +1,5 @@ --TEST-- SimpleXML: array casting bug ---XFAIL-- --SKIPIF-- ?php if (!extension_loaded(simplexml)) print skip; ? --FILE-- -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/php-src/branches/PHP_5_ 2/ext/filter/tests/bug42718.phpt 3/ext/filter/tests/bug42718.phpt 3/ext/simplexml/tests/034.phpt
zoe Sat, 18 Jul 2009 16:41:16 + URL: http://svn.php.net/viewvc?view=revisionrevision=284326 Changed paths: U php/php-src/branches/PHP_5_2/ext/filter/tests/bug42718.phpt U php/php-src/branches/PHP_5_3/ext/filter/tests/bug42718.phpt U php/php-src/branches/PHP_5_3/ext/simplexml/tests/034.phpt Log: removing empty XFAIL sections Modified: php/php-src/branches/PHP_5_2/ext/filter/tests/bug42718.phpt === --- php/php-src/branches/PHP_5_2/ext/filter/tests/bug42718.phpt 2009-07-18 16:39:35 UTC (rev 284325) +++ php/php-src/branches/PHP_5_2/ext/filter/tests/bug42718.phpt 2009-07-18 16:41:16 UTC (rev 284326) @@ -15,7 +15,6 @@ var_dump(FILTER_FLAG_STRIP_LOW == 4); echo addcslashes($_GET['a'],\0) . \n; ? ---XFAIL-- --EXPECT-- unsafe_raw 4 Modified: php/php-src/branches/PHP_5_3/ext/filter/tests/bug42718.phpt === --- php/php-src/branches/PHP_5_3/ext/filter/tests/bug42718.phpt 2009-07-18 16:39:35 UTC (rev 284325) +++ php/php-src/branches/PHP_5_3/ext/filter/tests/bug42718.phpt 2009-07-18 16:41:16 UTC (rev 284326) @@ -15,7 +15,6 @@ var_dump(FILTER_FLAG_STRIP_LOW == 4); echo addcslashes($_GET['a'],\0) . \n; ? ---XFAIL-- --EXPECT-- unsafe_raw 4 Modified: php/php-src/branches/PHP_5_3/ext/simplexml/tests/034.phpt === --- php/php-src/branches/PHP_5_3/ext/simplexml/tests/034.phpt 2009-07-18 16:39:35 UTC (rev 284325) +++ php/php-src/branches/PHP_5_3/ext/simplexml/tests/034.phpt 2009-07-18 16:41:16 UTC (rev 284326) @@ -1,6 +1,5 @@ --TEST-- SimpleXML: array casting bug ---XFAIL-- --SKIPIF-- ?php if (!extension_loaded(simplexml)) print skip; ? --FILE-- -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/php-src/ branches/PHP_5_2/ext/filter/tests/bug42718.phpt branches/PHP_5_3/ext/filter/tests/bug42718.phpt trunk/ext/filter/tests/bug42718.phpt
zoe Sat, 18 Jul 2009 16:53:54 + URL: http://svn.php.net/viewvc?view=revisionrevision=284327 Changed paths: U php/php-src/branches/PHP_5_2/ext/filter/tests/bug42718.phpt U php/php-src/branches/PHP_5_3/ext/filter/tests/bug42718.phpt U php/php-src/trunk/ext/filter/tests/bug42718.phpt Log: Adding explanation Modified: php/php-src/branches/PHP_5_2/ext/filter/tests/bug42718.phpt === --- php/php-src/branches/PHP_5_2/ext/filter/tests/bug42718.phpt 2009-07-18 16:41:16 UTC (rev 284326) +++ php/php-src/branches/PHP_5_2/ext/filter/tests/bug42718.phpt 2009-07-18 16:53:54 UTC (rev 284327) @@ -1,5 +1,7 @@ --TEST-- Bug #42718 (unsafe_raw filter not applied when configured as default filter) +--XFAIL-- +Pierre knows why this test fails, please ask him. --SKIPIF-- ?php if (!extension_loaded(filter)) die(skip); ? --INI-- Modified: php/php-src/branches/PHP_5_3/ext/filter/tests/bug42718.phpt === --- php/php-src/branches/PHP_5_3/ext/filter/tests/bug42718.phpt 2009-07-18 16:41:16 UTC (rev 284326) +++ php/php-src/branches/PHP_5_3/ext/filter/tests/bug42718.phpt 2009-07-18 16:53:54 UTC (rev 284327) @@ -1,5 +1,7 @@ --TEST-- Bug #42718 (unsafe_raw filter not applied when configured as default filter) +--XFAIL-- +Pierre knows why this test fails, please ask him. --SKIPIF-- ?php if (!extension_loaded(filter)) die(skip); ? --INI-- Modified: php/php-src/trunk/ext/filter/tests/bug42718.phpt === --- php/php-src/trunk/ext/filter/tests/bug42718.phpt2009-07-18 16:41:16 UTC (rev 284326) +++ php/php-src/trunk/ext/filter/tests/bug42718.phpt2009-07-18 16:53:54 UTC (rev 284327) @@ -1,5 +1,7 @@ --TEST-- Bug #42718 (unsafe_raw filter not applied when configured as default filter) +--XFAIL-- +Pierre knows why this test fails, please ask him. --SKIPIF-- ?php if (!extension_loaded(filter)) die(skip); ? --INI-- -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/php-src/ branches/PHP_5_3/ext/simplexml/tests/034.phpt trunk/ext/simplexml/tests/034.phpt
zoe Sat, 18 Jul 2009 17:00:53 + URL: http://svn.php.net/viewvc?view=revisionrevision=284328 Changed paths: U php/php-src/branches/PHP_5_3/ext/simplexml/tests/034.phpt U php/php-src/trunk/ext/simplexml/tests/034.phpt Log: Added comment to XFAIL Modified: php/php-src/branches/PHP_5_3/ext/simplexml/tests/034.phpt === --- php/php-src/branches/PHP_5_3/ext/simplexml/tests/034.phpt 2009-07-18 16:53:54 UTC (rev 284327) +++ php/php-src/branches/PHP_5_3/ext/simplexml/tests/034.phpt 2009-07-18 17:00:53 UTC (rev 284328) @@ -1,5 +1,7 @@ --TEST-- SimpleXML: array casting bug +--XFAIL-- +Does anyone know why? --SKIPIF-- ?php if (!extension_loaded(simplexml)) print skip; ? --FILE-- Modified: php/php-src/trunk/ext/simplexml/tests/034.phpt === --- php/php-src/trunk/ext/simplexml/tests/034.phpt 2009-07-18 16:53:54 UTC (rev 284327) +++ php/php-src/trunk/ext/simplexml/tests/034.phpt 2009-07-18 17:00:53 UTC (rev 284328) @@ -1,5 +1,7 @@ --TEST-- SimpleXML: array casting bug +--XFAIL-- +Does anyone know why? --SKIPIF-- ?php if (!extension_loaded(simplexml)) print skip; ? --FILE-- -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/src/testcase/ rtPhpTest.php
zoe Sat, 18 Jul 2009 17:38:12 + URL: http://svn.php.net/viewvc?view=revisionrevision=284332 Changed paths: U php/phpruntests/trunk/src/testcase/rtPhpTest.php Log: remove unnecessary check Modified: php/phpruntests/trunk/src/testcase/rtPhpTest.php === --- php/phpruntests/trunk/src/testcase/rtPhpTest.php2009-07-18 17:10:12 UTC (rev 284331) +++ php/phpruntests/trunk/src/testcase/rtPhpTest.php2009-07-18 17:38:12 UTC (rev 284332) @@ -42,7 +42,7 @@ { $lastSection = end($this-sectionHeadings); $start=0; - + foreach($this-sectionHeadings as $keyNumber = $sectionKey) { if($keyNumber count($this-sectionHeadings) - 1) { @@ -53,20 +53,17 @@ for($index=$start; $indexcount($this-contents); $index++) if($this-contents[$index] == --.$sectionKey.--) { //Found the beginning of the section - + for($contentsLine=$index + 1; $contentsLinecount($this-contents); $contentsLine ++) { - + if( ($this-contents[$contentsLine] == --.$nextKey.--) || ($contentsLine == count($this-contents))) { //Found the end of the section OR the end of the test $start = $contentsLine - 1; if($this-isFileSection($sectionKey)) { $tempArray = $this-removeDone($tempArray); -} - -if(count($tempArray) 0) { -$testSection = rtSection::getInstance($sectionKey, $tempArray); -$this-sections[$sectionKey] = $testSection; -} +} +$testSection = rtSection::getInstance($sectionKey, $tempArray); +$this-sections[$sectionKey] = $testSection; break; } else { $tempArray[] = $this-contents[$contentsLine]; @@ -183,7 +180,7 @@ $result = array(); foreach($array as $line) { $result[] = $line; -// If found at the start of the line, so ' ===done===' won't work. +// If found at the start of the line, so ' ===done===' won't work. if(stripos($line, ===done===) === 0) { break; } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/QA/ QATESTS.tgz compareNewOld.php
zoe Sat, 18 Jul 2009 17:49:35 + URL: http://svn.php.net/viewvc?view=revisionrevision=284333 Changed paths: U php/phpruntests/trunk/QA/QATESTS.tgz U php/phpruntests/trunk/QA/compareNewOld.php Log: Updated tests and checker Modified: php/phpruntests/trunk/QA/QATESTS.tgz === (Binary files differ) Modified: php/phpruntests/trunk/QA/compareNewOld.php === --- php/phpruntests/trunk/QA/compareNewOld.php 2009-07-18 17:38:12 UTC (rev 284332) +++ php/phpruntests/trunk/QA/compareNewOld.php 2009-07-18 17:49:35 UTC (rev 284333) @@ -57,7 +57,7 @@ foreach($output as $line) { if (preg_match(/$top_level\/((ext|sapi|Zend|tests)\/\S+)\s{1},(.*)\s{1}$searchFor\s{1}/, $line, $matches)) { if($searchFor == 'FAIL') { - if(!preg_match(/XFAIL/, $matches[2])) { + if(!preg_match(/XFAIL/, $line)) { $result[] = $matches[1] . .phpt; } } else { @@ -65,14 +65,14 @@ } } - } + } return $result; } function parseOld($output, $searchFor) { $result = array(); foreach($output as $line) { - if (preg_match(/^TEST\s+\d+\/\d+\s+\[(.+\.phpt)\]\s+$searchFor/, $line, $matches)) { + if (preg_match(/^TEST\s+\d+\/\d+\s+\[(.+\.phpt)\]\s+$searchFor\s+/, $line, $matches)) { $result[] = $matches[1]; } } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/QA/ LinuxQAJuly18
zoe Sat, 18 Jul 2009 19:48:10 + URL: http://svn.php.net/viewvc?view=revisionrevision=284334 Changed paths: A php/phpruntests/trunk/QA/LinuxQAJuly18 Log: baseline Linux comparison Added: php/phpruntests/trunk/QA/LinuxQAJuly18 === --- php/phpruntests/trunk/QA/LinuxQAJuly18 (rev 0) +++ php/phpruntests/trunk/QA/LinuxQAJuly18 2009-07-18 19:48:10 UTC (rev 284334) @@ -0,0 +1,46 @@ + + +In the new code (phpruntests)... + Number of Warnings: 0 + Number of Notices: 0 + Number of Fatal: 0 + + = 2 tests fail in phpruntests and do not fail in run-tests +ext/phar/tests/zip/phar_stub.phpt +ext/standard/tests/general_functions/phpinfo.phpt + + = 0 tests fail in run-tests and do not fail in phpruntests + + = 25 tests bork in phpruntests and do not bork in run-tests +ext/pdo_sqlite/tests/common.phpt +ext/posix/tests/posix_access.phpt +ext/posix/tests/posix_access_error_modes.phpt +ext/posix/tests/posix_access_error_wrongparams.phpt +ext/posix/tests/posix_ctermid.phpt +ext/posix/tests/posix_getcwd.phpt +ext/posix/tests/posix_getgrnam.phpt +ext/posix/tests/posix_getpwnam.phpt +ext/posix/tests/posix_getrlimit.phpt +ext/posix/tests/posix_getsid.phpt +ext/posix/tests/posix_getsid_error.phpt +ext/posix/tests/posix_initgroups.phpt +ext/posix/tests/posix_isatty.phpt +ext/posix/tests/posix_mkfifo_safemode.phpt +ext/posix/tests/posix_mknod.phpt +ext/posix/tests/posix_times.phpt +ext/posix/tests/posix_ttyname.phpt +ext/posix/tests/posix_ttyname_error_wrongparams.phpt +ext/posix/tests/posix_uname.phpt +ext/sqlite/tests/pdo/common.phpt +ext/standard/tests/general_functions/phpcredits2.phpt +ext/standard/tests/misc/time_nanosleep_error4.phpt +tests/lang/bug35382.phpt +tests/lang/comments2.phpt +tests/run-test/test010.phpt + + = 0 tests bork in run-tests and do not bork in phpruntests + + = 0 tests skip in phpruntests and do not skip in run-tests + + = 1 tests skip in run-tests and do not skip in phpruntests +ext/posix/tests/posix_ttyname_error_wrongparams.phpt -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/QA/ BaseNewOldComparison_08072009
zoe Sat, 18 Jul 2009 19:49:12 + URL: http://svn.php.net/viewvc?view=revisionrevision=284335 Changed paths: D php/phpruntests/trunk/QA/BaseNewOldComparison_08072009 Log: remove previous comparison Deleted: php/phpruntests/trunk/QA/BaseNewOldComparison_08072009 === --- php/phpruntests/trunk/QA/BaseNewOldComparison_08072009 2009-07-18 19:48:10 UTC (rev 284334) +++ php/phpruntests/trunk/QA/BaseNewOldComparison_08072009 2009-07-18 19:49:12 UTC (rev 284335) @@ -1,126 +0,0 @@ - - -In the new code (phpruntests)... - Number of Warnings: 0 - Number of Notices: 0 - Number of Fatal: 0 - - = 7 tests fail in phpruntests and do not fail in run-tests -Zend/tests/ns_085.phpt -Zend/tests/ns_086.phpt -ext/standard/tests/mail/mail_basic2.phpt -tests/basic/bug20539.phpt -ext/spl/tests/bug42364.phpt -ext/standard/tests/general_functions/phpinfo.phpt -tests/lang/bug32924.phpt - - = 0 tests fail in run-tests and do not fail in phpruntests - - = 49 tests bork in phpruntests and do not bork in run-tests -Zend/tests/constants_002.phpt -Zend/tests/each_003.phpt -Zend/tests/get_parent_class_001.phpt -Zend/tests/globals_001.phpt -Zend/tests/globals_002.phpt -Zend/tests/globals_003.phpt -Zend/tests/globals_004.phpt -Zend/tests/ns_023.phpt -Zend/tests/ns_024.phpt -ext/posix/tests/posix_access.phpt -ext/posix/tests/posix_access_error_modes.phpt -ext/posix/tests/posix_access_error_wrongparams.phpt -ext/posix/tests/posix_ctermid.phpt -ext/posix/tests/posix_getcwd.phpt -ext/posix/tests/posix_getgrnam.phpt -ext/posix/tests/posix_getpwnam.phpt -ext/posix/tests/posix_getrlimit.phpt -ext/posix/tests/posix_getsid.phpt -ext/posix/tests/posix_getsid_error.phpt -ext/posix/tests/posix_initgroups.phpt -ext/posix/tests/posix_isatty.phpt -ext/posix/tests/posix_mkfifo_safemode.phpt -ext/posix/tests/posix_mknod.phpt -ext/posix/tests/posix_times.phpt -ext/posix/tests/posix_ttyname.phpt -ext/posix/tests/posix_ttyname_error_wrongparams.phpt -ext/posix/tests/posix_uname.phpt -ext/sqlite3/tests/sqlite3_32_createAggregate_paramCount.phpt -ext/sqlite3/tests/sqlite3_33_createAggregate_notcallable.phpt -tests/run-test/test010.phpt -ext/dom/tests/DOMAttr_value_basic_002.phpt -ext/dom/tests/DOMCharacterData_data_error_002.phpt -ext/pdo_sqlite/tests/common.phpt -ext/sqlite/tests/pdo/common.phpt -ext/standard/tests/file/windows_acls/bug44859_4.phpt -ext/xmlwriter/tests/bug48204.phpt -ext/xmlwriter/tests/xmlwriter_open_uri_error_001.phpt -ext/xmlwriter/tests/xmlwriter_open_uri_error_002.phpt -ext/xmlwriter/tests/xmlwriter_open_uri_error_003.phpt -ext/xmlwriter/tests/xmlwriter_open_uri_error_004.phpt -ext/xmlwriter/tests/xmlwriter_open_uri_error_005.phpt -ext/xmlwriter/tests/xmlwriter_set_indent_string_basic_001.phpt -ext/xmlwriter/tests/xmlwriter_set_indent_string_error_001.phpt -ext/xmlwriter/tests/xmlwriter_write_attribute_ns_basic_001.phpt -ext/xmlwriter/tests/xmlwriter_write_attribute_ns_error_001.phpt -ext/xmlwriter/tests/xmlwriter_write_dtd_basic_001.phpt -ext/xmlwriter/tests/xmlwriter_write_dtd_error_001.phpt -tests/lang/bug35382.phpt -tests/lang/comments2.phpt - - = 0 tests bork in run-tests and do not bork in phpruntests - - = 42 tests skip in phpruntests and do not skip in run-tests -Zend/tests/unset_cv07.phpt -ext/standard/tests/file/is_uploaded_file_basic.phpt -ext/standard/tests/file/move_uploaded_file_basic.phpt -ext/standard/tests/misc/get_browser_basic.phpt -ext/standard/tests/misc/get_browser_error.phpt -ext/standard/tests/misc/get_browser_variation1.phpt -tests/basic/002.phpt -tests/basic/003.phpt -tests/basic/004.phpt -tests/basic/005.phpt -tests/basic/011.phpt -tests/basic/013.phpt -tests/basic/014.phpt -tests/basic/015.phpt -tests/basic/016.phpt -tests/basic/017.phpt -tests/basic/018.phpt -tests/basic/019.phpt -tests/basic/020.phpt -tests/basic/021.phpt -tests/basic/024.phpt -tests/basic/025.phpt -tests/basic/026.phpt -tests/basic/027.phpt -tests/basic/bug46759.phpt -tests/basic/rfc1867_anonymous_upload.phpt -tests/basic/rfc1867_array_upload.phpt -tests/basic/rfc1867_boundary_1.phpt -tests/basic/rfc1867_boundary_2.phpt -tests/basic/rfc1867_empty_upload.phpt -tests/basic/rfc1867_file_upload_disabled.phpt -tests/basic/rfc1867_garbled_mime_headers.phpt -tests/basic/rfc1867_invalid_boundary.phpt -tests/basic/rfc1867_malicious_input.phpt -tests/basic/rfc1867_max_file_size.phpt -tests/basic/rfc1867_missing_boundary.phpt -tests/basic/rfc1867_missing_boundary_2.phpt -tests/basic/rfc1867_post_max_filesize.phpt -tests/basic/rfc1867_post_max_size.phpt -ext/standard/tests/general_functions/phpcredits2.phpt -ext/standard/tests/general_functions/phpinfo2.phpt -tests/lang/bug25145.phpt - - = 10 tests skip in run-tests and do not skip in phpruntests -/mnt/workspace/runtests_checks/ext/pdo_sqlite/tests/bug_43130.phpt -/mnt/workspace/runtests_checks/ext/pdo_sqlite/tests/bug_44861.phpt -/mnt/workspace/runtests_checks/ext
[PHP-CVS] svn: php/phpruntests/trunk/QA/
zoe Sat, 18 Jul 2009 19:50:35 + URL: http://svn.php.net/viewvc?view=revisionrevision=284336 Changed paths: D php/phpruntests/trunk/QA/tests/ Log: remove -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/php-src/branches/PHP_5_3/Zend/tests/ constants_002.phpt each_003.phpt get_parent_class_001.phpt globals_001.phpt globals_002.phpt globals_003.phpt globals_004.phpt ns_023.phpt ns_02
zoe Fri, 17 Jul 2009 08:18:27 + URL: http://svn.php.net/viewvc?view=revisionrevision=284239 Changed paths: U php/php-src/branches/PHP_5_3/Zend/tests/constants_002.phpt U php/php-src/branches/PHP_5_3/Zend/tests/each_003.phpt U php/php-src/branches/PHP_5_3/Zend/tests/get_parent_class_001.phpt U php/php-src/branches/PHP_5_3/Zend/tests/globals_001.phpt U php/php-src/branches/PHP_5_3/Zend/tests/globals_002.phpt U php/php-src/branches/PHP_5_3/Zend/tests/globals_003.phpt U php/php-src/branches/PHP_5_3/Zend/tests/globals_004.phpt U php/php-src/branches/PHP_5_3/Zend/tests/ns_023.phpt U php/php-src/branches/PHP_5_3/Zend/tests/ns_024.phpt Log: fix tests Modified: php/php-src/branches/PHP_5_3/Zend/tests/constants_002.phpt === --- php/php-src/branches/PHP_5_3/Zend/tests/constants_002.phpt 2009-07-17 07:39:12 UTC (rev 284238) +++ php/php-src/branches/PHP_5_3/Zend/tests/constants_002.phpt 2009-07-17 08:18:27 UTC (rev 284239) @@ -16,9 +16,3 @@ Notice: Use of undefined constant foo - assumed 'foo' in %s on line %d string(%d) foo resource(%d) of type (stream) ---UEXPECTF-- -Warning: Constants may only evaluate to scalar values in %s on line %d - -Notice: Use of undefined constant foo - assumed 'foo' in %s on line %d -unicode(%d) foo -resource(%d) of type (stream) Modified: php/php-src/branches/PHP_5_3/Zend/tests/each_003.phpt === --- php/php-src/branches/PHP_5_3/Zend/tests/each_003.phpt 2009-07-17 07:39:12 UTC (rev 284238) +++ php/php-src/branches/PHP_5_3/Zend/tests/each_003.phpt 2009-07-17 08:18:27 UTC (rev 284239) @@ -22,16 +22,3 @@ [key]= int(0) } ---UEXPECTF-- -array(4) { - [1]= - array(0) { - } - [uvalue]= - array(0) { - } - [0]= - int(0) - [ukey]= - int(0) -} Modified: php/php-src/branches/PHP_5_3/Zend/tests/get_parent_class_001.phpt === --- php/php-src/branches/PHP_5_3/Zend/tests/get_parent_class_001.phpt 2009-07-17 07:39:12 UTC (rev 284238) +++ php/php-src/branches/PHP_5_3/Zend/tests/get_parent_class_001.phpt 2009-07-17 08:18:27 UTC (rev 284239) @@ -26,6 +26,3 @@ --EXPECT-- string(3) bar bool(false) ---UEXPECT-- -unicode(3) bar -bool(false) Modified: php/php-src/branches/PHP_5_3/Zend/tests/globals_001.phpt === --- php/php-src/branches/PHP_5_3/Zend/tests/globals_001.phpt2009-07-17 07:39:12 UTC (rev 284238) +++ php/php-src/branches/PHP_5_3/Zend/tests/globals_001.phpt2009-07-17 08:18:27 UTC (rev 284239) @@ -1,6 +1,6 @@ --TEST-- globals in global scope ---INIT-- +--INI-- variables_order=egpcs --FILE-- ?php Modified: php/php-src/branches/PHP_5_3/Zend/tests/globals_002.phpt === --- php/php-src/branches/PHP_5_3/Zend/tests/globals_002.phpt2009-07-17 07:39:12 UTC (rev 284238) +++ php/php-src/branches/PHP_5_3/Zend/tests/globals_002.phpt2009-07-17 08:18:27 UTC (rev 284239) @@ -1,6 +1,6 @@ --TEST-- globals in local scope ---INIT-- +--INI-- variables_order=egpcs --FILE-- ?php Modified: php/php-src/branches/PHP_5_3/Zend/tests/globals_003.phpt === --- php/php-src/branches/PHP_5_3/Zend/tests/globals_003.phpt2009-07-17 07:39:12 UTC (rev 284238) +++ php/php-src/branches/PHP_5_3/Zend/tests/globals_003.phpt2009-07-17 08:18:27 UTC (rev 284239) @@ -1,6 +1,6 @@ --TEST-- globals in local scope - 2 ---INIT-- +--INI-- variables_order=egpcs --FILE-- ?php Modified: php/php-src/branches/PHP_5_3/Zend/tests/globals_004.phpt === --- php/php-src/branches/PHP_5_3/Zend/tests/globals_004.phpt2009-07-17 07:39:12 UTC (rev 284238) +++ php/php-src/branches/PHP_5_3/Zend/tests/globals_004.phpt2009-07-17 08:18:27 UTC (rev 284239) @@ -1,6 +1,6 @@ --TEST-- globals in local scope - 3 ---INIT-- +--INI-- variables_order=egpcs --FILE-- ?php Modified: php/php-src/branches/PHP_5_3/Zend/tests/ns_023.phpt === --- php/php-src/branches/PHP_5_3/Zend/tests/ns_023.phpt 2009-07-17 07:39:12 UTC (rev 284238) +++ php/php-src/branches/PHP_5_3/Zend/tests/ns_023.phpt 2009-07-17 08:18:27 UTC (rev 284239) @@ -7,5 +7,3 @@ var_dump(__NAMESPACE__); --EXPECT-- string(8) test\foo ---UEXPECT-- -unicode(8) test\foo Modified: php/php-src/branches/PHP_5_3/Zend/tests/ns_024.phpt === --- php/php-src/branches/PHP_5_3/Zend/tests/ns_024.phpt 2009-07-17 07:39:12 UTC (rev 284238) +++ php/php-src/branches/PHP_5_3/Zend/tests/ns_024.phpt 2009-07-17 08:18:27 UTC (rev 284239) @@ -5,5 +5,3 @@ var_dump
[PHP-CVS] svn: php/php-src/trunk/Zend/tests/ globals_001.phpt globals_002.phpt globals_003.phpt globals_004.phpt
zoe Fri, 17 Jul 2009 08:20:04 + URL: http://svn.php.net/viewvc?view=revisionrevision=284240 Changed paths: U php/php-src/trunk/Zend/tests/globals_001.phpt U php/php-src/trunk/Zend/tests/globals_002.phpt U php/php-src/trunk/Zend/tests/globals_003.phpt U php/php-src/trunk/Zend/tests/globals_004.phpt Log: fix tests Modified: php/php-src/trunk/Zend/tests/globals_001.phpt === --- php/php-src/trunk/Zend/tests/globals_001.phpt 2009-07-17 08:18:27 UTC (rev 284239) +++ php/php-src/trunk/Zend/tests/globals_001.phpt 2009-07-17 08:20:04 UTC (rev 284240) @@ -1,6 +1,6 @@ --TEST-- globals in global scope ---INIT-- +--INI-- variables_order=egpcs --FILE-- ?php Modified: php/php-src/trunk/Zend/tests/globals_002.phpt === --- php/php-src/trunk/Zend/tests/globals_002.phpt 2009-07-17 08:18:27 UTC (rev 284239) +++ php/php-src/trunk/Zend/tests/globals_002.phpt 2009-07-17 08:20:04 UTC (rev 284240) @@ -1,6 +1,6 @@ --TEST-- globals in local scope ---INIT-- +--INI-- variables_order=egpcs --FILE-- ?php Modified: php/php-src/trunk/Zend/tests/globals_003.phpt === --- php/php-src/trunk/Zend/tests/globals_003.phpt 2009-07-17 08:18:27 UTC (rev 284239) +++ php/php-src/trunk/Zend/tests/globals_003.phpt 2009-07-17 08:20:04 UTC (rev 284240) @@ -1,6 +1,6 @@ --TEST-- globals in local scope - 2 ---INIT-- +--INI-- variables_order=egpcs --FILE-- ?php Modified: php/php-src/trunk/Zend/tests/globals_004.phpt === --- php/php-src/trunk/Zend/tests/globals_004.phpt 2009-07-17 08:18:27 UTC (rev 284239) +++ php/php-src/trunk/Zend/tests/globals_004.phpt 2009-07-17 08:20:04 UTC (rev 284240) @@ -1,6 +1,6 @@ --TEST-- globals in local scope - 3 ---INIT-- +--INI-- variables_order=egpcs --FILE-- ?php -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/php-src/trunk/ext/xmlwriter/tests/ bug48204.phpt xmlwriter_open_uri_error_001.phpt xmlwriter_open_uri_error_002.phpt xmlwriter_open_uri_error_003.phpt xmlwriter_open_uri_error_004.p
zoe Fri, 17 Jul 2009 09:03:04 + URL: http://svn.php.net/viewvc?view=revisionrevision=284241 Changed paths: U php/php-src/trunk/ext/xmlwriter/tests/bug48204.phpt U php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_001.phpt U php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_002.phpt U php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_003.phpt U php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_004.phpt U php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_005.phpt U php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_set_indent_string_basic_001.phpt U php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_set_indent_string_error_001.phpt U php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_write_attribute_ns_basic_001.phpt U php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_write_attribute_ns_error_001.phpt U php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_write_dtd_basic_001.phpt U php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_write_dtd_error_001.phpt Log: fix tests Modified: php/php-src/trunk/ext/xmlwriter/tests/bug48204.phpt === --- php/php-src/trunk/ext/xmlwriter/tests/bug48204.phpt 2009-07-17 08:20:04 UTC (rev 284240) +++ php/php-src/trunk/ext/xmlwriter/tests/bug48204.phpt 2009-07-17 09:03:04 UTC (rev 284241) @@ -7,7 +7,7 @@ $path = str_repeat('a', PHP_MAXPATHLEN + 1); var_dump(xmlwriter_open_uri('file:///' . $path)); ? ---CREDIT-- +--CREDITS-- Koen Kuipers koen...@gmail.com Theo van der Zee #Test Fest Utrecht 09-05-2009 Modified: php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_001.phpt === --- php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_001.phpt 2009-07-17 08:20:04 UTC (rev 284240) +++ php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_001.phpt 2009-07-17 09:03:04 UTC (rev 284241) @@ -6,7 +6,7 @@ ?php var_dump(xmlwriter_open_uri('')); ? ---CREDIT-- +--CREDITS-- Koen Kuipers koen...@gmail.com Theo van der Zee #Test Fest Utrecht 09-05-2009 Modified: php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_002.phpt === --- php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_002.phpt 2009-07-17 08:20:04 UTC (rev 284240) +++ php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_002.phpt 2009-07-17 09:03:04 UTC (rev 284241) @@ -6,7 +6,7 @@ ?php var_dump(xmlwriter_open_uri()); ? ---CREDIT-- +--CREDITS-- Koen Kuipers koen...@gmail.com Theo van der Zee #Test Fest Utrecht 09-05-2009 Modified: php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_003.phpt === --- php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_003.phpt 2009-07-17 08:20:04 UTC (rev 284240) +++ php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_003.phpt 2009-07-17 09:03:04 UTC (rev 284241) @@ -6,7 +6,7 @@ ?php var_dump(xmlwriter_open_uri('foo/bar.tmp')); ? ---CREDIT-- +--CREDITS-- Koen Kuipers koen...@gmail.com Theo van der Zee #Test Fest Utrecht 09-05-2009 Modified: php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_004.phpt === --- php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_004.phpt 2009-07-17 08:20:04 UTC (rev 284240) +++ php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_004.phpt 2009-07-17 09:03:04 UTC (rev 284241) @@ -6,7 +6,7 @@ ?php var_dump(xmlwriter_open_uri('file:///')); ? ---CREDIT-- +--CREDITS-- Koen Kuipers koen...@gmail.com Theo van der Zee #Test Fest Utrecht 09-05-2009 Modified: php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_005.phpt === --- php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_005.phpt 2009-07-17 08:20:04 UTC (rev 284240) +++ php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_open_uri_error_005.phpt 2009-07-17 09:03:04 UTC (rev 284241) @@ -6,7 +6,7 @@ ?php var_dump(xmlwriter_open_uri('file://localhost/')); ? ---CREDIT-- +--CREDITS-- Koen Kuipers koen...@gmail.com Theo van der Zee #Test Fest Utrecht 09-05-2009 Modified: php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_set_indent_string_basic_001.phpt === --- php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_set_indent_string_basic_001.phpt 2009-07-17 08:20:04 UTC (rev 284240) +++ php/php-src/trunk/ext/xmlwriter/tests/xmlwriter_set_indent_string_basic_001.phpt 2009-07-17 09:03:04 UTC (rev 284241) @@ -16,7 +16,7 @@ $temp_filename = dirname(__FILE__
[PHP-CVS] svn: php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/ bug48204.phpt xmlwriter_open_uri_error_001.phpt xmlwriter_open_uri_error_002.phpt xmlwriter_open_uri_error_003.phpt xmlwriter_open_uri_
zoe Fri, 17 Jul 2009 09:04:52 + URL: http://svn.php.net/viewvc?view=revisionrevision=284242 Changed paths: U php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/bug48204.phpt U php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_001.phpt U php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_002.phpt U php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_003.phpt U php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_004.phpt U php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_005.phpt U php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_set_indent_string_basic_001.phpt U php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_set_indent_string_error_001.phpt U php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_write_attribute_ns_basic_001.phpt U php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_write_attribute_ns_error_001.phpt U php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_write_dtd_basic_001.phpt U php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_write_dtd_error_001.phpt Log: fix tests Modified: php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/bug48204.phpt === --- php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/bug48204.phpt 2009-07-17 09:03:04 UTC (rev 284241) +++ php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/bug48204.phpt 2009-07-17 09:04:52 UTC (rev 284242) @@ -7,7 +7,7 @@ $path = str_repeat('a', PHP_MAXPATHLEN + 1); var_dump(xmlwriter_open_uri('file:///' . $path)); ? ---CREDIT-- +--CREDITS-- Koen Kuipers koen...@gmail.com Theo van der Zee #Test Fest Utrecht 09-05-2009 Modified: php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_001.phpt === --- php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_001.phpt 2009-07-17 09:03:04 UTC (rev 284241) +++ php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_001.phpt 2009-07-17 09:04:52 UTC (rev 284242) @@ -6,7 +6,7 @@ ?php var_dump(xmlwriter_open_uri('')); ? ---CREDIT-- +--CREDITS-- Koen Kuipers koen...@gmail.com Theo van der Zee #Test Fest Utrecht 09-05-2009 Modified: php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_002.phpt === --- php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_002.phpt 2009-07-17 09:03:04 UTC (rev 284241) +++ php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_002.phpt 2009-07-17 09:04:52 UTC (rev 284242) @@ -6,7 +6,7 @@ ?php var_dump(xmlwriter_open_uri()); ? ---CREDIT-- +--CREDITS-- Koen Kuipers koen...@gmail.com Theo van der Zee #Test Fest Utrecht 09-05-2009 Modified: php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_003.phpt === --- php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_003.phpt 2009-07-17 09:03:04 UTC (rev 284241) +++ php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_003.phpt 2009-07-17 09:04:52 UTC (rev 284242) @@ -6,7 +6,7 @@ ?php var_dump(xmlwriter_open_uri('foo/bar.tmp')); ? ---CREDIT-- +--CREDITS-- Koen Kuipers koen...@gmail.com Theo van der Zee #Test Fest Utrecht 09-05-2009 Modified: php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_004.phpt === --- php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_004.phpt 2009-07-17 09:03:04 UTC (rev 284241) +++ php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_004.phpt 2009-07-17 09:04:52 UTC (rev 284242) @@ -6,7 +6,7 @@ ?php var_dump(xmlwriter_open_uri('file:///')); ? ---CREDIT-- +--CREDITS-- Koen Kuipers koen...@gmail.com Theo van der Zee #Test Fest Utrecht 09-05-2009 Modified: php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_005.phpt === --- php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_005.phpt 2009-07-17 09:03:04 UTC (rev 284241) +++ php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_open_uri_error_005.phpt 2009-07-17 09:04:52 UTC (rev 284242) @@ -6,7 +6,7 @@ ?php var_dump(xmlwriter_open_uri('file://localhost/')); ? ---CREDIT-- +--CREDITS-- Koen Kuipers koen...@gmail.com Theo van der Zee #Test Fest Utrecht 09-05-2009 Modified: php/php-src/branches/PHP_5_3/ext/xmlwriter/tests/xmlwriter_set_indent_string_basic_001.phpt
[PHP-CVS] svn: php/php-src/trunk/ext/sqlite3/tests/ sqlite3_32_createAggregate_paramCount.phpt sqlite3_33_createAggregate_notcallable.phpt
zoe Fri, 17 Jul 2009 09:25:13 + URL: http://svn.php.net/viewvc?view=revisionrevision=284243 Changed paths: U php/php-src/trunk/ext/sqlite3/tests/sqlite3_32_createAggregate_paramCount.phpt U php/php-src/trunk/ext/sqlite3/tests/sqlite3_33_createAggregate_notcallable.phpt Log: fix tests Modified: php/php-src/trunk/ext/sqlite3/tests/sqlite3_32_createAggregate_paramCount.phpt === --- php/php-src/trunk/ext/sqlite3/tests/sqlite3_32_createAggregate_paramCount.phpt 2009-07-17 09:04:52 UTC (rev 284242) +++ php/php-src/trunk/ext/sqlite3/tests/sqlite3_32_createAggregate_paramCount.phpt 2009-07-17 09:25:13 UTC (rev 284243) @@ -1,6 +1,6 @@ --TEST-- SQLite3::createAggregate Test that an error is thrown when no parameters are present ---CREDIT-- +--CREDITS-- James Cauwelier # Belgium PHP TestFest --SKIPIF-- Modified: php/php-src/trunk/ext/sqlite3/tests/sqlite3_33_createAggregate_notcallable.phpt === --- php/php-src/trunk/ext/sqlite3/tests/sqlite3_33_createAggregate_notcallable.phpt 2009-07-17 09:04:52 UTC (rev 284242) +++ php/php-src/trunk/ext/sqlite3/tests/sqlite3_33_createAggregate_notcallable.phpt 2009-07-17 09:25:13 UTC (rev 284243) @@ -1,6 +1,6 @@ --TEST-- SQLite3::createAggregate() Test whether a supplied PHP function is valid when using in an aggregate function ---CREDIT-- +--CREDITS-- James Cauwelier # Belgium PHP TestFest (2009) --SKIPIF-- -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/php-src/branches/PHP_5_3/ext/sqlite3/tests/ sqlite3_32_createAggregate_paramCount.phpt sqlite3_33_createAggregate_notcallable.phpt /file/windows_acls/bug44859_4.phpt
zoe Fri, 17 Jul 2009 09:28:19 + URL: http://svn.php.net/viewvc?view=revisionrevision=284244 Changed paths: U php/php-src/branches/PHP_5_3/ext/sqlite3/tests/sqlite3_32_createAggregate_paramCount.phpt U php/php-src/branches/PHP_5_3/ext/sqlite3/tests/sqlite3_33_createAggregate_notcallable.phpt U php/php-src/branches/PHP_5_3/ext/standard/tests/file/windows_acls/bug44859_4.phpt Log: fix tests Modified: php/php-src/branches/PHP_5_3/ext/sqlite3/tests/sqlite3_32_createAggregate_paramCount.phpt === --- php/php-src/branches/PHP_5_3/ext/sqlite3/tests/sqlite3_32_createAggregate_paramCount.phpt 2009-07-17 09:25:13 UTC (rev 284243) +++ php/php-src/branches/PHP_5_3/ext/sqlite3/tests/sqlite3_32_createAggregate_paramCount.phpt 2009-07-17 09:28:19 UTC (rev 284244) @@ -1,6 +1,6 @@ --TEST-- SQLite3::createAggregate Test that an error is thrown when no parameters are present ---CREDIT-- +--CREDITS-- James Cauwelier # Belgium PHP TestFest --SKIPIF-- Modified: php/php-src/branches/PHP_5_3/ext/sqlite3/tests/sqlite3_33_createAggregate_notcallable.phpt === --- php/php-src/branches/PHP_5_3/ext/sqlite3/tests/sqlite3_33_createAggregate_notcallable.phpt 2009-07-17 09:25:13 UTC (rev 284243) +++ php/php-src/branches/PHP_5_3/ext/sqlite3/tests/sqlite3_33_createAggregate_notcallable.phpt 2009-07-17 09:28:19 UTC (rev 284244) @@ -1,6 +1,6 @@ --TEST-- SQLite3::createAggregate() Test whether a supplied PHP function is valid when using in an aggregate function ---CREDIT-- +--CREDITS-- James Cauwelier # Belgium PHP TestFest (2009) --SKIPIF-- Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/file/windows_acls/bug44859_4.phpt === --- php/php-src/branches/PHP_5_3/ext/standard/tests/file/windows_acls/bug44859_4.phpt 2009-07-17 09:25:13 UTC (rev 284243) +++ php/php-src/branches/PHP_5_3/ext/standard/tests/file/windows_acls/bug44859_4.phpt 2009-07-17 09:28:19 UTC (rev 284244) @@ -1,6 +1,6 @@ --TEST-- bug #44859 (incorrect result with NTFS ACL permissions, is_readable) ---CREDIT-- +--CREDITS-- Venkat Raman Don --SKIPIF-- ?php -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/QA/ QATESTS.tgz
zoe Fri, 17 Jul 2009 09:40:24 + URL: http://svn.php.net/viewvc?view=revisionrevision=284246 Changed paths: U php/phpruntests/trunk/QA/QATESTS.tgz Log: fixed tests with wrong section names Modified: php/phpruntests/trunk/QA/QATESTS.tgz === (Binary files differ) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/src/testcase/output/ rtTestOutputWriterCSV.php rtTestOutputWriterList.php
zoe Fri, 17 Jul 2009 17:31:07 + URL: http://svn.php.net/viewvc?view=revisionrevision=284277 Changed paths: U php/phpruntests/trunk/src/testcase/output/rtTestOutputWriterCSV.php U php/phpruntests/trunk/src/testcase/output/rtTestOutputWriterList.php Log: Part one of fix to Georg's code Modified: php/phpruntests/trunk/src/testcase/output/rtTestOutputWriterCSV.php === --- php/phpruntests/trunk/src/testcase/output/rtTestOutputWriterCSV.php 2009-07-17 17:17:57 UTC (rev 284276) +++ php/phpruntests/trunk/src/testcase/output/rtTestOutputWriterCSV.php 2009-07-17 17:31:07 UTC (rev 284277) @@ -25,22 +25,16 @@ public function createOutput() { - foreach ($this-resultList as $testGroupResults) { - - foreach ($testGroupResults as $testResult) { - + foreach ($this-resultList as $testResult) { $outputString = $testResult-getName(); $testStatus = $testResult-getStatus(); - - foreach($testStatus-getTestStateNames() as $name) { - + foreach($testStatus-getTestStateNames() as $name) { if($testStatus-getValue($name)) { $outputString .= , . strtoupper($name); } } $this-output .= $outputString.\n; } -} } } Modified: php/phpruntests/trunk/src/testcase/output/rtTestOutputWriterList.php === --- php/phpruntests/trunk/src/testcase/output/rtTestOutputWriterList.php 2009-07-17 17:17:57 UTC (rev 284276) +++ php/phpruntests/trunk/src/testcase/output/rtTestOutputWriterList.php 2009-07-17 17:31:07 UTC (rev 284277) @@ -3,7 +3,7 @@ * rtTestOutputWriterList * * Write test output line by line - * + * * @category Testing * @packageRUNTESTS * @author Zoe Slattery z...@php.net @@ -12,37 +12,32 @@ * @copyright 2009 The PHP Group * @licensehttp://www.php.net/license/3_01.txt PHP License 3.01 * @link http://qa.php.net/ - * + * */ class rtTestOutputWriterList extends rtTestOutputWriter { public function __construct() { - $this-type = 'txt'; +$this-type = 'txt'; } - + public function createOutput() { -foreach ($this-resultList as $testGroupResults) { - - foreach ($testGroupResults as $testResult) { +foreach ($this-resultList as $testResult) { +$outputString = ; +$testStatus = $testResult-getStatus(); + +foreach($testStatus-getTestStateNames() as $name) { - $outputString = ; - $testStatus = $testResult-getStatus(); - - foreach($testStatus-getTestStateNames() as $name) { - - if ($testStatus-getValue($name)) { - $outputString .= . strtoupper($name); - $outputString .= . $testStatus-getMessage($name); - } - } - - $outputString .= . $testResult-getTitle(); - $outputString .= [ . $testResult-getName() . .phpt]; - $this-output .= $outputString.\n; - } +if ($testStatus-getValue($name)) { +$outputString .= . strtoupper($name); +$outputString .= . $testStatus-getMessage($name); +} +} +$outputString .= . $testResult-getTitle(); +$outputString .= [ . $testResult-getName() . .phpt]; +$this-output .= $outputString.\n; } } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/src/testcase/ rtTestConfiguration.php
zoe Thu, 16 Jul 2009 16:00:04 + URL: http://svn.php.net/viewvc?view=revisionrevision=284191 Changed paths: U php/phpruntests/trunk/src/testcase/rtTestConfiguration.php Log: fixing {PWD} in INI sections Modified: php/phpruntests/trunk/src/testcase/rtTestConfiguration.php === --- php/phpruntests/trunk/src/testcase/rtTestConfiguration.php 2009-07-16 15:49:57 UTC (rev 284190) +++ php/phpruntests/trunk/src/testcase/rtTestConfiguration.php 2009-07-16 16:00:04 UTC (rev 284191) @@ -41,7 +41,7 @@ $this-setCgiTest($sectionHeadings); $this-setEnvironmentVariables($runConfiguration, $sections, $fileSection); -$this-setPhpCommandLineArguments($runConfiguration, $sections); +$this-setPhpCommandLineArguments($runConfiguration, $sections, $fileSection); $this-setTestCommandLineArguments($sections); $this-setPhpExecutable($runConfiguration, $sectionHeadings); $this-setInputFileString($runConfiguration, $sections, $sectionHeadings); @@ -86,10 +86,11 @@ } -private function setPhpCommandLineArguments(rtRuntestsConfiguration $runConfiguration, $sections) +private function setPhpCommandLineArguments(rtRuntestsConfiguration $runConfiguration, $sections, $fileSection) { $this-phpCommandLineArguments = $runConfiguration-getSetting('PhpCommandLineArguments'); if (array_key_exists('INI', $sections)) { +$sections['INI']-substitutePWD($fileSection-getFileName()); $additionalArguments = $sections['INI']-getCommandLineArguments(); $args = new rtIniAsCommandLineArgs(); $this-phpCommandLineArguments = $args-settingsToArguments($additionalArguments, $this-phpCommandLineArguments); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/src/testcase/sections/configurationsections/ rtIniSection.php
zoe Thu, 16 Jul 2009 16:01:01 + URL: http://svn.php.net/viewvc?view=revisionrevision=284192 Changed paths: U php/phpruntests/trunk/src/testcase/sections/configurationsections/rtIniSection.php Log: fixing {PWD} in INI sections Modified: php/phpruntests/trunk/src/testcase/sections/configurationsections/rtIniSection.php === --- php/phpruntests/trunk/src/testcase/sections/configurationsections/rtIniSection.php 2009-07-16 16:00:04 UTC (rev 284191) +++ php/phpruntests/trunk/src/testcase/sections/configurationsections/rtIniSection.php 2009-07-16 16:01:01 UTC (rev 284192) @@ -3,7 +3,7 @@ * rtIniSection * * Adds section content to the test ini settings - * + * * @category Testing * @packageRUNTESTS * @author Zoe Slattery z...@php.net @@ -11,7 +11,7 @@ * @copyright 2009 The PHP Group * @licensehttp://www.php.net/license/3_01.txt PHP License 3.01 * @link http://qa.php.net/ - * + * */ class rtIniSection extends rtConfigurationSection { @@ -19,11 +19,30 @@ public function init() { +} + +/* + * There is an option to make the working directory the same as teh test'd directory using the INI options. + * See for example tests/lang/bug32924.phpt. + * This is a plain stupid way to do it. It should go as soon as there is an implementation of a SETUP section + */ +public function substitutePWD ($fileName) { +$tempArray = array(); foreach ($this-sectionContents as $line) { +if (strpos($line, '{PWD}') !== false) { +$tempArray[] = str_replace('{PWD}', dirname($fileName), $line); +} else { +$tempArray[] = $line; +} + +} + +$this-sectionContents = $tempArray; +foreach ($this-sectionContents as $line) { $this-commandLineArguments[] = addslashes($line); } } - + /** * Returns any additional PHP commandline arguments * -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/tests/testcase/sections/configurationsections/ rtIniSectionTest.php
zoe Thu, 16 Jul 2009 16:02:44 + URL: http://svn.php.net/viewvc?view=revisionrevision=284193 Changed paths: U php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtIniSectionTest.php Log: fixing {PWD} in INI sections Modified: php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtIniSectionTest.php === --- php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtIniSectionTest.php 2009-07-16 16:01:01 UTC (rev 284192) +++ php/phpruntests/trunk/tests/testcase/sections/configurationsections/rtIniSectionTest.php 2009-07-16 16:02:44 UTC (rev 284193) @@ -7,11 +7,21 @@ { public function testCreateInstance() { -$iniSection = rtIniSection::getInstance('INI', array('error_reporting=E_ALL | E_STRICT | E_DEPRECATED', 'assert.active = 1')); +$iniSection = rtIniSection::getInstance('INI', array('error_reporting=E_ALL | E_STRICT | E_DEPRECATED', 'assert.active = 1')); +$iniSection-substitutePWD('a-file-name'); $inilist = $iniSection-getCommandLineArguments(); $this-assertEquals('error_reporting=E_ALL | E_STRICT | E_DEPRECATED', $inilist[0]); $this-assertEquals('assert.active = 1', $inilist[1]); } +public function testSubtitutePWD() +{ +$iniSection = rtIniSection::getInstance('INI', array('include_path={PWD}')); +$afile = __FILE__; +$iniSection-substitutePWD($afile); +$inilist = $iniSection-getCommandLineArguments(); + +$this-assertEquals('include_path=' . dirname($afile), $inilist[0]); +} } ? -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/src/taskScheduler/
zoe Wed, 15 Jul 2009 10:35:04 + URL: http://svn.php.net/viewvc?view=revisionrevision=284111 Changed paths: U php/phpruntests/trunk/src/taskScheduler/rtTaskSchedulerFile.php U php/phpruntests/trunk/src/testcase/rtPhpRunner.php U php/phpruntests/trunk/src/testcase/rtPhpTest.php U php/phpruntests/trunk/src/testcase/rtPhpTestFile.php U php/phpruntests/trunk/src/testcase/sections/executablesections/rtCleanSection.php U php/phpruntests/trunk/src/testcase/sections/executablesections/rtFileSection.php U php/phpruntests/trunk/src/testcase/sections/executablesections/rtSkipIfSection.php U php/phpruntests/trunk/src/testgroup/rtPhpTestGroup.php U php/phpruntests/trunk/src/testrun/rtPhpTestRun.php Log: Fixing the parser to deal with empty sections Modified: php/phpruntests/trunk/src/taskScheduler/rtTaskSchedulerFile.php === --- php/phpruntests/trunk/src/taskScheduler/rtTaskSchedulerFile.php 2009-07-15 10:17:04 UTC (rev 284110) +++ php/phpruntests/trunk/src/taskScheduler/rtTaskSchedulerFile.php 2009-07-15 10:35:04 UTC (rev 284111) @@ -21,18 +21,6 @@ private $groupTasks = false; // are the tasks stored in groups? - /** - * the signal-handler is called by the interrupt- or quit-signal. this is - * necessary to cleanup the tmp files and terminate the script correct. - * - * @param int $signal - */ - public static function signalHandler($signal) - { - exit(0); - } - - /** * sets the task-list which has to be an array of task-objects. * it's also possible to use a multidimensional array. in this case the @@ -88,9 +76,7 @@ if ($this-processCount sizeof($this-taskList)) { $this-processCount = sizeof($this-taskList); } - - // distribute the task to the children $this-distributeTasks(); @@ -113,14 +99,7 @@ break; } } - - - // register signal-handler - /* - pcntl_signal(SIGINT, rtTaskSchedulerFile::signalHandler); - pcntl_signal(SIGQUIT, rtTaskSchedulerFile::signalHandler); - */ - + // wait until all child-processes are terminated for ($i=0; $i$this-processCount; $i++) { pcntl_waitpid($this-pidStore[$i], $status); @@ -195,8 +174,6 @@ unlink(self::TMP_FILE.$cid); } - - $this-pidStore = array(); } Modified: php/phpruntests/trunk/src/testcase/rtPhpRunner.php === --- php/phpruntests/trunk/src/testcase/rtPhpRunner.php 2009-07-15 10:17:04 UTC (rev 284110) +++ php/phpruntests/trunk/src/testcase/rtPhpRunner.php 2009-07-15 10:35:04 UTC (rev 284111) @@ -58,8 +58,6 @@ fclose($pipes[0]); -$counter = 0; - while (true) { /* hide errors from interrupted syscalls */ $r = $pipes; @@ -69,19 +67,14 @@ $n = @stream_select($r, $w, $e, $this-timeOut); if ($n === false) { -throw new rtException('Stream select failure in rtPhpRunner'); +throw new rtPhpRunnerException('Stream select failure in rtPhpRunner'); } else if ($n === 0) { proc_terminate($proc); -throw new rtException('The process running test code has timed out in rtPhpRunner'); +throw new rtPhpRunnerException ('The process running test code has timed out in rtPhpRunner'); } else if ($n 0) { - $counter++; - if ($counter 100) { - proc_terminate($proc); - throw new rtException('The process running test code has timed out in rtPhpRunner'); - } - $line = fread($pipes[1], 8192); +$line = fread($pipes[1], 8192); if (strlen($line) == 0) { -// EOF +/* EOF */ break; } $data .= (binary) $line; Modified: php/phpruntests/trunk/src/testcase/rtPhpTest.php === --- php/phpruntests/trunk/src/testcase/rtPhpTest.php 2009-07-15 10:17:04 UTC (rev 284110) +++ php/phpruntests/trunk/src/testcase/rtPhpTest.php 2009-07-15 10:35:04 UTC (rev 284111) @@ -42,7 +42,7 @@ { $lastSection = end($this-sectionHeadings); $start=0; - + foreach($this-sectionHeadings as $keyNumber = $sectionKey) { if($keyNumber count($this-sectionHeadings) - 1) { @@ -53,9 +53,9 @@ for($index=$start; $indexcount($this-contents); $index++) if($this-contents[$index] == --.$sectionKey.--) { //Found the beginning of the section - + for($contentsLine=$index + 1; $contentsLinecount($this-contents); $contentsLine ++) { - + if( ($this-contents[$contentsLine] == --.$nextKey.--) || ($contentsLine == count($this-contents))) { //Found the end
[PHP-CVS] svn: php/phpruntests/trunk/tests/testcase/
zoe Wed, 15 Jul 2009 10:35:41 + URL: http://svn.php.net/viewvc?view=revisionrevision=284112 Changed paths: U php/phpruntests/trunk/tests/testcase/rtCleanExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtCookieExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtDeflatePostExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtExpectHeadersExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtFileExternalExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtGetExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtGzipPostExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtPhpTestFileTest.php U php/phpruntests/trunk/tests/testcase/rtPostExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtPostRawExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtSkipIfExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtTestExecutionTest.php U php/phpruntests/trunk/tests/testcase/rtTestOutputWriterTest.php U php/phpruntests/trunk/tests/testcase/rtTestResultsTest.php Log: changes to tests to match parser changes Modified: php/phpruntests/trunk/tests/testcase/rtCleanExecutionTest.php === --- php/phpruntests/trunk/tests/testcase/rtCleanExecutionTest.php 2009-07-15 10:35:04 UTC (rev 284111) +++ php/phpruntests/trunk/tests/testcase/rtCleanExecutionTest.php 2009-07-15 10:35:41 UTC (rev 284112) @@ -38,6 +38,7 @@ $testFile = new rtPhpTestFile(); $testFile-doRead($testFiles[0]); $testFile-normaliseLineEndings(); +$testFile-removeEmptySections(); //Create a new test case $status = new rtTestStatus($testFile-getTestName()); @@ -65,6 +66,7 @@ $testFile = new rtPhpTestFile(); $testFile-doRead($testFiles[0]); $testFile-normaliseLineEndings(); +$testFile-removeEmptySections(); //Create a new test case $status = new rtTestStatus($testFile-getTestName()); Modified: php/phpruntests/trunk/tests/testcase/rtCookieExecutionTest.php === --- php/phpruntests/trunk/tests/testcase/rtCookieExecutionTest.php 2009-07-15 10:35:04 UTC (rev 284111) +++ php/phpruntests/trunk/tests/testcase/rtCookieExecutionTest.php 2009-07-15 10:35:41 UTC (rev 284112) @@ -37,6 +37,7 @@ $testFile = new rtPhpTestFile(); $testFile-doRead($testFiles[0]); $testFile-normaliseLineEndings(); +$testFile-removeEmptySections(); //Create a new test case $status = new rtTestStatus($testFile-getTestName()); Modified: php/phpruntests/trunk/tests/testcase/rtDeflatePostExecutionTest.php === --- php/phpruntests/trunk/tests/testcase/rtDeflatePostExecutionTest.php 2009-07-15 10:35:04 UTC (rev 284111) +++ php/phpruntests/trunk/tests/testcase/rtDeflatePostExecutionTest.php 2009-07-15 10:35:41 UTC (rev 284112) @@ -35,6 +35,7 @@ $testFile = new rtPhpTestFile(); $testFile-doRead($testFiles[0]); $testFile-normaliseLineEndings(); +$testFile-removeEmptySections(); //Create a new test case $status = new rtTestStatus($testFile-getTestName()); Modified: php/phpruntests/trunk/tests/testcase/rtExpectHeadersExecutionTest.php === --- php/phpruntests/trunk/tests/testcase/rtExpectHeadersExecutionTest.php 2009-07-15 10:35:04 UTC (rev 284111) +++ php/phpruntests/trunk/tests/testcase/rtExpectHeadersExecutionTest.php 2009-07-15 10:35:41 UTC (rev 284112) @@ -39,6 +39,7 @@ $testFile = new rtPhpTestFile(); $testFile-doRead($testFiles[0]); $testFile-normaliseLineEndings(); +$testFile-removeEmptySections(); //Create a new test case $status = new rtTestStatus($testFile-getTestName()); @@ -68,6 +69,7 @@ $testFile = new rtPhpTestFile(); $testFile-doRead($testFiles[0]); $testFile-normaliseLineEndings(); +$testFile-removeEmptySections(); //Create a new test case $status = new rtTestStatus($testFile-getTestName()); Modified: php/phpruntests/trunk/tests/testcase/rtFileExternalExecutionTest.php === --- php/phpruntests/trunk/tests/testcase/rtFileExternalExecutionTest.php 2009-07-15 10:35:04 UTC (rev 284111) +++ php/phpruntests/trunk/tests/testcase/rtFileExternalExecutionTest.php 2009-07-15 10:35:41 UTC (rev 284112) @@ -37,6 +37,7 @@ $testFile = new rtPhpTestFile(); $testFile-doRead($testFiles[0]); $testFile-normaliseLineEndings(); +$testFile-removeEmptySections(); //Create a new test case $status = new rtTestStatus
[PHP-CVS] svn: php/phpruntests/trunk/phpt-tests/
zoe Wed, 15 Jul 2009 10:36:24 + URL: http://svn.php.net/viewvc?view=revisionrevision=284113 Changed paths: UU php/phpruntests/trunk/phpt-tests/sample_windows_test.phpt Log: line endings Modified: php/phpruntests/trunk/phpt-tests/sample_windows_test.phpt === --- php/phpruntests/trunk/phpt-tests/sample_windows_test.phpt 2009-07-15 10:35:41 UTC (rev 284112) +++ php/phpruntests/trunk/phpt-tests/sample_windows_test.phpt 2009-07-15 10:36:24 UTC (rev 284113) @@ -1,8 +1,8 @@ ---TEST-- -Try a sample test ---FILE-- -?php - echo Hello world\n; -? ---EXPECT-- -Hello world +--TEST-- +Try a sample test +--FILE-- +?php +echo Hello world\n; +? +--EXPECT-- +Hello world Property changes on: php/phpruntests/trunk/phpt-tests/sample_windows_test.phpt ___ Deleted: svn:eol-style - native -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/phpt-tests/
zoe Wed, 15 Jul 2009 11:04:21 + URL: http://svn.php.net/viewvc?view=revisionrevision=284114 Changed paths: A php/phpruntests/trunk/phpt-tests/sample_empty_sections.phpt Log: test for empty sections Added: php/phpruntests/trunk/phpt-tests/sample_empty_sections.phpt === --- php/phpruntests/trunk/phpt-tests/sample_empty_sections.phpt (rev 0) +++ php/phpruntests/trunk/phpt-tests/sample_empty_sections.phpt 2009-07-15 11:04:21 UTC (rev 284114) @@ -0,0 +1,11 @@ +--TEST-- +Try a sample test +--GET-- +--POST-- + --COOKIE-- +--FILE-- +?php + echo Hello world\n; +? +--EXPECT-- +Hello world Property changes on: php/phpruntests/trunk/phpt-tests/sample_empty_sections.phpt ___ Added: svn:keywords + -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/tests/configuration/settings/
zoe Wed, 15 Jul 2009 12:02:47 + URL: http://svn.php.net/viewvc?view=revisionrevision=284116 Changed paths: U php/phpruntests/trunk/tests/configuration/settings/rtPhpCgiExecutableSettingTest.php Log: possible fix to cgi test Modified: php/phpruntests/trunk/tests/configuration/settings/rtPhpCgiExecutableSettingTest.php === --- php/phpruntests/trunk/tests/configuration/settings/rtPhpCgiExecutableSettingTest.php 2009-07-15 11:30:42 UTC (rev 284115) +++ php/phpruntests/trunk/tests/configuration/settings/rtPhpCgiExecutableSettingTest.php 2009-07-15 12:02:47 UTC (rev 284116) @@ -25,8 +25,14 @@ $configuration = rtRuntestsConfiguration::getInstance(array('run-tests.php', 'test.phpt')); $configuration-setEnvironmentVariable('TEST_PHP_CGI_EXECUTABLE', ''); $setting = new rtPhpCgiExecutableSetting($configuration); - -$this-assertEquals(null, $setting-get()); + +$setPhp = $configuration-getSetting('TEST_PHP_EXECUTABLE'); + +if (preg_match(/sapi/, $setPhp)) { +// Make no assertion bacuse the CGI executable can be guesed +} else { +$this-assertEquals(null, $setting-get()); +} } public function testSetFromCliExecutableName() { -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/QA/
zoe Wed, 15 Jul 2009 15:19:52 + URL: http://svn.php.net/viewvc?view=revisionrevision=284127 Changed paths: U php/phpruntests/trunk/QA/QATESTS.tgz Log: removing directory mnt (left there by accident) Modified: php/phpruntests/trunk/QA/QATESTS.tgz === (Binary files differ) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/tests/testcase/
zoe Wed, 15 Jul 2009 15:24:01 + URL: http://svn.php.net/viewvc?view=revisionrevision=284128 Changed paths: U php/phpruntests/trunk/tests/testcase/rtGetExecutionTest.php Log: fixing for Georg Modified: php/phpruntests/trunk/tests/testcase/rtGetExecutionTest.php === --- php/phpruntests/trunk/tests/testcase/rtGetExecutionTest.php 2009-07-15 15:19:52 UTC (rev 284127) +++ php/phpruntests/trunk/tests/testcase/rtGetExecutionTest.php 2009-07-15 15:24:01 UTC (rev 284128) @@ -49,7 +49,7 @@ $status = $testCase-getStatus(); $this-assertEquals('85', strlen($output)); - $this-assertFalse($testCase-getStatus()-getValue('fail')); +$this-assertFalse($testCase-getStatus()-getValue('fail')); } @@ -78,15 +78,22 @@ $testCase-executeTest($config); $output = $testCase-getOutput(); //var_dump($output); - + $status = $testCase-getStatus(); - -$this-assertEquals(0, strlen($output)); -$this-assertTrue($testCase-getStatus()-getValue('skip')); -$this-assertEquals('The CGI executable is unavailable', $testCase-getStatus()-getMessage('skip')); + +$setPhp = $configuration-getSetting('TEST_PHP_EXECUTABLE'); +if (preg_match(/sapi/, $setPhp)) { +// Make no assertion bacuse the CGI executable can be guesed +} else { +$this-assertEquals(0, strlen($output)); +$this-assertTrue($testCase-getStatus()-getValue('skip')); +$this-assertEquals('The CGI executable is unavailable', $testCase-getStatus()-getMessage('skip')); +} + + } } ? -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/tests/testcase/
zoe Wed, 15 Jul 2009 16:58:10 + URL: http://svn.php.net/viewvc?view=revisionrevision=284133 Changed paths: U php/phpruntests/trunk/tests/testcase/rtGetExecutionTest.php Log: another fix Modified: php/phpruntests/trunk/tests/testcase/rtGetExecutionTest.php === --- php/phpruntests/trunk/tests/testcase/rtGetExecutionTest.php 2009-07-15 16:52:50 UTC (rev 284132) +++ php/phpruntests/trunk/tests/testcase/rtGetExecutionTest.php 2009-07-15 16:58:10 UTC (rev 284133) @@ -82,8 +82,9 @@ $status = $testCase-getStatus(); -$setPhp = $configuration-getSetting('TEST_PHP_EXECUTABLE'); +$setPhp = $config-getSetting('PhpExecutable'); + if (preg_match(/sapi/, $setPhp)) { // Make no assertion bacuse the CGI executable can be guesed } else { -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: php/phpruntests/trunk/src/testcase/
zoe Wed, 15 Jul 2009 17:04:11 + URL: http://svn.php.net/viewvc?view=revisionrevision=284134 Changed paths: U php/phpruntests/trunk/src/testcase/rtPhpTest.php Log: Fixed parser to allow ===done=== at start of line only. Because people have used echo ===done=== which is of course not the same. Modified: php/phpruntests/trunk/src/testcase/rtPhpTest.php === --- php/phpruntests/trunk/src/testcase/rtPhpTest.php2009-07-15 16:58:10 UTC (rev 284133) +++ php/phpruntests/trunk/src/testcase/rtPhpTest.php2009-07-15 17:04:11 UTC (rev 284134) @@ -183,7 +183,8 @@ $result = array(); foreach($array as $line) { $result[] = $line; -if(stripos($line, ===done===) !== false) { +// If found at the start of the line, so ' ===done===' won't work. +if(stripos($line, ===done===) === 0) { break; } } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: phpruntests /QA QATESTS.tgz README
zoe Wed Jul 8 10:25:58 2009 UTC Modified files: /phpruntests/QA QATESTS.tgz README Log: fixed tests http://cvs.php.net/viewvc.cgi/phpruntests/QA/QATESTS.tgz?r1=1.1r2=1.2diff_format=u Index: phpruntests/QA/QATESTS.tgz http://cvs.php.net/viewvc.cgi/phpruntests/QA/README?r1=1.4r2=1.5diff_format=u Index: phpruntests/QA/README diff -u phpruntests/QA/README:1.4 phpruntests/QA/README:1.5 --- phpruntests/QA/README:1.4 Tue Jul 7 17:18:12 2009 +++ phpruntests/QA/README Wed Jul 8 10:25:57 2009 @@ -5,9 +5,12 @@ 2) Run the new run tests with flags -o csv against the QA directory, eg run-tests.php -o csv -s phprt_out QA -3) Run the old run-tests.php against the QA directory and redirect the output to a file called rt_out +3) cd to teh QA directory and run all teh tests like this: +php run-tests.php Zend ext sapi tests rt_out +It's no good trying to run all the tests by just giving run-tests the top level directory name, +the PDO tests fail if you do. -4) compare teh reulsts using +4) Compare the reulsts using php compareNewOld.php phprt_out rt_out QA -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: phpruntests /QA BaseNewOldComparison_08072009
zoe Wed Jul 8 10:35:43 2009 UTC Added files: /phpruntests/QA BaseNewOldComparison_08072009 Log: Base comparison of esults -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: phpruntests /QA compareNewNew.php
zoe Wed Jul 8 14:27:54 2009 UTC Added files: /phpruntests/QA compareNewNew.php Log: checker http://cvs.php.net/viewvc.cgi/phpruntests/QA/compareNewNew.php?view=markuprev=1.1 Index: phpruntests/QA/compareNewNew.php +++ phpruntests/QA/compareNewNew.php ?php //Compare the output from new run-tests with the old version //Takes two files and a keyword as input //Usage: //php compareNewOld.php new_output1 new_output2 keyword // //where new_output1 is an output file generated using -o csv. // new_output2 is an output from generated using -o csv // key is the name of the top_level directory of the tests (eg QA, unless you move them anywhere else) //Search for Warning, Notice, Fatal $warnCount = 0; $noticeCount = 0; $fatalCount = 0; $top_level = $argv[3]; $tests2 = file($argv[2]); $tests1 = file($argv[1]); echo \nCheck errors in $argv[1]\n; checkNotices($tests1); echo \nCheck errors in $argv[2]\n; checkNotices($tests2); $fails1 = parseNew($tests1, 'FAIL', $top_level); $borks1 = parseNew($tests1, 'BORK', $top_level); $skips1 = parseNew($tests1, 'SKIP', $top_level); $fails2 = parseNew($tests2, 'FAIL', $top_level); $borks2 = parseNew($tests2, 'BORK', $top_level); $skips2 = parseNew($tests2, 'SKIP', $top_level); compareAndPrint($fails1, $fails2, 'fail'); compareAndPrint($borks1, $borks2, 'bork'); compareAndPrint($skips1, $skips2, 'skip'); function parseNew($output, $searchFor, $top_level) { $result = array(); foreach($output as $line) { if (preg_match(/$top_level\/((ext|sapi|Zend|tests)\/\S+)\s{1},(.*)\s{1}$searchFor\s{1}/, $line, $matches)) { if($searchFor == 'FAIL') { if(!preg_match(/XFAIL/, $matches[2])) { $result[] = $matches[1] . .phpt; } } else { $result[] = $matches[1] . .phpt; } } } return $result; } function compareAndPrint($my, $rt, $type) { $only_my = array_diff($my, $rt); $nmy = count($only_my); echo \n = $nmy tests $type in file 1 and do not $type in file 2\n; foreach($only_my as $line) { echo $line \n; } $only_rt = array_diff($rt, $my); $nrt = count ($only_rt); echo \n = $nrt tests $type in file2 and do not $type in file1\n; foreach($only_rt as $line) { echo $line\n; } } function checkNotices($tests) { $warnCount = 0; $noticeCount = 0; $fatalCount = 0; foreach($tests as $test) { if(preg_match(/Warning/, $test)) { $warnCount++; } if(preg_match(/Notice/, $test)) { $noticeCount++; } if(preg_match(/Fatal/, $test)) { $fatalCount++; } } echo Number of Warnings: $warnCount Number of Notices: $noticeCount Number of Fatal: $fatalCount\n; } ? -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: phpruntests /QA compareNewOld.php test
zoe Tue Jul 7 12:10:40 2009 UTC Added files: /phpruntests/QA compareNewOld.php Removed files: /phpruntests/QA test Log: comparison code http://cvs.php.net/viewvc.cgi/phpruntests/QA/compareNewOld.php?view=markuprev=1.1 Index: phpruntests/QA/compareNewOld.php +++ phpruntests/QA/compareNewOld.php ?php //Compare the output from new run-tests with the old version //Takes two files and a keyword as input //Usage: //php compareNewOld.php new_output old_output keyword // //where new_output is an output file generated using -o csv. // old_output is the standard output fro run-tests.php // key is the name of the top_level directory of the tests (eg QA, unless you move them anywhere else) //Search for Warning, Notice, Fatal $warnCount = 0; $noticeCount = 0; $fatalCount = 0; $top_level = $argv[3]; $rttests = file($argv[2]); $mytests = file($argv[1]); foreach($mytests as $test) { if(preg_match(/Warning/, $test)) { $warnCount++; } if(preg_match(/Notice/, $test)) { $noticeCount++; } if(preg_match(/Fatal/, $test)) { $fatalCount++; } } $myfails = parseNew($mytests, 'FAIL', $top_level); $myborks = parseNew($mytests, 'BORK', $top_level); $myskips = parseNew($mytests, 'SKIP', $top_level); $rtfails = parseOld($rttests, 'FAIL'); $rtborks = parseOld($rttests, 'BORK'); $rtskips = parseOld($rttests, 'SKIP'); echo \n\nIn the new code (phpruntests)...\n; echo Number of Warnings: $warnCount\n Number of Notices: $noticeCount\n Number of Fatal: $fatalCount\n; compareAndPrint($myfails, $rtfails, 'fail'); compareAndPrint($myborks, $rtborks, 'bork'); compareAndPrint($myskips, $rtskips, 'skip'); function parseNew($output, $searchFor, $top_level) { $result = array(); foreach($output as $line) { if (preg_match(/$top_level\/((ext|sapi|Zend|tests)\/\S+)\s{1},(.*)\s{1}$searchFor\s{1}/, $line, $matches)) { if($searchFor == 'FAIL') { if(!preg_match(/XFAIL/, $matches[2])) { $result[] = $matches[1] . .phpt; } } else { $result[] = $matches[1] . .phpt; } } } return $result; } function parseOld($output, $searchFor) { $result = array(); foreach($output as $line) { if (preg_match(/$searchFor.*\[(.+\.phpt)\]/, $line, $matches)) { $result[] = $matches[1]; } } return $result; } function compareAndPrint($my, $rt, $type) { $only_my = array_diff($my, $rt); $nmy = count($only_my); echo \n = $nmy tests $type in phpruntests and do not $type in run-tests\n; foreach($only_my as $line) { echo $line \n; } $only_rt = array_diff($rt, $my); $nrt = count ($only_rt); echo \n = $nrt tests $type in run-tests and do not $type in phpruntests\n; foreach($only_rt as $line) { echo $line\n; } } ? -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: phpruntests /QA/results fail_compare.php
zoe Tue Jul 7 12:11:27 2009 UTC Removed files: /phpruntests/QA/results fail_compare.php Log: deleted old version -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: phpruntests /QA/ext/ctype/tests 001.phpt 002.phpt bug25745.phpt bug34645.phpt ctype_alnum_basic.phpt ctype_alnum_error.phpt ctype_alnum_variation1.phpt ctype_alnum_variation2.phpt ctype
zoe Tue Jul 7 14:04:51 2009 UTC Removed files: /phpruntests/QA/ext/ctype/tests ctype_punct_basic.phpt ctype_punct_variation4.phpt ctype_alnum_error.phpt ctype_alnum_variation2.phpt ctype_alpha_variation3.phpt bug25745.phpt ctype_lower_variation2.phpt ctype_cntrl_variation3.phpt ctype_upper_variation1.phpt ctype_space_variation2.phpt ctype_digit_error.phpt ctype_print_error.phpt 001.phpt ctype_upper_basic.phpt ctype_graph_variation4.phpt ctype_space_error.phpt ctype_digit_variation1.phpt ctype_print_variation1.phpt ctype_cntrl_error.phpt ctype_xdigit_variation4.phpt ctype_alnum_basic.phpt ctype_alnum_variation3.phpt ctype_punct_variation1.phpt ctype_alpha_variation4.phpt ctype_xdigit_error.phpt ctype_digit_basic.phpt ctype_lower_variation3.phpt ctype_print_basic.phpt ctype_cntrl_variation4.phpt ctype_upper_variation2.phpt ctype_space_variation3.phpt ctype_space_basic.phpt 002.phpt ctype_cntrl_basic.phpt ctype_digit_variation2.phpt ctype_print_variation2.phpt ctype_graph_variation1.phpt ctype_lower_error.phpt ctype_xdigit_variation1.phpt ctype_alpha_error.phpt ctype_alnum_variation4.phpt ctype_xdigit_basic.phpt ctype_punct_variation2.phpt bug34645.phpt ctype_alpha_variation1.phpt ctype_lower_variation4.phpt ctype_upper_variation3.phpt ctype_space_variation4.phpt ctype_cntrl_variation1.phpt ctype_graph_error.phpt ctype_digit_variation3.phpt ctype_lower_basic.phpt ctype_print_variation3.phpt ctype_graph_variation2.phpt ctype_alpha_basic.phpt ctype_xdigit_variation2.phpt ctype_punct_variation3.phpt ctype_punct_error.phpt ctype_alnum_variation1.phpt ctype_alpha_variation2.phpt ctype_graph_basic.phpt ctype_upper_variation4.phpt ctype_lower_variation1.phpt ctype_cntrl_variation2.phpt ctype_space_variation1.phpt ctype_digit_variation4.phpt ctype_print_variation4.phpt ctype_graph_variation3.phpt ctype_upper_error.phpt ctype_xdigit_variation3.phpt Log: deleting -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: phpruntests /QA/ext/date/tests 002.phpt 003.phpt 004.phpt 005.phpt 006.phpt 007.phpt 008.phpt 009.phpt 009_win32.phpt 010.phpt 011.phpt 012.phpt 013.phpt 014.phpt 015.phpt DateTimeZone_
zoe Tue Jul 7 14:06:08 2009 UTC Removed files: /phpruntests/QA/ext/date/tests date_sunrise_variation4.phpt bug29585.phpt strftime_variation12.phpt gmstrftime_error.phpt date_default_timezone_set_error.phpt idate_variation5.phpt gmmktime_variation2.phpt DateTime_construct_variation2.phpt date_sunrise_and_sunset_basic.phpt date_sub_basic.phpt date_sunset_variation8.phpt date_add_basic2.phpt mktime_variation2.phpt DateTimeZone_construct_basic.phpt date_isodate_set_error.phpt DateTime_setISODate_variation2.phpt gmdate_variation5.phpt localtime_variation5.phpt gmdate_variation11.phpt date_time_set_error.phpt gmstrftime_variation15.phpt DateTime_modify_variation1.phpt getdate_variation7.phpt date_constants.phpt strftime_variation1.phpt gettimeofday_basic.phpt mktime-3.phpt DateTime_setDate_variation1.phpt DateTime_construct_basic1.phpt date_variation1.phpt default-timezone-2.phpt DateTime_format_basic1.phpt bug34676.phpt strftime_variation19.phpt DateTime_construct_error.phpt date_date_set_variation2.phpt bug32086.phpt gmstrftime_variation20.phpt date_sunset_variation2.phpt 008.phpt date_isodate_set_variation1.phpt mktime_basic1.phpt gmmktime_variation9.phpt bug41709.phpt date_parse_error.phpt DateTime_clone_basic2.phpt timezone_name_from_abbr_variation1.phpt date_format_basic1.phpt getdate_variation1.phpt bug28024.phpt strtotime.phpt gmstrftime_variation4.phpt 013.phpt DateTimeZone_verify.phpt DateTime_modify_basic1.phpt date_default_timezone_get_error.phpt timezone-configuration.phpt DateTimeZone_getTransitions_basic1.phpt bug43003.phpt strftime_variation8.phpt bug43075.phpt strtotime3.phpt date_sunrise_variation5.phpt bug26198.phpt strftime_variation13.phpt bug27780.phpt date_parse_001.phpt 002.phpt idate_variation6.phpt gmmktime_variation3.phpt bug35425.phpt date_sunset_variation9.phpt bug37368.phpt date_modify_basic1.phpt date_sun_info_error.phpt mktime_variation3.phpt getdate_basic.phpt timezone_open_variation1.phpt DateTime_setISODate_variation3.phpt gmdate_variation6
[PHP-CVS] cvs: phpruntests /QA/ext/ereg/tests 001.phpt 002.phpt 003.phpt 004.phpt 005.phpt 006.phpt 007.phpt 008.phpt 009.phpt 010.phpt 011.phpt 012.phpt 013.phpt 014.phpt 015.phpt 016.phpt ereg_basic
zoe Tue Jul 7 14:07:21 2009 UTC Removed files: /phpruntests/QA/ext/ereg/tests spliti_variation_004.phpt 009.phpt ereg_variation_002.phpt eregi_replace_variation_003.phpt ereg_basic_004.phpt 005.phpt eregi_error_001.phpt spliti_basic_002.phpt 013.phpt 001.phpt eregi_replace_basic_001.phpt sql_regcase_error_001.phpt ereg_replace_variation_003.phpt ereg_error_001.phpt eregi_replace_error_002.phpt ereg_replace_basic_001.phpt eregi_variation_003.phpt ereg_replace_error_002.phpt split_variation_002.phpt eregi_basic_001.phpt ereg_variation_003.phpt spliti_variation_001.phpt 006.phpt eregi_error_002.phpt split_error_001.phpt sql_regcase_basic_001.phpt spliti_basic_003.phpt 014.phpt ereg_basic_001.phpt 002.phpt eregi_replace_basic_002.phpt 010.phpt ereg_error_002.phpt ereg_replace_basic_002.phpt eregi_variation_004.phpt split_variation_003.phpt eregi_replace_basic.phpt eregi_basic_002.phpt split_basic_001.phpt ereg_variation_004.phpt spliti_variation_002.phpt 007.phpt split_error_002.phpt spliti_basic_004.phpt eregi_replace_variation_001.phpt 015.phpt ereg_basic_002.phpt 003.phpt 011.phpt spliti_error_001.phpt ereg_replace_variation_001.phpt eregi_basic.phpt split_variation_004.phpt eregi_variation_001.phpt eregi_basic_003.phpt split_basic_002.phpt sql_regcase_variation_001.phpt spliti_variation_003.phpt 008.phpt ereg_variation_001.phpt eregi_replace_variation_002.phpt 016.phpt ereg_basic_003.phpt 004.phpt spliti_basic_001.phpt 012.phpt spliti_error_002.phpt ereg_replace_variation_002.phpt eregi_replace_error_001.phpt eregi_variation_002.phpt ereg_replace_error_001.phpt split_variation_001.phpt eregi_basic_004.phpt split_basic_003.phpt Log: deleting -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: phpruntests /QA/ext/fileinfo/tests finfo_buffer_basic.phpt finfo_buffer_error.phpt finfo_buffer_variation1.phpt finfo_close_basic.phpt finfo_close_error.phpt finfo_file_001.phpt finfo_f
zoe Tue Jul 7 14:07:47 2009 UTC Removed files: /phpruntests/QA/ext/fileinfo/tests finfo_buffer_error.phpt mime_content_type_002.phpt mime_content_type_001.phpt finfo_close_basic.phpt finfo_close_error.phpt finfo_open_001.phpt finfo_buffer_variation1.phpt finfo_open_basic.phpt finfo_set_flags_basic.phpt finfo_phpinfo_basic.phpt finfo_open_error.phpt finfo_open_variation1.phpt finfo_buffer_basic.phpt finfo_file_002.phpt finfo_file_001.phpt finfo_file_basic.phpt Log: deleting -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: phpruntests /QA/ext/filter/tests 001.phpt 002.phpt 003.phpt 004.phpt 005.phpt 006.phpt 007.phpt 008.phpt 009.phpt 010.phpt 011.phpt 012.phpt 013.phpt 014.phpt 015.phpt 016.phpt 017.phpt
zoe Tue Jul 7 14:08:33 2009 UTC Removed files: /phpruntests/QA/ext/filter/tests035.phpt bug47745.phpt 023.phpt bug7586.phpt 011.phpt 043.phpt 031.phpt 051.phpt PMOPB45.phpt bug42718-2.phpt bug42718.phpt 008.phpt 028.phpt 016.phpt bug7733.phpt 004.phpt 048.phpt 036.phpt 024.phpt 012.phpt 044.phpt 032.phpt 020.phpt 052.phpt 040.phpt bug39763.phpt 009.phpt 029.phpt 017.phpt bug44779.phpt 049.phpt 005.phpt 037.phpt 025.phpt 013.phpt 001.phpt 045.phpt 033.phpt bug46973.phpt 021.phpt 053.phpt 041.phpt callback_non_modified_var.phpt bug7715.phpt 018.phpt 006.phpt 038.phpt 026.phpt bug8315.phpt 014.phpt 002.phpt 046.phpt filter_data.phpt callback_closure.phpt bug5.phpt 034.phpt bug39846.phpt 022.phpt 010.phpt 042.phpt 030.phpt 050.phpt 019.phpt 007.phpt 039.phpt 027.phpt 015.phpt 003.phpt 047.phpt Log: deleting -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: phpruntests /QA/ext/hash/tests adler32.phpt crc32.phpt gost.phpt hash_algos.phpt hash_copy_001.phpt hash_copy_002.phpt hash_error.phpt hash_file_basic.phpt hash_file_basic1.phpt hash_fi
zoe Tue Jul 7 14:09:10 2009 UTC Removed files: /phpruntests/QA/ext/hash/tests hash_file_basic.phpt hmac-md5.phpt hash_file_basic1.phpt hash_copy_001.phpt hash_hmac_file_basic.phpt ripemd256.phpt mhash_004.phpt mhash_002.phpt sha224.phpt sha256.phpt hash_hmac_error.phpt tiger.phpt md4.phpt hash_error.phpt md2.phpt hash_copy_002.phpt hash_file_error.phpt adler32.phpt ripemd128.phpt hash_algos.phpt crc32.phpt hash_hmac_file_error.phpt mhash_003.phpt whirlpool.phpt sha512.phpt ripemd320.phpt gost.phpt mhash_001.phpt sha1.phpt ripemd160.phpt haval.phpt sha384.phpt hash_hmac_basic.phpt snefru.phpt md5.phpt Log: deleting -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: phpruntests /QA/ext/iconv/tests bug16069.phpt bug37176.phpt bug37773.phpt eucjp2iso2022jp.phpt eucjp2sjis.phpt eucjp2utf8.phpt iconv-charset-length-cve-2007-4840.phpt iconv001.phpt icon
zoe Tue Jul 7 14:09:42 2009 UTC Removed files: /phpruntests/QA/ext/iconv/tests iconv_strrpos_variation1.phpt iconv_strlen_error1.phpt iconv_strrpos_basic.phpt iconv_mime_decode_variation1.phpt iconv_set_encoding_variation.phpt iconv_strpos.phpt iconv_substr_basic.phpt iconv_strpos_variation5.phpt iconv_mime_decode_headers_variation3.phpt iconv_strpos_variation1.phpt iconv_mime_decode.phpt ob_iconv_handler.phpt eucjp2iso2022jp.phpt iconv003.phpt iconv_basic.phpt iconv_strrpos_variation2.phpt translit-failure.phpt iconv_strlen_error2.phpt iconv_mime_decode_variation2.phpt iconv_get_encoding_error.phpt iconv_mime_decode_headers.phpt iconv_encoding_basic.phpt iconv_strpos_variation2.phpt iconv_substr_error1.phpt bug37773.phpt iconv_set_encoding_error.phpt iconv_strrpos_error1.phpt iconv-charset-length-cve-2007-4840.phpt iconv004.phpt translit-utf8.phpt iconv_strpos_basic.phpt iconv_strrpos_variation3.phpt eucjp2utf8.phpt iconv_strpos_error1.phpt iconv_mime_decode_variation3.phpt iconv_substr-charset-length-cve-2007-4783.phpt iconv_strrpos-charset-length-cve-2007-4840.phpt iconv_stream_filter_delimiter.phpt iconv_strpos_variation3.phpt iconv_mime_decode_headers_variation1.phpt iconv_mime_decode-charset-length-cve-2007-4840.phpt iconv_strlen_variation1.phpt iconv_substr_error2.phpt iconv_stream_filter.phpt bug16069.phpt iconv_strrpos_error2.phpt bug37176.phpt iconv_strrpos.phpt iconv_mime_decode_headers-charset-length-cve-2007-4840.phpt iconv_strlen_basic.phpt iconv_strpos-charset-length-cve-2007-4840.phpt iconv001.phpt iconv_strlen-charset-length-cve-2007-4840.phpt iconv_substr.phpt iconv_strpos_error2.phpt iconv_set_encoding-charset-length-cve-2007-4840.phpt iconv_strlen.phpt iconv_mime_encode.phpt iconv_strpos_variation4.phpt iconv_mime_decode_headers_variation2.phpt ob_iconv_handler-charset-length-cve-2007-4840.phpt iconv_strlen_variation2.phpt eucjp2sjis.phpt iconv002.phpt iconv_strpos_variation3_64bit.phpt Log: deleting -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: phpruntests /QA/ext/json/tests 001.phpt 002.phpt 003.phpt 004.phpt 005.phpt 006.phpt 007.phpt bug40503.phpt bug41034.phpt bug41067.phpt bug41403.phpt bug41504.phpt bug41567.phpt bug4209
zoe Tue Jul 7 14:10:13 2009 UTC Removed files: /phpruntests/QA/ext/json/tests pass002.phpt bug41504.phpt 007.phpt json_encode_error.phpt bug41403.phpt 005.phpt json_decode_basic.phpt 003.phpt bug46944.phpt 001.phpt bug41067.phpt bug46215.phpt json_encode_basic_utf8.phpt pass003.phpt pass001.phpt json_encode_basic.phpt bug40503.phpt 006.phpt bug41567.phpt 004.phpt pass001.1_64bit.phpt bug43941.phpt fail001.phpt 002.phpt bug42785.phpt bug41034.phpt bug47644.phpt json_decode_error.phpt bug45791.phpt bug42090.phpt pass001.1.phpt Log: deleting -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: phpruntests /QA/ext/libxml/tests 001.phpt 002.phpt 003.phpt 004.phpt bug42112.phpt /QA/ext/pcre/tests 001.phpt 002.phpt 003.phpt 004.phpt 005.phpt 006.phpt 007.phpt backtrack_limit.php
zoe Tue Jul 7 14:11:30 2009 UTC Removed files: /phpruntests/QA/ext/pdo/tests bug_34687.phpt bug_35671.phpt bug_44173.phpt pdo_018.phpt pdo_026.phpt pdo_002.phpt pdo_034.phpt pdo_010.phpt bug_43663.phpt bug_43130.phpt pecl_bug_5809.phpt pdo_007.phpt pdo_015.phpt pdo_023.phpt pdo_031.phpt bug_44159.phpt bug_39398.phpt bug_38253.phpt pdo_028.phpt pdo_004.phpt pdo_012.phpt bug_36428.phpt pdo_020.phpt bug_40285.phpt bug_34630.phpt pdo_009.phpt pdo_017.phpt pdo_025.phpt pdo_016a.phpt pdo_001.phpt pdo_033.phpt pdorow.phpt pdo_006.phpt bug_44409.phpt pdo_014.phpt pdo_022.phpt pdo_030.phpt bug_44861.phpt bug_39656.phpt pdo_019.phpt pdo_027.phpt pdo_003.phpt pdo_035.phpt bug_43139.phpt pdo_011.phpt pecl_bug_5772.phpt bug_36798.phpt bug_38394.phpt pdo_008.phpt pdo_016.phpt pdo_024.phpt pdo_032.phpt bug47769.phpt bug_42917.phpt pdo_029.phpt pdo_005.phpt pecl_bug_5217.phpt pdo_013.phpt pdo_021.phpt /phpruntests/QA/ext/pcre/tests preg_match_error1.phpt preg_quote_error.phpt recursion_limit.phpt bug20528.phpt preg_replace_callback_basic.phpt 007.phpt bug37911.phpt bug33200.phpt preg_replace_callback_error1.phpt bug27011.phpt preg_replace_callback.phpt preg_match_error.phpt preg_replace_edit_basic.phpt preg_match_all_error3.phpt preg_replace_basic.phpt preg_replace_callback2.phpt match_flags3.phpt locales.phpt dollar_endonly.phpt 004.phpt study.phpt bug44191.phpt preg_quote_error1.phpt preg_split_basic.phpt preg_replace2.phpt bug41148.phpt bug21732.phpt bug47229.phpt bug37800.phpt preg_match_variation1.phpt 001.phpt preg_replace_error2.phpt delimiters.phpt backtrack_limit.phpt preg_grep_basic.phpt bug41638.phpt bug42945.phpt 006.phpt preg_replace_callback_error.phpt bug42298.phpt preg_match_basic_edit.phpt bug47662.phpt match_flags.phpt preg_split_error2.phpt preg_replace_variation1.phpt preg_match_all_error2.phpt bug21758.phpt split.phpt match_flags2.phpt preg_replace_error.phpt 003.phpt bug38600.phpt preg_match_all_basic.phpt invalid_utf8.phpt preg_grep_error2.phpt pcre_extra.phpt grep.phpt preg_quote_basic.phpt preg_last_error_error.phpt
[PHP-CVS] cvs: phpruntests /QA/ext/pdo_sqlite/tests bug33841.phpt bug35336.phpt bug43831.phpt bug44327_2.phpt bug44327_3.phpt bug46139.phpt bug46542.phpt bug_42589.phpt common.phpt debugdumpparams_001
zoe Tue Jul 7 14:13:49 2009 UTC Removed files: /phpruntests/QA/ext/phar/tests/zip phar_convert_phar.phpt frontcontroller3.phar.phpt phar_buildfromiterator7.phpt open_for_write_newfile_b_5_2.phpt corrupt_003.phpt frontcontroller10.phar.phpt frontcontroller6.phar.phpt frontcontroller21.phar.phpt open_for_write_newfile.phpt 033a.phpt phar_stub.php all.phpt open_for_write_newfile_c.phpt exists_as_phar.phpt frontcontroller13.phar.phpt frontcontroller9.phar.phpt zlib.phpt phar_buildfromiterator8.phpt corrupt_004.phpt open_for_write_existing_b.phpt delete_in_phar.phpt frontcontroller16.phar.phpt rename_dir.phpt 033.phpt metadata_write_commitU.phpt frontcontroller19.phar.phpt create_new_phar_b.phpt phar_stub_error.phpt dir.phpt phar_stub.exp open_for_write_newfile_c_5_2.phpt phar_stub.phpt frontcontroller2.phar.phpt phar_buildfromiterator9.phpt corrupt_005.phpt open_for_write_existing_c.phpt corrupt_010.phpt badalias.phpt frontcontroller5.phar.phpt phar_magic.phpt frontcontroller20.phar.phpt phar_setdefaultstub.phpt frontcontroller12.phar.phpt largezip.phpt frontcontroller8.phar.phpt metadata_write_commit.phpt corrupt_006.phpt alias_acrobatics.phpt unixzip.phpt frontcontroller15.phar.phpt phar_begin_setstub_commit.phpt phar_magicU.phpt phar_oo_compressallbz2.phpt phar_buildfromiterator4.phpt phar_stub.log frontcontroller18.phar.phpt phar_stub.out rename.phpt phar_commitwrite.phpt phar_setalias2.phpt phar_oo_compressallgz.phpt open_for_write_existing_b_5_2.phpt open_for_write_existing.phpt frontcontroller1.phar.phpt corrupt_007.phpt phar_copy.phpt frontcontroller4.phar.phpt phar_buildfromiterator5.phpt corrupt_001.phpt create_new_and_modify.phpt notphar.phpt frontcontroller11.phar.phpt rmdir.phpt frontcontroller7.phar.phpt corrupt_008.phpt phar_setalias.phpt refcount1_5_2.phpt allU.phpt phar_stub.diff frontcontroller14.phar.phpt phar_stub.skipif.php phar_buildfromiterator6.phpt corrupt_002.phpt
[PHP-CVS] cvs: phpruntests /QA/ext/posix/tests 001.phpt posix_access.phpt posix_access_error_modes.phpt posix_access_error_wrongparams.phpt posix_access_safemode.phpt posix_ctermid.phpt posix_get_last
zoe Tue Jul 7 14:17:47 2009 UTC Removed files: /phpruntests/QA/ext/reflection/tests ReflectionMethod_getDocComment_error.phpt ReflectionClass_setStaticPropertyValue_002.phpt 008.phpt ReflectionProperty_setValue_error.phpt 024.phpt bug48336.phpt ReflectionClass_getConstants_basic.phpt ReflectionClass_hasConstant_basic.phpt ReflectionObject_getConstant_error.phpt ReflectionMethod_basic1.phpt ReflectionExtension_getClasses_basic.phpt 013.phpt ReflectionProperty_isDefault_basic.phpt ReflectionObject___toString_basic2.phpt ReflectionExtension_getClassNames_basic.phpt ReflectionObject_isInstantiable_error.phpt bug38217.phpt ReflectionExtension_getVersion_basic.phpt ReflectionClass_isInstantiable_basic.phpt 002.phpt ReflectionClass_getConstant_error.phpt bug42976.phpt ReflectionMethod_invokeArgs_error2.phpt ReflectionClass_implementsInterface_001.phpt ReflectionFunction_construct.001.phpt ReflectionClass_getStaticPropertyValue_001.phpt ReflectionExtension_constructor_basic.phpt ReflectionClass_getMethod_001.phpt ReflectionObject_isSubclassOf_error.phpt ReflectionClass_getInterfaces_004.phpt bug36308.phpt ReflectionFunction_getNamespaceName.phpt bug30146.phpt ReflectionClass_getProperties_002.phpt ReflectionClass_getMethods_001.phpt ReflectionProperty_export_basic.phpt ReflectionClass_newInstanceArgs_001.phpt ReflectionClass_FileInfo_error.phpt ReflectionExtension_getClassNames_variation1.phpt ReflectionClass_isInternal_error.phpt bug36434.phpt ReflectionClass_export_basic1.phpt ReflectionClass_hasMethod_001.phpt 009.phpt 025.phpt ReflectionExtension_info_basic.phpt ReflectionClass_isIterateable_variation1.phpt ReflectionClass_isInterface_basic.phpt ReflectionObject_getConstructor_error.phpt ReflectionObject_isInstance_error.phpt ReflectionMethod_basic2.phpt 014.phpt ReflectionObject_isSubclassOf.002.phpt ReflectionObject_isUserDefined_error.phpt ReflectionClass_isUserDefined_basic.phpt ReflectionClass_getConstructor_basic.phpt ReflectionClass_isIterateable_001.phpt ReflectionClass_isFinal_basic.phpt ReflectionClass_getName_error1.phpt
[PHP-CVS] cvs: phpruntests /QA/ext/spl/examples autoload.inc cachingrecursiveiterator.inc callbackfilteriterator.inc dbaarray.inc dbareader.inc directoryfilterdots.inc directorygraphiterator.inc direc
zoe Tue Jul 7 14:19:06 2009 UTC Removed files: /phpruntests/QA/ext/spl/tests bug42364.phpt recursive_tree_iterator_001.phpt array_014.phpt bug48493.phpt arrayObject_exchangeArray_basic2.phpt SplFileObject_fwrite_variation_001.phpt arrayObject___construct_basic2.phpt SplObjectStorage_offsetGet.phpt SplDoublyLinkedList_top_pass_float.phpt arrayObject_asort_basic2.phpt SplQueue_setIteratorMode_param_lifo.phpt observer_003.phpt fileobject_getsize_basic.phpt iterator_068.phpt arrayObject_ksort_basic2.phpt SplObjectStorage_setInfo_invalid_parameter.phpt iterator_012.phpt dllist_008.phpt bug41692.phpt spl_autoload_007.phpt array_003.phpt fileobject_004.phpt SplDoublyLinkedList_offsetSet_one_invalid_parameter.phpt spl_fileinfo_getlinktarget_basic.phpt dit_001.phpt bug41528.phpt arrayObject_setFlags_basic2.phpt iterator_057.phpt heap_003.phpt iterator_001.phpt fixedarray_016.phpt spl_autoload_012.phpt bug46051.phpt SplDoublyLinkedList_offsetGet_param_string.phpt recursiveiteratoriterator_getsubiterator_variation_003.phpt limititerator_seek.phpt spl_003.phpt bug45622b.phpt SplHeap_isEmpty.phpt recursive_tree_iterator_008.phpt bug40872.phpt SplFixedArray_key_setsize.phpt iterator_046.phpt spl_cachingiterator___toString_basic.phpt fixedarray_005.phpt iterator_062.phpt arrayObject_natcasesort_basic1.phpt dllist_002.phpt spl_autoload_001.phpt fixedarray_021.phpt arrayObject_magicMethods5.phpt iterator_041a.phpt iterator_019.phpt iterator_035.phpt spl_heap_recoverfromcorruption_arguments.phpt bug38325.phpt SplObjectStorage_getInfo_empty_storage.phpt SplDoublyLinkedList_debug-info.phpt iterator_051.phpt array_026.phpt fixedarray_010.phpt SplDoublyLinkedList_offsetUnset_negative-parameter.phpt SplDoublyLinkedList_offsetGet_missing_param.phpt class_implements_variation.phpt splpriorityqueue_setextractflags.phpt iterator_008.phpt SplFixedArray_current_param.phpt countable_count_variation1.phpt arrayObject_setIteratorClass_error1.phpt iterator_024.phpt recursive_tree_iterator_002.phpt dllist_memleak.phpt fileobject_getmaxlinelen_basic.phpt SplObjectStorage_contains_invalid_parameter.phpt SplDoublyLinkedList_current_empty.phpt bug32394.phpt iterator_040.phpt array_015.phpt pqueue_compare_basic.phpt arrayObject_exchangeArray_basic3.phpt
[PHP-CVS] cvs: phpruntests /QA/ext/sqlite3/tests bug45798.phpt bug47159.phpt sqlite3_01_open.phpt sqlite3_02_create.phpt sqlite3_02_open.phpt sqlite3_03_insert.phpt sqlite3_04_update.phpt sqlite3_05_d
zoe Tue Jul 7 14:20:44 2009 UTC Removed files: /phpruntests/QA/ext/sqlite3/tests sqlite3_26_reset_prepared_stmt.phpt sqlite3_06_prepared_stmt.phpt sqlite3_23_escape_string.phpt sqlite3_prepare_with_empty_string.phpt sqlite3_20_error.phpt sqlite3stmt_paramCount_error.phpt sqlite3_24_last_insert_rowid.phpt sqlite3_02_create.phpt sqlite3_32_changes.phpt sqlite3_14_querysingle.phpt sqlite3_30_blobopen.phpt sqlite3_version_noparam.phpt sqlite3_09_blob_bound_param.phpt sqlite3_19_columninfo.phpt sqlite3_01_open.phpt sqlite3_07_prepared_stmt.phpt sqlite3_05_delete.phpt sqlite3_21_security.phpt sqlite3_query_error.phpt sqlite3_31_open.phpt sqlite3_31_changes.phpt sqlite3_16_select_no_results.phpt sqlite3_08_udf.phpt sqlite3_13_skip_all_cleanup.phpt sqlite3_lasterrorcode_with_params.phpt sqlite3_loadextension_with_wrong_param.phpt sqlite3_12_unfinalized_stmt_cleanup.phpt sqlite3_32_last_insert_rowid_param.phpt sqlite3_10_bound_value_name.phpt sqlite3_17_version.phpt sqlite3_15_open_error.phpt sqlite3_querysingle_error.phpt sqlite3_25_create_aggregate.phpt sqlite3_34_load_extension_ext_dir.phpt sqlite3stmt_reset_params.phpt sqlite3_close_with_params.phpt sqlite3_03_insert.phpt sqlite3_29_createfunction.phpt sqlite3_02_open.phpt sqlite3_enable_exceptions.phpt bug45798.phpt sqlite3result_reset_with_params_fails.phpt sqlite3_close_error.phpt sqlite3_prepare_wrongparams.phpt sqlite3_open_empty_string.phpt sqlite3_33_load_extension_param.phpt sqlite3_22_loadextension.phpt sqlite3_18_changes.phpt sqlite3result_numcolumns_error.phpt sqlite3_prepared_stmt_clear_with_params.phpt sqlite3_prepare_faultystmt.phpt sqlite3_04_update.phpt bug47159.phpt sqlite3_33_createAggregate_notcallable.phpt sqlite3result_fetcharray_with_two_params_fails.phpt sqlite3stmt_paramCount_basic.phpt sqlite3_32_createAggregate_paramCount.phpt sqlite3_28_clear_bindings.phpt sqlite3_openblob_wrongparams.phpt sqlite3_33_reset.phpt sqlite3_27_reset_prepared_stmt_result.phpt sqlite3_exec_wrongparams.phpt sqlite3_lasterrormsg_with_params.phpt sqlite3_11_numrows.phpt /phpruntests/QA/ext/xmlwriter/tests OO_002.phpt xmlwriter_open_uri_error_005.phpt xmlwriter_open_uri_error_002.phpt 009.phpt bug41287.phpt
[PHP-CVS] cvs: phpruntests /QA/ext/standard/tests/file 001-win32.phpt 001.phpt 002.phpt 003.phpt 004.phpt 005_basic.phpt 005_error.phpt 005_variation-win32.phpt 005_variation.phpt 005_variation2-win32
zoe Tue Jul 7 14:29:11 2009 UTC Removed files: /phpruntests/QA/ext/standard/tests/file statcache-corruption.phpt copy_variation3-win32.phpt fscanf_variation44.phpt rename_variation12.phpt filegroup_basic.phpt readfile_variation7.phpt unlink_variation7.phpt fileinode_variation1.phpt 007_variation7.phpt fgetcsv_variation24.phpt clearstatcache_error.phpt copy_variation11.phpt file_get_contents_file_put_contents_variation1.phpt lstat_stat_variation21.phpt symlink_link_linkinfo_is_link_basic2.phpt stream_rfc2397_004.phpt file_put_contents_variation7-win32.phpt symlink_link_linkinfo_is_link_variation5.phpt fscanf_variation9.phpt rename_variation2.phpt rename_variation-win32.phpt fscanf_variation17.phpt bug44034.phpt move_uploaded_file_basic.phpt copy_variation6-win32.phpt fscanf_variation33.phpt fopen_variation8.phpt file_put_contents_variation4.phpt fputcsv_variation11.phpt fread_variation3-win32.phpt 007_variation15.phpt touch_variation3-win32.phpt fgets_socket_variation1.phpt file_put_contents.phpt fgetcsv_variation13.phpt copy_variation5.phpt bug40501.csv bug41815.phpt fstat_variation8.phpt bug38450_2.phpt fgetcsv_variation3.phpt filetype_variation3.phpt touch_error.phpt lstat_stat_variation10.phpt chmod_error.phpt fputcsv_error.phpt is_dir_variation1.phpt file_variation5.phpt is_writable_basic.phpt filesize_variation5.phpt glob_error.phpt fseek_ftell_rewind_variation8.phpt fgetcsv_error.phpt filetype_error.phpt umask_variation3.phpt fseek_ftell_rewind_basic1.phpt file_get_contents_variation8.phpt disk_total_space_variation.phpt bug39367.phpt stat_variation2-win32.phpt fscanf_variation22.phpt bug41655_1.phpt bug41874_2.phpt touch_variation6-win32.phpt flock.phpt filestat.phpt tempnam_error.phpt mkdir_variation1.phpt
[PHP-CVS] cvs: phpruntests /QA/ext/standard/tests/filters 001.phpt basic.phpt bug22538.phpt bug35916.phpt bug46164-1.phpt bug46164-2.phpt chunked_001.phpt filter_errors.inc filter_errors_convert_base6
zoe Tue Jul 7 14:31:00 2009 UTC Removed files: /phpruntests/QA/ext/standard/tests/math log_error.phpt mt_rand_variation2.phpt allowed_rounding_error.inc rad2deg_basiclong_64bit.phpt is_finite_variation1.phpt round_basic.phpt octdec_variation1.phpt ceil_error.phpt getrandmax_basic.phpt atan_basic.phpt decoct_basic.phpt hypot_basic.phpt atan2_basiclong_64bit.phpt log1p_error.phpt srand_basic.phpt bindec_basic_64bit.phpt hypot_variation1.phpt atanh_variation.phpt rand_variation1.phpt decbin_error.phpt bindec_basic.phpt hexdec_basic_64bit.phpt bug30069.phpt abs_variation.phpt octdec_basiclong_64bit.phpt pow_error.phpt hypot_basiclong_64bit.phpt base_convert_basic.phpt dechex_variation1_64bit.phpt sinh_basiclong_64bit.phpt is_finite_basic.phpt deg2rad_error.phpt log10_error.phpt deg2rad_basiclong_64bit.phpt tanh_basic.phpt is_nan_basic.phpt asin_basiclong_64bit.phpt exp_basiclong_64bit.phpt atanh_basic.phpt is_infinite_error.phpt is_infinite_basiclong_64bit.phpt is_finite_basiclong_64bit.phpt octdec_basic.phpt floor_variation1.phpt sin_basiclong_64bit.phpt bindec_variation1_64bit.phpt floorceil.phpt decoct_variation1_64bit.phpt round_basiclong_64bit.phpt bindec_variation1.phpt log1p_basiclong_64bit.phpt pow.phpt lcg_value_basic.phpt bug30695.phpt hypot_variation2.phpt atan2_error.phpt rand_variation2.phpt decbin_variation1.phpt acos_error.phpt rand_error.phpt hexdec.phpt asin_error.phpt floor_basiclong_64bit.phpt bug25665.phpt log10_basiclong_64bit.phpt sqrt_error.phpt tan_basic.phpt exp_basic.phpt ceil_basiclong_64bit.phpt bug27646.phpt
[PHP-CVS] cvs: phpruntests /QA/ext/standard/tests/network bug20134.phpt bug41347.phpt closelog_basic.phpt closelog_error.phpt define_syslog_variables_basic-win32.phpt define_syslog_variables_basic.php
zoe Tue Jul 7 14:32:48 2009 UTC Removed files: /phpruntests/QA/ext/standard/tests/serialize serialization_objects_006.phpt serialization_objects_014.phpt 004.phpt serialization_precision_002.phpt bug14293.phpt serialization_objects_003.phpt serialization_objects_011.phpt 001.phpt bug31402.phpt bug31442.phpt serialization_arrays_004.phpt bug26762.phpt serialization_objects_008.phpt 006.phpt bug42919.phpt bug23298.phpt serialization_arrays_001.phpt serialization_objects_005.phpt serialization_objects_013.phpt 003.phpt bug45706.phpt autoload_interface.p5c bug30234.phpt serialization_precision_001.phpt serialization_objects_002.phpt serialization_objects_010.phpt unserializeS.phpt bug43614.phpt autoload_implements.p5c serialization_arrays_003.phpt bug28325.phpt serialization_objects_007.phpt serialization_objects_015.phpt 005.phpt serialization_error_001.phpt bug37947.phpt serialization_resources_001.phpt bug25378.phpt bug24063.phpt serialization_objects_004.phpt serialization_objects_012.phpt 002.phpt bug21957.phpt serialization_arrays_005.phpt bug46882.phpt serialization_objects_009.phpt incomplete_class.phpt serialization_objects_001.phpt serialization_miscTypes_001.phpt bug27469.phpt serialization_arrays_002.phpt /phpruntests/QA/ext/standard/tests/streams stream_get_meta_data_socket_variation3.phpt stream_get_contents_001.phpt stream_set_timeout_error.phpt stream_get_meta_data_file_error.phpt stream_socket_pair.phpt bug47997.phpt bug44712.phpt stream_get_meta_data_file_variation5.phpt stream_get_line_nb.phpt stream_context_get_params_001.phpt stream_get_meta_data_socket_variation2.phpt stream_get_meta_data_socket_basic.phpt
[PHP-CVS] cvs: phpruntests /QA/ext/standard/tests/strings 004.phpt 005.phpt 006-win32.phpt 006.phpt 007-win32.phpt 007.phpt add-and-stripcslashes.phpt add-and-stripslashes.phpt addcslashes_001.phpt ad
zoe Tue Jul 7 14:33:39 2009 UTC Removed files: /phpruntests/QA/ext/standard/tests/strings str_split_variation3.phpt implode.phpt strrpos_basic2.phpt money_format_basic3.phpt sscanf_basic2.phpt sprintf_variation29.phpt sprintf_f_3.phpt vsprintf_variation13_64bit.phpt strncmp_variation6.phpt sha1_variation1.phpt strripos_variation4.phpt vprintf_variation11_64bit.phpt strings001.phpt fprintf_variation_009.phpt php_strip_whitespace.phpt vprintf_variation17.phpt vfprintf_error4.phpt sprintf_variation34.phpt vsprintf_variation16_64bit.phpt addcslashes_001.phpt str_split_basic.phpt bug38322.phpt vfprintf_variation6.phpt vprintf_basic4.phpt vprintf_variation14_64bit.phpt vprintf_variation7.phpt vsprintf_variation19_64bit.phpt soundex.phpt strip_tags_basic1.phpt trim.phpt vfprintf_basic8.phpt vfprintf_variation13.phpt unpack_error.phpt bug25671.phpt join_error.phpt vfprintf_basic7_64bit.phpt printf_basic6.phpt crypt.phpt strpbrk_basic.phpt strrpos_variation15.phpt crc32_variation1.phpt vsprintf_variation11.phpt bug38770.exp strcspn_variation6.phpt sprintf_variation12.phpt strip_tags_variation5.phpt get_html_translation_table_error.phpt chr_basic.phpt bug39873.phpt strip_tags_variation10.phpt strrchr_variation2.phpt strrpos_variation9.phpt htmlentities02.phpt vsprintf_variation6.phpt stripslashes_variation2.phpt strncasecmp_basic.phpt htmlspecialchars_decode_variation6.phpt explode_variation5.phpt strtok_variation1.phpt fprintf_variation_007_64bit.phpt sprintf_error.phpt str_split_variation4.phpt strlen_basic.phpt sscanf_basic3.phpt implode1.phpt strncmp_variation7.phpt sha1_variation2.phpt strripos_variation5