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

Cyril Hrubis chrubis@suse.cz
Tue Apr 28 09:33:36 CEST 2026


Hi!
> > +       SAFE_FILE_PRINTF(page_fault_path, "%d", page_fault_origin);
> > +
> > +       tst_res(TPASS, "Test passed for setting userstacktrace "
> > +                       "bug(preempt count leak) not reproduced"
> > +                       );
> 
> No need put the ")" in a new line.
> 
>         tst_res(TPASS, "Test passed for setting userstacktrace "
> -                       "bug(preempt count leak) not reproduced"
> -                       );
> +                       "bug(preempt count leak) not reproduced");

Or even better, keep the message short and to the point with just:

	tst_res(TPASS, "Preempt count leak bug not reproduced");


-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list