[LTP] [PATCH v3] Rewrite ftrace_regression tests with new C API

Cyril Hrubis chrubis@suse.cz
Tue Mar 31 20:28:05 CEST 2026


Hi!
> > +	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?

Hmm, I guess that even tooling such as rapido[1] have ls in the initrd
so I guess that ls is just going to be there.

[1] https://github.com/rapido-linux/rapido

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list