[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231221210153.3f1933ef@gandalf.local.home>
Date: Thu, 21 Dec 2023 21:01:53 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: "Masami Hiramatsu (Google)" <mhiramat@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>, Linux Trace Kernel
<linux-trace-kernel@...r.kernel.org>, Mark Rutland <mark.rutland@....com>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>, Linus Torvalds
<torvalds@...ux-foundation.org>, Shuah Khan <shuah@...nel.org>, Linux
selftests <linux-kselftest@...r.kernel.org>
Subject: Re: [PATCH v2] tracing/selftests: Add ownership modification tests
for eventfs
On Fri, 22 Dec 2023 10:52:00 +0900
Masami Hiramatsu (Google) <mhiramat@...nel.org> wrote:
> > +instance="foo-$(mktemp -u XXXXX)"
> >
> > This doesn't work. it needs XXXXXX (6 times X). And this is
> > somewhat wrong usage of mktemp because it can not check there is
> > foo-<random>.
> > What about change it as
> >
> > instance="$(mktemp -u foo-XXXXXX)"
That can work too, although I think I'll change it from "foo" to "test".
> >
> > ?
>
> And I confirmed that this test passed on v6.5.13 with that change.
Thanks, I'll send out a v3 with 6 Xs. ;-)
-- Steve
Powered by blists - more mailing lists