]> granicus.if.org Git - php/commitdiff
fix test
authorAntony Dovgal <tony2001@php.net>
Fri, 28 Jul 2006 13:47:41 +0000 (13:47 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 28 Jul 2006 13:47:41 +0000 (13:47 +0000)
I really hope there are no systems where /dev is a symlink

ext/standard/tests/file/bug24313.phpt

index 4c6053b278c6df5d9cdbb155b58f3ed809159677..04057c58a3c9927e1eaffe14cd9be5c6db914c7e 100644 (file)
@@ -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)