diff options
author | Anatol Belski <ab@php.net> | 2016-06-22 12:20:02 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-06-22 12:20:02 +0200 |
commit | 4638ba9c076713c7a7f0dc2779e42bb87dce499d (patch) | |
tree | fa7c4b7a66d38ada91f664b0e2758b8216c2bdb0 | |
parent | de1c407348b95ea0207b568ac28c3086c22471b8 (diff) | |
download | php-git-4638ba9c076713c7a7f0dc2779e42bb87dce499d.tar.gz |
fix test cleanup
-rw-r--r-- | ext/standard/tests/file/bug65701.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/file/bug65701.phpt b/ext/standard/tests/file/bug65701.phpt index d375d322ae..6d6899b0a8 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); } } |