linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrice Duroux <patrice.duroux@gmail.com>
To: linux-perf-users@vger.kernel.org
Cc: Patrice Duroux <patrice.duroux@gmail.com>
Subject: [PATCH 1/2] replace 2&>1 by 2>&1
Date: Fri,  3 Mar 2023 20:30:58 +0100	[thread overview]
Message-ID: <20230303193058.21274-1-patrice.duroux@gmail.com> (raw)
In-Reply-To: <CAGKjw9KHDnVgRz5bstJYkq4t0-bT5fvkuQZbEB48d-8jo4Q00g@mail.gmail.com>

Signed-off-by: Patrice Duroux <patrice.duroux@gmail.com>
---
 tools/perf/tests/shell/record_offcpu.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/tests/shell/record_offcpu.sh b/tools/perf/tests/shell/record_offcpu.sh
index e01973d4e0fb..f062ae9a95e1 100755
--- a/tools/perf/tests/shell/record_offcpu.sh
+++ b/tools/perf/tests/shell/record_offcpu.sh
@@ -65,7 +65,7 @@ test_offcpu_child() {
 
   # perf bench sched messaging creates 400 processes
   if ! perf record --off-cpu -e dummy -o ${perfdata} -- \
-    perf bench sched messaging -g 10 > /dev/null 2&>1
+    perf bench sched messaging -g 10 > /dev/null 2>&1
   then
     echo "Child task off-cpu test [Failed record]"
     err=1
-- 
2.39.2


       reply	other threads:[~2023-03-03 19:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAGKjw9KHDnVgRz5bstJYkq4t0-bT5fvkuQZbEB48d-8jo4Q00g@mail.gmail.com>
2023-03-03 19:30 ` Patrice Duroux [this message]
2023-03-06 21:46   ` [PATCH 1/2] replace 2&>1 by 2>&1 Ian Rogers
2023-03-23 18:03     ` Ian Rogers
2023-03-24 20:09       ` Arnaldo Carvalho de Melo
2023-03-25  3:18         ` Namhyung Kim

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=20230303193058.21274-1-patrice.duroux@gmail.com \
    --to=patrice.duroux@gmail.com \
    --cc=linux-perf-users@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).