mirror of
https://github.com/boostorg/process.git
synced 2026-01-19 04:22:15 +00:00
Update process.cpp
This commit is contained in:
committed by
Klemens Morgenstern
parent
fc33435f8b
commit
de797e388d
@@ -530,6 +530,8 @@ BOOST_AUTO_TEST_CASE(bind_launcher)
|
||||
bpv::error_code ec;
|
||||
|
||||
auto sz = asio::read(rp, asio::dynamic_buffer(out), ec);
|
||||
while (ec == asio::error::interrupted)
|
||||
sz += asio::read(rp, asio::dynamic_buffer(out), ec);
|
||||
BOOST_CHECK(sz != 0);
|
||||
BOOST_CHECK_MESSAGE((ec == asio::error::broken_pipe) || (ec == asio::error::eof), ec.message());
|
||||
BOOST_CHECK_MESSAGE(bpv::filesystem::path(out) == target,
|
||||
|
||||
Reference in New Issue
Block a user