According to POSIX message queues have kernel persistence, which means they are not cleaned up until the next reboot.
The test has a mq_unlink() as "precondition", so it will clean up failed test runs silently but /proc/xenomai/registry/usage will still report a "leak" once the test has completed. Signed-off-by: Florian Bezdeka <florian.bezd...@siemens.com> --- testsuite/smokey/posix-select/posix-select.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testsuite/smokey/posix-select/posix-select.c b/testsuite/smokey/posix-select/posix-select.c index e9bf938b3..1484fa639 100644 --- a/testsuite/smokey/posix-select/posix-select.c +++ b/testsuite/smokey/posix-select/posix-select.c @@ -140,6 +140,8 @@ static int run_posix_select(struct smokey_test *t, int argc, char *const argv[]) ret = test_status; out: pthread_join(tcb, NULL); - + + mq_unlink("/select_test_mq"); + return ret; } -- 2.30.2