felipe Sun, 01 Aug 2010 16:24:42 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=301764
Log:
- Removed safe-mode tests
Changed paths:
D
php/php-src/trunk/ext/standard/tests/general_functions/putenv_error1.phpt
D
php/php-src/trunk/ext/standard/tests/general_functions/putenv_error2.phpt
Deleted:
php/php-src/trunk/ext/standard/tests/general_functions/putenv_error1.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/general_functions/putenv_error1.phpt
2010-08-01 16:08:45 UTC (rev 301763)
+++ php/php-src/trunk/ext/standard/tests/general_functions/putenv_error1.phpt
2010-08-01 16:24:42 UTC (rev 301764)
@@ -1,28 +0,0 @@
---TEST--
-putenv() - usage in safe mode with safe_mode_allowed_env_vars set
---CREDITS--
-Brian DeShong <[email protected]>
---INI--
-safe_mode=1
-safe_mode_allowed_env_vars=TESTING_
---SKIPIF--
-<?php if (PHP_VERSION_ID < 503099) { die('SKIP Safe mode is no longer
available'); } ?>
---FILE--
-<?php
-putenv('FOO=bar');
-putenv('BAZ=bop');
-$set = putenv('TESTING_FOO=bar');
-print ($set ? 'it worked' : 'boo') . "\n";
-$set = putenv('TESTING_BAR=baz');
-print ($set ? 'it worked' : 'boo') . "\n";
-?>
-==DONE==
---EXPECTF--
-Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown
on line 0
-
-Warning: putenv(): Safe Mode warning: Cannot set environment variable 'FOO' -
it's not in the allowed list in %s on line %d
-
-Warning: putenv(): Safe Mode warning: Cannot set environment variable 'BAZ' -
it's not in the allowed list in %s on line %d
-it worked
-it worked
-==DONE==
Deleted:
php/php-src/trunk/ext/standard/tests/general_functions/putenv_error2.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/general_functions/putenv_error2.phpt
2010-08-01 16:08:45 UTC (rev 301763)
+++ php/php-src/trunk/ext/standard/tests/general_functions/putenv_error2.phpt
2010-08-01 16:24:42 UTC (rev 301764)
@@ -1,22 +0,0 @@
---TEST--
-putenv() - usage in safe mode with safe_mode_protected_env_vars set
---CREDITS--
-Brian DeShong <[email protected]>
---INI--
-safe_mode=1
-safe_mode_protected_env_vars=FOO,BAZ
---SKIPIF--
-<?php if (PHP_VERSION_ID < 503099) { die('SKIP Safe mode is no longer
available'); } ?>
---FILE--
-<?php
-putenv('FOO=bar');
-putenv('BAZ=bop');
-?>
-==DONE==
---EXPECTF--
-Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown
on line 0
-
-Warning: putenv(): Safe Mode warning: Cannot override protected environment
variable 'FOO' in %s on line %d
-
-Warning: putenv(): Safe Mode warning: Cannot override protected environment
variable 'BAZ' in %s on line %d
-==DONE==
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php