tony2001 Thu, 29 Apr 2010 12:48:06 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=298770
Log: fix tests Changed paths: U php/php-src/trunk/Zend/tests/unset_cv07.phpt U php/php-src/trunk/ext/standard/tests/general_functions/import_request.phpt U php/php-src/trunk/ext/standard/tests/general_functions/import_request1.phpt U php/php-src/trunk/ext/standard/tests/general_functions/import_request2.phpt U php/php-src/trunk/ext/standard/tests/general_functions/import_request3.phpt Modified: php/php-src/trunk/Zend/tests/unset_cv07.phpt =================================================================== --- php/php-src/trunk/Zend/tests/unset_cv07.phpt 2010-04-29 12:43:18 UTC (rev 298769) +++ php/php-src/trunk/Zend/tests/unset_cv07.phpt 2010-04-29 12:48:06 UTC (rev 298770) @@ -1,7 +1,7 @@ --TEST-- unset() CV 7 (indirect unset() of global variable in import_request_variables()) --SKIPIF-- -<?php if(PHP_VERSION_ID < 503099){ die('skip not needed anymore without register_globals'); } ?> +<?php if(PHP_VERSION_ID >= 50399){ die('skip not needed anymore without register_globals'); } ?> --GET-- x=2 --FILE-- Modified: php/php-src/trunk/ext/standard/tests/general_functions/import_request.phpt =================================================================== --- php/php-src/trunk/ext/standard/tests/general_functions/import_request.phpt 2010-04-29 12:43:18 UTC (rev 298769) +++ php/php-src/trunk/ext/standard/tests/general_functions/import_request.phpt 2010-04-29 12:48:06 UTC (rev 298770) @@ -1,7 +1,7 @@ --TEST-- import_request_variables() tests --SKIPIF-- -<?php if(PHP_VERSION_ID < 503099){ die('skip not needed anymore without register_globals'); } ?> +<?php if(PHP_VERSION_ID >= 50399){ die('skip not needed anymore without register_globals'); } ?> --GET-- a=1&b=heh&c=3&d[]=5&GLOBALS=test&1=hm --POST-- Modified: php/php-src/trunk/ext/standard/tests/general_functions/import_request1.phpt =================================================================== --- php/php-src/trunk/ext/standard/tests/general_functions/import_request1.phpt 2010-04-29 12:43:18 UTC (rev 298769) +++ php/php-src/trunk/ext/standard/tests/general_functions/import_request1.phpt 2010-04-29 12:48:06 UTC (rev 298770) @@ -1,7 +1,7 @@ --TEST-- import_request_variables() test (overwrite super-globals) --SKIPIF-- -<?php if(PHP_VERSION_ID < 503099){ die('skip not needed anymore without register_globals'); } ?> +<?php if(PHP_VERSION_ID >= 50399){ die('skip not needed anymore without register_globals'); } ?> --GET-- GET=0&POST=1&COOKIE=2&FILES=3&REQUEST=4 --POST-- Modified: php/php-src/trunk/ext/standard/tests/general_functions/import_request2.phpt =================================================================== --- php/php-src/trunk/ext/standard/tests/general_functions/import_request2.phpt 2010-04-29 12:43:18 UTC (rev 298769) +++ php/php-src/trunk/ext/standard/tests/general_functions/import_request2.phpt 2010-04-29 12:48:06 UTC (rev 298770) @@ -1,7 +1,7 @@ --TEST-- import_request_variables() test (numeric keys) --SKIPIF-- -<?php if(PHP_VERSION_ID < 503099){ die('skip not needed anymore without register_globals'); } ?> +<?php if(PHP_VERSION_ID >= 50399){ die('skip not needed anymore without register_globals'); } ?> --GET-- 1=0&2=1&3=2&4=3&5=4 --POST-- Modified: php/php-src/trunk/ext/standard/tests/general_functions/import_request3.phpt =================================================================== --- php/php-src/trunk/ext/standard/tests/general_functions/import_request3.phpt 2010-04-29 12:43:18 UTC (rev 298769) +++ php/php-src/trunk/ext/standard/tests/general_functions/import_request3.phpt 2010-04-29 12:48:06 UTC (rev 298770) @@ -1,7 +1,7 @@ --TEST-- import_request_variables() test (numeric keys, different order) --SKIPIF-- -<?php if(PHP_VERSION_ID < 503099){ die('skip not needed anymore without register_globals'); } ?> +<?php if(PHP_VERSION_ID >= 50399){ die('skip not needed anymore without register_globals'); } ?> --GET-- 1=0&2=1&3=2&4=3&5=4 --POST--
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php