MCPcopy Create free account
hub / github.com/arun11299/cpp-subprocess / test_buffer_growth_threaded_comm

Function test_buffer_growth_threaded_comm

test/test_cat.cc:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void test_buffer_growth_threaded_comm()
52{
53 std::cout << "Test::test_buffer_growth_threaded_comm" << std::endl;
54 auto buf = sp::check_output("cat ../subprocess.hpp", sp::error{sp::PIPE});
55 std::cout << buf.length << std::endl;
56 assert (buf.length > sp::DEFAULT_BUF_CAP_BYTES);
57 std::cout << "END_TEST" << std::endl;
58}
59
60int main() {
61#ifndef __USING_WINDOWS__

Callers

nothing calls this directly

Calls 1

check_outputFunction · 0.85

Tested by

no test coverage detected