The tc_client_fd_leaks and tc_client_fd_leaks_exec tests from sanity-test are identical
https://gitlab.freedesktop.org/wayland/wayland/blob/master/tests/sanity-test.c#L162
FAIL_TEST(tc_client_fd_leaks)
{
struct display *d = display_create();
client_create_noarg(d, sanity_fd_leak);
display_run(d);
test_disable_coredumps();
display_destroy(d);
}
FAIL_TEST(tc_client_fd_leaks_exec)
{
struct display *d = display_create();
client_create_noarg(d, sanity_fd_leak);
display_run(d);
test_disable_coredumps();
display_destroy(d);
}
Is the _exec
version meant to use exec_fd_leak_check()
?