From db484b612dc5810466400af08762621bbd8abc5e Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Thu, 9 Jul 2020 12:35:31 +0200 Subject: Prevent parallel test conflicts Both tests used the same folder, which could clash in case the tests are run simultaneously. --- ext/standard/tests/file/unlink_error-win32-mb.phpt | 8 ++++---- ext/standard/tests/file/unlink_variation1-win32-mb.phpt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ext/standard/tests/file/unlink_error-win32-mb.phpt b/ext/standard/tests/file/unlink_error-win32-mb.phpt index a208e5675b..54a433b861 100644 --- a/ext/standard/tests/file/unlink_error-win32-mb.phpt +++ b/ext/standard/tests/file/unlink_error-win32-mb.phpt @@ -12,7 +12,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { Description : Deletes filename */ -$file_path = __DIR__.DIRECTORY_SEPARATOR."私はガラスを食べられます"; +$file_path = __DIR__.DIRECTORY_SEPARATOR."unlinkErr私はガラスを食べられます"; @mkdir($file_path); @@ -62,9 +62,9 @@ echo "Done\n"; ?> --CLEAN-- --EXPECTF-- *** Testing unlink() : error conditions *** diff --git a/ext/standard/tests/file/unlink_variation1-win32-mb.phpt b/ext/standard/tests/file/unlink_variation1-win32-mb.phpt index e18049fdbe..65d70bd67d 100644 --- a/ext/standard/tests/file/unlink_variation1-win32-mb.phpt +++ b/ext/standard/tests/file/unlink_variation1-win32-mb.phpt @@ -17,7 +17,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') { */ -$file_path = __DIR__.DIRECTORY_SEPARATOR."私はガラスを食べられます"; +$file_path = __DIR__.DIRECTORY_SEPARATOR."unlinkVar1私はガラスを食べられます"; @mkdir($file_path); // temp dir name used here -- cgit v1.2.1