[LTP] [PATCH 1/1] cgroup_lib.sh: Improve error messages
Petr Vorel
pvorel@suse.cz
Thu Apr 17 08:52:06 CEST 2025
Hi Li, Avinesh,
> On Wednesday, April 16, 2025 10:40:57 AM CEST Petr Vorel wrote:
> > Hi Li,
> > > > +++ b/testcases/kernel/controllers/cgroup_lib.sh
> > > > @@ -119,12 +119,12 @@ cgroup_require()
> > > > ret=$?
> > > > if [ $ret -eq 32 ]; then
> > > > - tst_brk TCONF "'tst_cgctl require' exited. Controller is
> > > > probably not available?"
> > > > + tst_brk TCONF "'tst_cgctl require $ctrl' exited. $ctrl
> > > > controller not available?"
> > > s/exited/existed
> > I understood that "exited" which was used previously was meant to be "exited
> > with non-zero" (I can improve it this way to be more precise). Do you really
> > think it's in TCONF related to controller existed? I actually mean the opposite
> > - one wants controller which does not exist due not configured in the kernel.
> I was also writing the same.
> I think we should just change it to 'failed' as you did below.
Merged, with this change. Thank you both for your review!
Kind regards,
Petr
More information about the ltp
mailing list