com php-src: Fix #64572: Clean up after the test: ext/standard/tests/file/bug44805.phpt
| From: | Xinchen Hui | Date: | Wed, 03 Apr 2013 10:50:27 +0000 |
| Subject: | com php-src: Fix #64572: Clean up after the test: ext/standard/tests/file/bug44805.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71842@lists.php.net to get a copy of this message | ||
Commit: 99ad08f9a5e696654676e9db8872e4198b738936
Author: ptarjan <ptarjan@fb.com> Tue, 2 Apr 2013 19:24:11 -0700
Committer: Xinchen Hui <laruence@php.net> Wed, 3 Apr 2013 18:50:27 +0800
Parents: e8d80b770bd0f284395e035820c1c1994c0a61c3
Branches: PHP-5.4
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=99ad08f9a5e696654676e9db8872e4198b738936
Log:
Fix #64572: Clean up after the test
Lets not leave stuff lying around.
Bugs:
https://bugs.php.net/64572
Changed paths:
M ext/standard/tests/file/bug44805.phpt
Diff:
diff --git a/ext/standard/tests/file/bug44805.phpt b/ext/standard/tests/file/bug44805.phpt
index 85f1255..8e13c38 100644
--- a/ext/standard/tests/file/bug44805.phpt
+++ b/ext/standard/tests/file/bug44805.phpt
@@ -22,7 +22,7 @@ readfile($file2);
if (file_exists($file1)) {
unlink($file1);
}
-if (file_exists($file1)) {
+if (file_exists($file2)) {
unlink($file2);
}
?>