All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Brian Norris <briannorris@chromium.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"Rafael J . Wysocki" <rafael@kernel.org>,
	Ingo Molnar <mingo@redhat.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] debugfs: Only clobber mode/uid/gid on remount if asked
Date: Thu, 8 Sep 2022 21:05:03 -0400	[thread overview]
Message-ID: <20220908210503.6e96e36d@rorschach.local.home> (raw)
In-Reply-To: <YxqPZ4Yfus+an0Lg@google.com>

On Thu, 8 Sep 2022 17:57:11 -0700
Brian Norris <briannorris@chromium.org> wrote:

> On Thu, Sep 08, 2022 at 08:43:32PM -0400, Steven Rostedt wrote:
> > On Thu, 8 Sep 2022 17:16:17 -0700
> > Instead of doing an LTP test, could you just write a script that could test
> > it in the kernel selftests?
> > 
> > See tools/testing/selftests/...
> > 
> > in the kernel repository.  
> 
> I honestly don't know why both LTP and kselftests exist. But I *did*

Well, LTP started off great, but then became overwhelming, and would
fail on a lot that I didn't care about. Then we started the kernel
selftests which is suppose to be small unit tests where tests get added
along with new features. And because the tests are in the kernel tree,
they get added together. That was one of the issues with LTP, it was
harder to coordinate what tests went with which kernel.

I have not run LTP in years, but run selftests weekly.

> specifically ask about LTP and got a "yes" from both you and Greg.

I was just saying "yes" to testing, I must have overlooked that you
mentioned LTP. All I saw was "testing" and thought "Yes!" ;-)

> 
> I suppose I can go back and remove all the LTP niceties that I just
> added to my bare script (setup, cleanup, clean handling of individual
> test cases, unified reporting stats; does selftests have any of
> that?)... But that'll have to be next week, if I can find the time at
> all.

Nah, you did the work, and it doesn't hurt to have it in LTP too. I may
no longer use LTP, but I'm sure there are a lot of others that do.

> 
> > If you create a tracefs one, it could go into the ftrace directory.  
> 
> Since the tests cases are so similar, my current script tests both
> debugfs and tracefs. So I probably won't create two separate buckets for
> this.

If you have a script that tests both, I'm happy to add it in the ftrace
selftests.

Sorry for the confusion.

-- Steve

      reply	other threads:[~2022-09-09  1:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-27  0:44 [PATCH 1/2] debugfs: Only clobber mode/uid/gid on remount if asked Brian Norris
2022-08-27  0:44 ` [PATCH 2/2] tracefs: " Brian Norris
2022-09-07 11:44   ` Steven Rostedt
2022-09-07 20:52     ` Brian Norris
2022-09-08  1:25       ` Steven Rostedt
2022-09-07 21:46   ` Steven Rostedt
2022-09-07 21:48     ` Steven Rostedt
2022-09-07 21:53       ` Brian Norris
2022-09-07 22:45         ` Steven Rostedt
2022-09-01 15:58 ` [PATCH 1/2] debugfs: " Greg Kroah-Hartman
2022-09-01 16:11   ` Steven Rostedt
2022-09-01 22:32   ` Brian Norris
2022-09-02  5:45     ` Greg Kroah-Hartman
2022-09-09  0:16       ` Brian Norris
2022-09-09  0:43         ` Steven Rostedt
2022-09-09  0:57           ` Brian Norris
2022-09-09  1:05             ` Steven Rostedt [this message]

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=20220908210503.6e96e36d@rorschach.local.home \
    --to=rostedt@goodmis.org \
    --cc=briannorris@chromium.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=rafael@kernel.org \
    /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.