From: Nikita Popov Date: Wed, 5 Jun 2019 07:58:59 +0000 (+0200) Subject: Avoid concurrent directory writes in FilesystemIterator test X-Git-Tag: php-7.4.0alpha1~87 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46d5a9bef9d4da8c845506beba492134a133851a;p=php Avoid concurrent directory writes in FilesystemIterator test The test directory is often used for temporary files, let's use the source directory, which should be more stable. If that doesn't work we need to create a temporary directory. --- diff --git a/ext/spl/tests/dit_005.phpt b/ext/spl/tests/dit_005.phpt index 9278a115a3..942a58d4ae 100644 --- a/ext/spl/tests/dit_005.phpt +++ b/ext/spl/tests/dit_005.phpt @@ -2,7 +2,8 @@ SPL: FilesystemIterator and clone --FILE-- key() == $b->key());