mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Don't run proc_open_cmd.phpt in parallel with other tests
This commit is contained in:
commit
fd25b79412
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Harden against cmd.exe hijacking
|
Harden against cmd.exe hijacking
|
||||||
|
--CONFLICTS--
|
||||||
|
all
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (PHP_OS_FAMILY !== "Windows") die("skip only for Windows");
|
if (PHP_OS_FAMILY !== "Windows") die("skip only for Windows");
|
||||||
|
@ -18,6 +20,7 @@ if (($num = stream_select($read, $write, $except, 1000)) === false) {
|
||||||
fpassthru($stream);
|
fpassthru($stream);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@unlink("cmd.exe");
|
||||||
?>
|
?>
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
resource(%d) of type (process)
|
resource(%d) of type (process)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue