Fix potential parallel test conflict

Cf. <43644961/job/xibhmsbs8panajy2 (L15770)>.
This commit is contained in:
Christoph M. Becker 2022-05-24 16:48:33 +02:00
parent 83db088fc2
commit cf971a1401
No known key found for this signature in database
GPG key ID: D66C9593118BCCB6

View file

@ -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);
?>