]> granicus.if.org Git - php/commitdiff
Fix bug 61683 tests\basic\bug20539.phpt fails
authorAnatoliy Belsky <ab@php.net>
Mon, 16 Apr 2012 12:38:16 +0000 (14:38 +0200)
committerAnatoliy Belsky <ab@php.net>
Mon, 16 Apr 2012 12:38:16 +0000 (14:38 +0200)
tests/basic/bug20539.phpt

index 67cef3a4f61bbae03c8bacee63f19942a872bdfe..1406ce088eac61862cdd74665b5873a7863c40e4 100644 (file)
@@ -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 :)