cvs: php-src /ext/standard/tests/general_functions bug41518.phpt
| From: | Jani Taskinen | Date: | Mon, 25 Aug 2008 13:40:33 +0000 |
| Subject: | cvs: php-src /ext/standard/tests/general_functions bug41518.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-52651@lists.php.net to get a copy of this message | ||
jani Mon Aug 25 13:40:33 2008 UTC
Modified files:
/php-src/ext/standard/tests/general_functions bug41518.phpt
Log:
fix test: no crap left behind
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug41518.phpt?r1=1.4&r2=1.5&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.4
php-src/ext/standard/tests/general_functions/bug41518.phpt:1.5
--- php-src/ext/standard/tests/general_functions/bug41518.phpt:1.4 Sun Aug 17 13:07:06 2008
+++ php-src/ext/standard/tests/general_functions/bug41518.phpt Mon Aug 25 13:40:33 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 = "/tmp";
+$tmp_dir = __DIR__ . "/bug41518/";
$tmp_file = $tmp_dir."/bug41418.tmp";
touch($tmp_file);