]> granicus.if.org Git - php/commitdiff
use proper place to cleanup
authorAnatol Belski <ab@php.net>
Wed, 1 Jul 2015 18:06:48 +0000 (20:06 +0200)
committerAnatol Belski <ab@php.net>
Thu, 2 Jul 2015 12:23:05 +0000 (14:23 +0200)
ext/standard/tests/streams/proc_open_bug69900.phpt

index 7e7209a78380fa3c36dcdfab2d2030c4a6368574..b3523294a7932371c10ab4fe2fd5bc702756f789 100644 (file)
@@ -41,9 +41,13 @@ fclose($pipes[1]);
 
 proc_close($process);
 
-@unlink($fl);
 ?>
 ===DONE===
+--CLEAN--
+<?php
+$fl = dirname(__FILE__) . DIRECTORY_SEPARATOR . "test69900.php";
+@unlink($fl);
+?>
 --EXPECTF--
 hello0
 fgets() took %d%sms