diff options
author | Jani Taskinen <jani@php.net> | 2008-08-25 13:40:33 +0000 |
---|---|---|
committer | Jani Taskinen <jani@php.net> | 2008-08-25 13:40:33 +0000 |
commit | 1736edba99d12d0c14aa7eb8308179920795ac3c (patch) | |
tree | 931609cc5ce658b70f0f60166a882814849613df /ext/standard/tests/general_functions/bug41518.phpt | |
parent | d3b358cf3dce7e3c11d17a0fa435b5b44a0cfb76 (diff) | |
download | php-git-1736edba99d12d0c14aa7eb8308179920795ac3c.tar.gz |
fix test: no crap left behind
Diffstat (limited to 'ext/standard/tests/general_functions/bug41518.phpt')
-rw-r--r-- | ext/standard/tests/general_functions/bug41518.phpt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/standard/tests/general_functions/bug41518.phpt b/ext/standard/tests/general_functions/bug41518.phpt index 097ba02917..4a3858b4ea 100644 --- a/ext/standard/tests/general_functions/bug41518.phpt +++ b/ext/standard/tests/general_functions/bug41518.phpt @@ -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 @@ open_basedir=. --FILE-- <?php -$tmp_dir = "/tmp"; +$tmp_dir = __DIR__ . "/bug41518/"; $tmp_file = $tmp_dir."/bug41418.tmp"; touch($tmp_file); |