2
0
mirror of https://github.com/boostorg/process.git synced 2026-01-30 20:12:31 +00:00

added BOOST_PROCESS_V2_DISABLE_SIGNALSET option

This commit is contained in:
Klemens Morgenstern
2024-12-20 13:16:06 +08:00
parent 5e792f006c
commit 229faab9b1
7 changed files with 108 additions and 51 deletions

View File

@@ -655,7 +655,7 @@ BOOST_AUTO_TEST_CASE(async_cancel_wait)
proc.async_wait(asio::cancel_after(std::chrono::milliseconds(100),
[&](boost::system::error_code ec, int)
{
BOOST_CHECK(ec == asio::error::operation_aborted);
BOOST_CHECK_EQUAL(ec, asio::error::operation_aborted);
BOOST_CHECK(proc.running());
if (proc.running())
proc.terminate();