Skip to content

Fix variation5-win32(-mb).phpt wrt. parallel test execution #10189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ext/standard/tests/file/file_variation5-win32-mb.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ chdir($script_directory);
$test_dirname = basename(__FILE__, ".php") . "私はガラスを食べられますtestdir";
mkdir($test_dirname);

$filepath = __DIR__ . '/file_variation_5.tmp';
$filepath = __DIR__ . '/file_variation_5_mb.tmp';
$filename = basename($filepath);
$fd = fopen($filepath, "w+");
fwrite($fd, "Line 1\nLine 2\nLine 3");
Expand All @@ -35,8 +35,8 @@ chdir($script_directory);
--CLEAN--
<?php
$test_dirname = __DIR__ . '/' . basename(__FILE__, ".clean.php") . "私はガラスを食べられますtestdir";
$filepath = __DIR__ . '/file_variation_5.tmp';
unlink($filepath);
$filepath = __DIR__ . '/file_variation_5_mb.tmp';
@unlink($filepath);
rmdir($test_dirname);
?>
--EXPECT--
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/tests/file/file_variation5-win32.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ chdir($script_directory);
<?php
$test_dirname = __DIR__ . '/' . basename(__FILE__, ".clean.php") . "testdir";
$filepath = __DIR__ . '/file_variation_5.tmp';
unlink($filepath); // Should be delete via the symlink deletion
@unlink($filepath);
rmdir($test_dirname);
?>
--EXPECT--
Expand Down