com php-src: the test shouldn't fail when unlink failed: ext/session/tests/bug61470.phpt
| From: | Anatol Belski | Date: | Fri, 13 Mar 2015 16:33:47 +0000 |
| Subject: | com php-src: the test shouldn't fail when unlink failed: ext/session/tests/bug61470.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85497@lists.php.net to get a copy of this message | ||
Commit: b680ccb2b092ea436946f302835c542e5c922a0e
Author: Anatol Belski <ab@php.net> Fri, 13 Mar 2015 09:40:17 +0100
Parents: 3cd6a9845d2ef42ce6caff86a01b03cf99835e30
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b680ccb2b092ea436946f302835c542e5c922a0e
Log:
the test shouldn't fail when unlink failed
Changed paths:
M ext/session/tests/bug61470.phpt
Diff:
diff --git a/ext/session/tests/bug61470.phpt b/ext/session/tests/bug61470.phpt
index d8b4c20..93d79fb 100644
--- a/ext/session/tests/bug61470.phpt
+++ b/ext/session/tests/bug61470.phpt
@@ -19,8 +19,8 @@ $file2 = $path . session_id();
var_dump(is_file($file2));
// cleanup
-unlink($file1);
-unlink($file2);
+@unlink($file1);
+@unlink($file2);
--EXPECT--
bool(true)
bool(true)