mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix potential parallel test conflict
Cf. <43644961/job/xibhmsbs8panajy2 (L15770)
>.
This commit is contained in:
parent
83db088fc2
commit
cf971a1401
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ $php = dirname(getenv('TEST_PHP_EXECUTABLE')) . DIRECTORY_SEPARATOR . "php-win.e
|
|||
|
||||
$out_fl = __DIR__ . "\\argv_bug77111.txt";
|
||||
|
||||
$argv_fl = __DIR__ . DIRECTORY_SEPARATOR . "argv_test.php";
|
||||
$argv_fl = __DIR__ . DIRECTORY_SEPARATOR . "argv_bug77111_test.php";
|
||||
file_put_contents($argv_fl, "<?php file_put_contents('$out_fl', implode(' ', array_slice(\$argv, 1))); ?>");
|
||||
|
||||
`$php -n $argv_fl Ästhetik Æstetik Esthétique Estética Эстетика`;
|
||||
|
@ -31,7 +31,7 @@ var_dump(file_get_contents($out_fl));
|
|||
--CLEAN--
|
||||
<?php
|
||||
$out_fl = __DIR__ . "\\argv_bug77111.txt";
|
||||
$argv_fl = __DIR__ . DIRECTORY_SEPARATOR . "argv_test.php";
|
||||
$argv_fl = __DIR__ . DIRECTORY_SEPARATOR . "argv_bug77111_test.php";
|
||||
unlink($argv_fl);
|
||||
unlink($out_fl);
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue