Test: clear: local, streaming, live, tracefile rotation
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 8 Apr 2019 18:08:36 +0000 (14:08 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 10 Apr 2019 23:36:37 +0000 (19:36 -0400)
This is the base testsuite for the lttng clear command.

The following scenarios are validated:

    local
    local with tracefilei rotation
    streaming
    streaming with tracefile rotation
    live with viewer attach while clear is issued
    live with viewer attach after clear is issued
    live with viewer attach while clear is issued and tracefile rotation active

These tests are performed for kernel and userspace domain.

When testing in userspace the following scenarios are also tested:
     Per pid and clear: this should fail. It is not supported yet.
     relayd disallow clear: clear must fail when relayd does not allow it

For the test using a viewer a testpoint was added to lttng-relayd live
protocol to give a synchronization point between babeltrace and the test
script.

The common_test script is a bit convoluted due to the reuse of the same
script for both ust and kernel testing. The alternative is to have
almost the same code (90%) in two separate files.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>

No differences found
This page took 0.027567 seconds and 5 git commands to generate.