pajoye Tue, 06 Sep 2011 09:23:10 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=316238
Log: - move it to the right place Changed paths: D php/php-src/branches/PHP_5_3/ext/standard/tests/directory/open_basedir_001.phpt A + php/php-src/branches/PHP_5_3/tests/security/open_basedir_001.phpt (from php/php-src/branches/PHP_5_3/ext/standard/tests/directory/open_basedir_001.phpt:r316236) D php/php-src/branches/PHP_5_4/ext/standard/tests/directory/open_basedir_001.phpt A + php/php-src/branches/PHP_5_4/tests/security/open_basedir_001.phpt (from php/php-src/branches/PHP_5_4/ext/standard/tests/directory/open_basedir_001.phpt:r316236) D php/php-src/trunk/ext/standard/tests/directory/open_basedir_001.phpt A + php/php-src/trunk/tests/security/open_basedir_001.phpt (from php/php-src/trunk/ext/standard/tests/directory/open_basedir_001.phpt:r316236) Deleted: php/php-src/branches/PHP_5_3/ext/standard/tests/directory/open_basedir_001.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/standard/tests/directory/open_basedir_001.phpt 2011-09-06 09:22:06 UTC (rev 316237) +++ php/php-src/branches/PHP_5_3/ext/standard/tests/directory/open_basedir_001.phpt 2011-09-06 09:23:10 UTC (rev 316238) @@ -1,22 +0,0 @@ ---TEST-- -openbase_dir runtime tightning ---SKIPIF-- -<?php -if (substr(PHP_OS, 0, 3) == 'WIN') { - die('skip.. only for unix'); -} ---INI-- -open_basedir=/usr/local ---FILE-- -<?php -var_dump(ini_set("open_basedir", "/usr/local/bin")); -var_dump(ini_get("open_basedir")); -var_dump(ini_set("open_basedir", "/usr")); -var_dump(ini_get("open_basedir")); -?> ---EXPECT-- -string(10) "/usr/local" -string(14) "/usr/local/bin" -bool(false) -string(14) "/usr/local/bin" - Copied: php/php-src/branches/PHP_5_3/tests/security/open_basedir_001.phpt (from rev 316236, php/php-src/branches/PHP_5_3/ext/standard/tests/directory/open_basedir_001.phpt) =================================================================== --- php/php-src/branches/PHP_5_3/tests/security/open_basedir_001.phpt (rev 0) +++ php/php-src/branches/PHP_5_3/tests/security/open_basedir_001.phpt 2011-09-06 09:23:10 UTC (rev 316238) @@ -0,0 +1,22 @@ +--TEST-- +openbase_dir runtime tightning +--SKIPIF-- +<?php +if (substr(PHP_OS, 0, 3) == 'WIN') { + die('skip.. only for unix'); +} +--INI-- +open_basedir=/usr/local +--FILE-- +<?php +var_dump(ini_set("open_basedir", "/usr/local/bin")); +var_dump(ini_get("open_basedir")); +var_dump(ini_set("open_basedir", "/usr")); +var_dump(ini_get("open_basedir")); +?> +--EXPECT-- +string(10) "/usr/local" +string(14) "/usr/local/bin" +bool(false) +string(14) "/usr/local/bin" + Deleted: php/php-src/branches/PHP_5_4/ext/standard/tests/directory/open_basedir_001.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/standard/tests/directory/open_basedir_001.phpt 2011-09-06 09:22:06 UTC (rev 316237) +++ php/php-src/branches/PHP_5_4/ext/standard/tests/directory/open_basedir_001.phpt 2011-09-06 09:23:10 UTC (rev 316238) @@ -1,22 +0,0 @@ ---TEST-- -openbase_dir runtime tightning ---SKIPIF-- -<?php -if (substr(PHP_OS, 0, 3) == 'WIN') { - die('skip.. only for unix'); -} ---INI-- -open_basedir=/usr/local ---FILE-- -<?php -var_dump(ini_set("open_basedir", "/usr/local/bin")); -var_dump(ini_get("open_basedir")); -var_dump(ini_set("open_basedir", "/usr")); -var_dump(ini_get("open_basedir")); -?> ---EXPECT-- -string(10) "/usr/local" -string(14) "/usr/local/bin" -bool(false) -string(14) "/usr/local/bin" - Copied: php/php-src/branches/PHP_5_4/tests/security/open_basedir_001.phpt (from rev 316236, php/php-src/branches/PHP_5_4/ext/standard/tests/directory/open_basedir_001.phpt) =================================================================== --- php/php-src/branches/PHP_5_4/tests/security/open_basedir_001.phpt (rev 0) +++ php/php-src/branches/PHP_5_4/tests/security/open_basedir_001.phpt 2011-09-06 09:23:10 UTC (rev 316238) @@ -0,0 +1,22 @@ +--TEST-- +openbase_dir runtime tightning +--SKIPIF-- +<?php +if (substr(PHP_OS, 0, 3) == 'WIN') { + die('skip.. only for unix'); +} +--INI-- +open_basedir=/usr/local +--FILE-- +<?php +var_dump(ini_set("open_basedir", "/usr/local/bin")); +var_dump(ini_get("open_basedir")); +var_dump(ini_set("open_basedir", "/usr")); +var_dump(ini_get("open_basedir")); +?> +--EXPECT-- +string(10) "/usr/local" +string(14) "/usr/local/bin" +bool(false) +string(14) "/usr/local/bin" + Deleted: php/php-src/trunk/ext/standard/tests/directory/open_basedir_001.phpt =================================================================== --- php/php-src/trunk/ext/standard/tests/directory/open_basedir_001.phpt 2011-09-06 09:22:06 UTC (rev 316237) +++ php/php-src/trunk/ext/standard/tests/directory/open_basedir_001.phpt 2011-09-06 09:23:10 UTC (rev 316238) @@ -1,22 +0,0 @@ ---TEST-- -openbase_dir runtime tightning ---SKIPIF-- -<?php -if (substr(PHP_OS, 0, 3) == 'WIN') { - die('skip.. only for unix'); -} ---INI-- -open_basedir=/usr/local ---FILE-- -<?php -var_dump(ini_set("open_basedir", "/usr/local/bin")); -var_dump(ini_get("open_basedir")); -var_dump(ini_set("open_basedir", "/usr")); -var_dump(ini_get("open_basedir")); -?> ---EXPECT-- -string(10) "/usr/local" -string(14) "/usr/local/bin" -bool(false) -string(14) "/usr/local/bin" - Copied: php/php-src/trunk/tests/security/open_basedir_001.phpt (from rev 316236, php/php-src/trunk/ext/standard/tests/directory/open_basedir_001.phpt) =================================================================== --- php/php-src/trunk/tests/security/open_basedir_001.phpt (rev 0) +++ php/php-src/trunk/tests/security/open_basedir_001.phpt 2011-09-06 09:23:10 UTC (rev 316238) @@ -0,0 +1,22 @@ +--TEST-- +openbase_dir runtime tightning +--SKIPIF-- +<?php +if (substr(PHP_OS, 0, 3) == 'WIN') { + die('skip.. only for unix'); +} +--INI-- +open_basedir=/usr/local +--FILE-- +<?php +var_dump(ini_set("open_basedir", "/usr/local/bin")); +var_dump(ini_get("open_basedir")); +var_dump(ini_set("open_basedir", "/usr")); +var_dump(ini_get("open_basedir")); +?> +--EXPECT-- +string(10) "/usr/local" +string(14) "/usr/local/bin" +bool(false) +string(14) "/usr/local/bin" +
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php