From: Petr Vorel <pvorel@suse.cz>
To: Li Wang <liwang@redhat.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 1/1] cgroup_lib.sh: Improve error messages
Date: Wed, 16 Apr 2025 10:40:57 +0200 [thread overview]
Message-ID: <20250416084057.GB577362@pevik> (raw)
In-Reply-To: <CAEemH2e3XLZmS0aO4rRZPQ+qV+QOCvbtLWxngMY2so5gSnZpag@mail.gmail.com>
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.
Kind regards,
Petr
> > return $ret
> > fi
> > if [ $ret -ne 0 ]; then
> > - tst_brk TBROK "'tst_cgctl require' exited"
> > + tst_brk TBROK "'tst_cgctl require $ctrl' failed. LTP
> > missing $ctrl controller support?"
> > return $ret
> > fi
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2025-04-16 8:41 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 [this message]
2025-04-16 8:51 ` Avinesh Kumar
2025-04-17 6:52 ` Petr Vorel
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=20250416084057.GB577362@pevik \
--to=pvorel@suse.cz \
--cc=liwang@redhat.com \
--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.