1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Skip sapi_windows_set_ctrl_handler.phpt under ASan

For some reason, terminating the child process by sending CTRL+C won't
work under ASan instrumentation.  Since termination via CTRL+BREAK
works, there is apparently nothing fundamentally wrong, so we just
skip the test.

Closes GH-17086.
This commit is contained in:
Christoph M. Becker
2024-11-29 22:02:32 +01:00
parent c630801ae7
commit a7cf0725d8

View File

@@ -7,6 +7,7 @@ include "skipif.inc";
if (strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN')
die("skip this test is for Windows platforms only");
if (getenv('SKIP_ASAN')) die('skip child process cannot be stopped under ASan');
?>
--FILE--
<?php