From: Jérémie Galarneau Date: Tue, 11 Jun 2019 09:39:46 +0000 (-0400) Subject: Tests: remove check for an empty chunk produced on destruction X-Git-Tag: v2.12.0-rc1~553 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=7304cc2e1edc7980831ea2e95bd7047f4dcc22f0;hp=7304cc2e1edc7980831ea2e95bd7047f4dcc22f0;p=lttng-tools.git Tests: remove check for an empty chunk produced on destruction Consider the following tracing scenario used by the rotation tests: - Start tracing - Rotate - Stop tracing - Rotate - Destroy The session daemon used to produce 3 trace archives when this sequence of operations occurred. Of course, the third archive would always be empty as no events can be produced between a stop and a destroy operation. As this behaviour is thankfully no longer present, the chunk validation logic of the test causes it to fail. This patch removes this logic. Moreover, since chunk IDs are now 0-based, the test is adjusted to check for names accouting for this naming scheme. Signed-off-by: Jérémie Galarneau ---