From: git@jeffhostetler.com Date: Fri, 13 Jul 2018 16:56:20 GMT Subject: [PATCH v1 24/25] structured-logging: t0420 tests for interacitve child_summary Message-ID: <20180713165621.52017-25-git@jeffhostetler.com> In-Reply-To: <20180713165621.52017-1-git@jeffhostetler.com> From: Jeff Hostetler Test running a command with a fake pager and verify that a child_summary is generated. Signed-off-by: Jeff Hostetler --- t/t0420-structured-logging.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/t/t0420-structured-logging.sh b/t/t0420-structured-logging.sh index 4ac404d..69f811a 100755 --- a/t/t0420-structured-logging.sh +++ b/t/t0420-structured-logging.sh @@ -260,4 +260,34 @@ test_expect_success PERLJSON 'verify child start/end events during clone' ' grep "row\[1\]\.detail\.data\.child_exit_code 0" event_exit && + + perl "$TEST_DIRECTORY"/t0420/parse_json.perl parsed_exit && + + grep "row\[0\]\.child_summary\.pager\.count 1"