1
0
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:
George Peter Banyard
2022-12-12 16:12:10 +00:00
parent 3be2b0d0d8
commit fa3bbf078a
2 changed files with 4 additions and 4 deletions

View File

@@ -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 .

View File

@@ -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 .