cvs: php-src /ext/standard/tests/file bug24313.phpt
| From: | Antony Dovgal | Date: | Fri, 28 Jul 2006 13:47:41 +0000 |
| Subject: | cvs: php-src /ext/standard/tests/file bug24313.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-39618@lists.php.net to get a copy of this message | ||
tony2001 Fri Jul 28 13:47:41 2006 UTC
Modified files:
/php-src/ext/standard/tests/file bug24313.phpt
Log:
fix test
I really hope there are no systems where /dev is a symlink
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/bug24313.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/standard/tests/file/bug24313.phpt
diff -u php-src/ext/standard/tests/file/bug24313.phpt:1.5
php-src/ext/standard/tests/file/bug24313.phpt:1.6
--- php-src/ext/standard/tests/file/bug24313.phpt:1.5 Tue Jul 11 21:19:56 2006
+++ php-src/ext/standard/tests/file/bug24313.phpt Fri Jul 28 13:47:41 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)