From b3e1161fc4e5864aa5726f726bfe46146388b0ef Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Wed, 19 Nov 2025 10:03:33 +0200 Subject: [PATCH] lib-program-client: test-program-client-unix - Finish ostream --- src/lib-program-client/test-program-client-unix.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib-program-client/test-program-client-unix.c b/src/lib-program-client/test-program-client-unix.c index 7cc81769cb..c6a595ce74 100644 --- a/src/lib-program-client/test-program-client-unix.c +++ b/src/lib-program-client/test-program-client-unix.c @@ -334,6 +334,8 @@ static void test_program_io_common(const char *const *args) test_assert(ret == 1); test_assert(strcmp(str_c(output), pclient_test_io_string) == 0); + if (o_stream_finish(os) < 0) + i_error("o_stream_finish() failed: %s", o_stream_get_error(os)); program_client_destroy(&pc); -- 2.47.3