]> granicus.if.org Git - php/commitdiff
MFH: /tmp is often a symlink, use /bin instead
authorAntony Dovgal <tony2001@php.net>
Tue, 11 Jul 2006 21:20:20 +0000 (21:20 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 11 Jul 2006 21:20:20 +0000 (21:20 +0000)
ext/standard/tests/file/bug24313.phpt

index 4b84bcac4c0f1e42609576bfe5ba4ee4603b04d6..4c6053b278c6df5d9cdbb155b58f3ed809159677 100644 (file)
@@ -1,10 +1,10 @@
 --TEST--
-Bug #24313 (file_exists() warning on non-existant files when is open_basedir enabled)
+Bug #24313 (file_exists() throws a warning on nonexistent files when is open_basedir enabled)
 --INI--
-open_basedir=/tmp
+open_basedir=/bin
 --FILE--
 <?php
-       var_dump(file_exists("/tmp/bogus_file_no_such_thing"));
+       var_dump(file_exists("/bin/bogus_file_no_such_thing"));
 ?>
 --EXPECT--
 bool(false)