Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1682417
| From | Stafford Horne <shorne@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 4/4] selftests: ftrace: Output only to console with "--logdir -" |
| Date | 2017-07-06 15:10 +0200 |
| Message-ID | <u0eHF-4JM-29@gated-at.bofh.it> (permalink) |
| References | <tZpF8-4BK-9@gated-at.bofh.it> <tZpF8-4BK-11@gated-at.bofh.it> <tZVlE-aF-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jul 05, 2017 at 12:25:06PM -0400, Steven Rostedt wrote:
> On Tue, 4 Jul 2017 15:38:55 +0900
> Masami Hiramatsu <mhiramat@kernel.org> wrote:
>
> > + local testlog=`mktemp $LOG_DIR/${testname}-log.XXXXXX`
> > + else
> > + local testlog=`/proc/self/fd/1`
>
> cute trick.
Shouldn't this be:
local testlog=/proc/self/fd/1
without the backticks and subshell? We just want to write to the stdout
file not execute it.
Or am missing something.
-Stafford
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 4/4] selftests: ftrace: Output only to console with "--logdir -" Masami Hiramatsu <mhiramat@kernel.org> - 2017-07-04 08:40 +0200
Re: [PATCH 4/4] selftests: ftrace: Output only to console with "--logdir -" Steven Rostedt <rostedt@goodmis.org> - 2017-07-05 18:30 +0200
Re: [PATCH 4/4] selftests: ftrace: Output only to console with "--logdir -" Steven Rostedt <rostedt@goodmis.org> - 2017-07-05 18:30 +0200
Re: [PATCH 4/4] selftests: ftrace: Output only to console with "--logdir -" Masami Hiramatsu <mhiramat@kernel.org> - 2017-07-06 08:10 +0200
Re: [PATCH 4/4] selftests: ftrace: Output only to console with "--logdir -" Stafford Horne <shorne@gmail.com> - 2017-07-06 15:10 +0200
Re: [PATCH 4/4] selftests: ftrace: Output only to console with "--logdir -" Steven Rostedt <rostedt@goodmis.org> - 2017-07-06 15:20 +0200
Re: [PATCH 4/4] selftests: ftrace: Output only to console with "--logdir -" Masami Hiramatsu <mhiramat@kernel.org> - 2017-07-07 02:50 +0200
csiph-web