All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Avinesh Kumar <akumar@suse.de>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 1/1] cgroup_lib.sh: Improve error messages
Date: Thu, 17 Apr 2025 08:52:06 +0200	[thread overview]
Message-ID: <20250417065206.GA638986@pevik> (raw)
In-Reply-To: <12664748.O9o76ZdvQC@thinkpad>

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

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2025-04-17  6:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-16  7:21 [LTP] [PATCH 1/1] cgroup_lib.sh: Improve error messages Petr Vorel
2025-04-16  7:33 ` Li Wang via ltp
2025-04-16  7:34 ` Li Wang via ltp
2025-04-16  8:40   ` Petr Vorel
2025-04-16  8:51     ` Avinesh Kumar
2025-04-17  6:52       ` Petr Vorel [this message]
2025-04-16  8:52     ` Li Wang via ltp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250417065206.GA638986@pevik \
    --to=pvorel@suse.cz \
    --cc=akumar@suse.de \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.