summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAnatoliy Belsky <ab@php.net>2012-04-16 14:38:16 +0200
committerAnatoliy Belsky <ab@php.net>2012-04-16 14:38:16 +0200
commitaaed0af418e153de27d698b1a529914d86637d20 (patch)
tree0a365c282147faa9e50a931ba0d42e86f0759173 /tests
parent163c1a393f9163b1741f43dd0ab279c3c8c810ca (diff)
downloadphp-git-aaed0af418e153de27d698b1a529914d86637d20.tar.gz
Fix bug 61683 tests\basic\bug20539.phpt fails
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/bug20539.phpt3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/basic/bug20539.phpt b/tests/basic/bug20539.phpt
index 67cef3a4f6..1406ce088e 100644
--- a/tests/basic/bug20539.phpt
+++ b/tests/basic/bug20539.phpt
@@ -11,7 +11,8 @@ session.save_path=./tests/basic/
<?php
print "good :)\n";
$filename = __DIR__ . '/sess_' . session_id();
- var_dump(unlink($filename));
+ var_dump(file_exists($filename));
+ @unlink($filename);
?>
--EXPECT--
good :)