mirror of
https://github.com/boostorg/process.git
synced 2026-01-19 04:22:15 +00:00
process native-exit code test.
This commit is contained in:
committed by
Klemens Morgenstern
parent
af47f4677c
commit
3769ec01f4
@@ -586,7 +586,7 @@ BOOST_AUTO_TEST_CASE(async_interrupt)
|
||||
[](boost::system::error_code ec, int res)
|
||||
{
|
||||
BOOST_CHECK(!ec);
|
||||
BOOST_CHECK_EQUAL(res, 0);
|
||||
BOOST_CHECK_EQUAL(bpv::evaluate_exit_code(res), 0);
|
||||
}));
|
||||
|
||||
tim.async_wait([&](bpv::error_code ec) { sig.emit(asio::cancellation_type::total); });
|
||||
@@ -614,7 +614,7 @@ BOOST_AUTO_TEST_CASE(async_request_exit)
|
||||
[](boost::system::error_code ec, int res)
|
||||
{
|
||||
BOOST_CHECK(!ec);
|
||||
BOOST_CHECK_EQUAL(res, 0);
|
||||
BOOST_CHECK_EQUAL(bpv::evaluate_exit_code(res), 0);
|
||||
}));
|
||||
|
||||
tim.async_wait([&](bpv::error_code ec) { sig.emit(asio::cancellation_type::partial); });
|
||||
|
||||
Reference in New Issue
Block a user