tony2001 Fri Jul 28 13:47:56 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/file bug24313.phpt
Log:
fix test
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/bug24313.phpt?r1=1.3.4.1.2.1&r2=1.3.4.1.2.2&diff_format=u
Index: php-src/ext/standard/tests/file/bug24313.phpt
diff -u php-src/ext/standard/tests/file/bug24313.phpt:1.3.4.1.2.1
php-src/ext/standard/tests/file/bug24313.phpt:1.3.4.1.2.2
--- php-src/ext/standard/tests/file/bug24313.phpt:1.3.4.1.2.1 Tue Jul 11
21:20:20 2006
+++ php-src/ext/standard/tests/file/bug24313.phpt Fri Jul 28 13:47:56 2006
@@ -1,10 +1,10 @@
--TEST--
Bug #24313 (file_exists() throws a warning on nonexistent files when is
open_basedir enabled)
--INI--
-open_basedir=/bin
+open_basedir=/dev
--FILE--
<?php
- var_dump(file_exists("/bin/bogus_file_no_such_thing"));
+ var_dump(file_exists("/dev/bogus_file_no_such_thing"));
?>
--EXPECT--
bool(false)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php