com php-src: fix test cleanup: ext/standard/tests/file/bug65701.phpt

From: Date: Wed, 22 Jun 2016 10:20:02 +0000
Subject: com php-src: fix test cleanup: ext/standard/tests/file/bug65701.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-92606@lists.php.net to get a copy of this message
Commit: 4638ba9c076713c7a7f0dc2779e42bb87dce499d Author: Anatol Belski <ab@php.net> Wed, 22 Jun 2016 12:20:02 +0200 Parents: de1c407348b95ea0207b568ac28c3086c22471b8 Branches: PHP-5.6 PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4638ba9c076713c7a7f0dc2779e42bb87dce499d Log: fix test cleanup Changed paths: M ext/standard/tests/file/bug65701.phpt Diff: diff --git a/ext/standard/tests/file/bug65701.phpt b/ext/standard/tests/file/bug65701.phpt index d375d32..6d6899b 100644 --- a/ext/standard/tests/file/bug65701.phpt +++ b/ext/standard/tests/file/bug65701.phpt @@ -20,7 +20,7 @@ var_dump(filesize($dst)); <?php $file_path = dirname(__FILE__) . "/bug65701/"; foreach (scandir($file_path) as $file) { - if (strpos($file, "bug65701") !== false) { + if (strpos($file, "bug65701") !== false || 'WIN' == substr(PHP_OS, 0, 3)) { unlink($file_path . $file); } }

« previous php.cvs (#92606) next »