[LTP] [PATCH v2 1/2] lib: Add support option for .needs_cmds

Wei Gao wegao@suse.com
Fri Oct 10 08:32:54 CEST 2025


On Tue, Sep 30, 2025 at 03:36:23PM +0200, Petr Vorel wrote:
> Hi Wei,
> 
> ...
> > +++ b/include/tst_cmd.h
> > @@ -16,6 +16,12 @@ enum tst_cmd_flags {
> >  	TST_CMD_TCONF_ON_MISSING = 2,
> >  };
> 
> > +struct tst_cmd {
> > +	const char *cmd;
> > +	unsigned int optional:1;
> > +	unsigned int present:1;
> 
> Maybe s/present/available/ ?
This is suggested by Cyril Hrubis during v1 review.


More information about the ltp mailing list