Tests: add hidden trigger visibility test
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 9 Jul 2021 17:00:48 +0000 (13:00 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 12 Jul 2021 21:38:52 +0000 (17:38 -0400)
commitffa1e278efc85ea36309e847347d4433641e8b0f
tree110ed034e5203cceaed4cb8329728e7be8e36176
parent5682b2e6462875214549f5b5a1d9eb1d8df0950e
Tests: add hidden trigger visibility test

Add a regression test for the previous commit that verifies that
internal triggers used by the session daemon to implement various
features (automatic session rotations based on their consumed size, in
this instance) are not visible to users of liblttng-ctl.

The test is written in C to use the library directly. This is needed
since the `lttng` client filters-out anonymous triggers and thus, would
not allow us to see those triggers since they are anonymous by default.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I1b8fca648953b8cba49a9888593b3486457d01b2
configure.ac
tests/regression/Makefile.am
tests/regression/tools/trigger/Makefile.am
tests/regression/tools/trigger/hidden/Makefile.am [new file with mode: 0644]
tests/regression/tools/trigger/hidden/hidden_trigger.c [new file with mode: 0644]
tests/regression/tools/trigger/hidden/test_hidden_trigger [new file with mode: 0755]
This page took 0.029418 seconds and 4 git commands to generate.