[LTP] [PATCH v3] Rewrite ftrace_regression tests with new C API
Petr Vorel
pvorel@suse.cz
Tue Mar 31 09:56:10 CEST 2026
Hi all,
...
> --- /dev/null
> +++ b/testcases/kernel/tracing/ftrace_test/ftrace_regression02.c
...
> + for (i = 0; i < LOOP; i++)
> + tst_cmd((const char *[]){"ls", "-l", "/proc", NULL},
> + "/dev/null", "/dev/null", 0);
It should probably be SAFE_CMD().
@Cyril are we ok with 'ls' as external dependency, or do we want to have test
to have simple binary helper run as child to not depend on userspace?
Kind regards,
Petr
More information about the ltp
mailing list