cvs: php-src(PHP_5_3) /ext/standard/tests/general_functions bug41518.phpt
| From: | Jani Taskinen | Date: | Mon, 25 Aug 2008 13:40:46 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/standard/tests/general_functions bug41518.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-52652@lists.php.net to get a copy of this message | ||
jani Mon Aug 25 13:40:46 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard/tests/general_functions bug41518.phpt
Log:
MFH
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug41518.phpt?r1=1.1.2.3.2.1&r2=1.1.2.3.2.2&diff_format=u
Index: php-src/ext/standard/tests/general_functions/bug41518.phpt
diff -u php-src/ext/standard/tests/general_functions/bug41518.phpt:1.1.2.3.2.1
php-src/ext/standard/tests/general_functions/bug41518.phpt:1.1.2.3.2.2
--- php-src/ext/standard/tests/general_functions/bug41518.phpt:1.1.2.3.2.1 Sun Aug 17 13:07:39 2008
+++ php-src/ext/standard/tests/general_functions/bug41518.phpt Mon Aug 25 13:40:46 2008
@@ -2,8 +2,7 @@
Bug #41518 (file_exists() warns of open_basedir restriction on non-existent file)
--SKIPIF--
<?php
-/* let's use /tmp here */
-$tmp_dir = __DIR__ . '/tmp';
+$tmp_dir = __DIR__ . '/bug41518';
mkdir($tmp_dir);
if (!is_dir($tmp_dir)) {
die("skip");
@@ -14,7 +13,7 @@
--FILE--
<?php
-$tmp_dir = __DIR__ . '/tmp';
+$tmp_dir = __DIR__ . "/bug41518/";
$tmp_file = $tmp_dir."/bug41418.tmp";
touch($tmp_file);
@@ -23,10 +22,9 @@
@unlink($tmp_file);
@rmdir($tmp_dir);
-
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
bool(true)
bool(false)
Done