2
0
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:
Klemens Morgenstern
2022-12-13 13:50:03 +08:00
committed by Klemens Morgenstern
parent f12bc25122
commit 765650aed3

View File

@@ -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,