[LTP] [PATCH v2 1/4] ima_violations.sh: force $LOG ToMToU violation earlier

Petr Vorel pvorel@suse.cz
Tue Mar 4 14:34:50 CET 2025


Hi Mimi,

...
> > > +	exec 3< $LOG || tst_brk TBROK "failed to read log file"
> > >  	tst_res TINFO "using log $LOG"

> > If you don't mind, I would reverse the order to get info about which log is
> > used:

> > 	tst_res TINFO "using log $LOG"
> > 	exec 3< $LOG || tst_brk TBROK "failed to read log file"

> Oh, I see what you mean.  All of the TINFO come first and then an error, if
> there is one.  That's fine.

Good. Merged this patch.

Kind regards,
Petr


More information about the ltp mailing list