From: Kees Cook <keescook@chromium.org>
To: Vitor Massaru Iha <vitor@massaru.org>
Cc: "open list:KERNEL SELFTEST FRAMEWORK"
<linux-kselftest@vger.kernel.org>,
Brendan Higgins <brendanhiggins@google.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
David Gow <davidgow@google.com>,
linux-kernel-mentees@lists.linuxfoundation.org,
KUnit Development <kunit-dev@googlegroups.com>
Subject: Re: [Linux-kernel-mentees] [PATCH v3] lib: Convert test_user_copy to KUnit test
Date: Wed, 22 Jul 2020 12:45:10 -0700 [thread overview]
Message-ID: <202007221244.4E3C9E45@keescook> (raw)
In-Reply-To: <CADQ6JjUgVXBfHfb=V2ajwm=rHi12rxiqEtpivjY03xZbp6k7wg@mail.gmail.com>
On Wed, Jul 22, 2020 at 03:29:27PM -0300, Vitor Massaru Iha wrote:
> On Tue, Jul 21, 2020 at 11:12 PM Kees Cook <keescook@chromium.org> wrote:
> >
> > On Tue, Jul 21, 2020 at 07:19:12PM -0300, Vitor Massaru Iha wrote:
> > > When you talk about end-of-test summary, is it what is written in
> > > dmesg and not the kunit-tool?
> >
> > Right, if I build this as a module and do "modprobe user_copy_kunit",
> > what will show up in dmesg?
>
> No, It doesn't. I'll put the messages again.
Would it be possible to add that behavior to the core KUnit output? Then
all module-based tests would include a summary line?
--
Kees Cook
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees
WARNING: multiple messages have this Message-ID (diff)
From: Kees Cook <keescook@chromium.org>
To: Vitor Massaru Iha <vitor@massaru.org>
Cc: KUnit Development <kunit-dev@googlegroups.com>,
"open list:KERNEL SELFTEST FRAMEWORK"
<linux-kselftest@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Brendan Higgins <brendanhiggins@google.com>,
David Gow <davidgow@google.com>,
Shuah Khan <skhan@linuxfoundation.org>,
linux-kernel-mentees@lists.linuxfoundation.org
Subject: Re: [PATCH v3] lib: Convert test_user_copy to KUnit test
Date: Wed, 22 Jul 2020 12:45:10 -0700 [thread overview]
Message-ID: <202007221244.4E3C9E45@keescook> (raw)
In-Reply-To: <CADQ6JjUgVXBfHfb=V2ajwm=rHi12rxiqEtpivjY03xZbp6k7wg@mail.gmail.com>
On Wed, Jul 22, 2020 at 03:29:27PM -0300, Vitor Massaru Iha wrote:
> On Tue, Jul 21, 2020 at 11:12 PM Kees Cook <keescook@chromium.org> wrote:
> >
> > On Tue, Jul 21, 2020 at 07:19:12PM -0300, Vitor Massaru Iha wrote:
> > > When you talk about end-of-test summary, is it what is written in
> > > dmesg and not the kunit-tool?
> >
> > Right, if I build this as a module and do "modprobe user_copy_kunit",
> > what will show up in dmesg?
>
> No, It doesn't. I'll put the messages again.
Would it be possible to add that behavior to the core KUnit output? Then
all module-based tests would include a summary line?
--
Kees Cook
next prev parent reply other threads:[~2020-07-22 19:45 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-21 17:46 [Linux-kernel-mentees] [PATCH v3] lib: Convert test_user_copy to KUnit test Vitor Massaru Iha
2020-07-21 17:46 ` Vitor Massaru Iha
2020-07-21 19:09 ` [Linux-kernel-mentees] " Kees Cook
2020-07-21 19:09 ` Kees Cook
2020-07-21 22:19 ` [Linux-kernel-mentees] " Vitor Massaru Iha
2020-07-21 22:19 ` Vitor Massaru Iha
2020-07-21 23:11 ` [Linux-kernel-mentees] " Vitor Massaru Iha
2020-07-21 23:11 ` Vitor Massaru Iha
2020-07-22 2:12 ` [Linux-kernel-mentees] " Kees Cook
2020-07-22 2:12 ` Kees Cook
2020-07-22 18:29 ` [Linux-kernel-mentees] " Vitor Massaru Iha
2020-07-22 18:29 ` Vitor Massaru Iha
2020-07-22 19:45 ` Kees Cook [this message]
2020-07-22 19:45 ` Kees Cook
2020-07-22 20:21 ` [Linux-kernel-mentees] " Vitor Massaru Iha
2020-07-22 20:21 ` Vitor Massaru Iha
2020-07-22 22:28 ` [Linux-kernel-mentees] " Vitor Massaru Iha
2020-07-22 22:28 ` Vitor Massaru Iha
2024-08-06 15:48 ` Guenter Roeck
2024-08-06 16:00 ` Guenter Roeck
2024-08-06 19:34 ` Kees Cook
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=202007221244.4E3C9E45@keescook \
--to=keescook@chromium.org \
--cc=brendanhiggins@google.com \
--cc=davidgow@google.com \
--cc=kunit-dev@googlegroups.com \
--cc=linux-kernel-mentees@lists.linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=vitor@massaru.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.