mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
Fix borked Windows tests after 3be2b0d0d8
This commit is contained in:
@@ -34,10 +34,10 @@ chdir($script_directory);
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
$test_dirname = basename(__FILE__, ".clean.php") . "私はガラスを食べられますtestdir";
|
||||
$test_dirname = __DIR__ . '/' . basename(__FILE__, ".clean.php") . "私はガラスを食べられますtestdir";
|
||||
$filepath = __DIR__ . '/file_variation_5.tmp';
|
||||
rmdir($test_dirname);
|
||||
unlink($filepath);
|
||||
rmdir($test_dirname);
|
||||
?>
|
||||
--EXPECT--
|
||||
file() on a path containing .. and .
|
||||
|
||||
@@ -34,10 +34,10 @@ chdir($script_directory);
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
$test_dirname = basename(__FILE__, ".clean.php") . "testdir";
|
||||
$test_dirname = __DIR__ . '/' . basename(__FILE__, ".clean.php") . "testdir";
|
||||
$filepath = __DIR__ . '/file_variation_5.tmp';
|
||||
unlink($filepath); // Should be delete via the symlink deletion
|
||||
rmdir($test_dirname);
|
||||
unlink($filepath);
|
||||
?>
|
||||
--EXPECT--
|
||||
file() on a path containing .. and .
|
||||
|
||||
Reference in New Issue
Block a user