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:37:18 +0000 (17:37 -0400)
commit1cc00241a01b1f3a1ed54fc43457bb798724f36e
tree74d5f3fc7888cc26425df07eb3f302f45c9cbacf
parentf2bda80eb1fe2f73dda9a7590d9960cdccb0f733
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.026337 seconds and 4 git commands to generate.