]> granicus.if.org Git - php/commitdiff
Fix #64572: Clean up after the test
authorptarjan <ptarjan@fb.com>
Wed, 3 Apr 2013 02:24:11 +0000 (19:24 -0700)
committerXinchen Hui <laruence@php.net>
Wed, 3 Apr 2013 10:50:27 +0000 (18:50 +0800)
Lets not leave stuff lying around.

ext/standard/tests/file/bug44805.phpt

index 85f1255a6d381ce828d4c864acfb60ede751a57a..8e13c3862986b5915e9814ba9c9dd93d86577dbe 100644 (file)
@@ -22,7 +22,7 @@ readfile($file2);
 if (file_exists($file1)) {
        unlink($file1);
 }
-if (file_exists($file1)) {
+if (file_exists($file2)) {
        unlink($file2);
 }
 ?>