Commit 9835b742 authored by Patrice Duroux's avatar Patrice Duroux Committed by Arnaldo Carvalho de Melo

perf tests record_offcpu.sh: Fix redirection of stderr to stdin

It's not 2&>1, the correct is 2>&1

Fixes: ade1d030 ("perf offcpu: Update offcpu test for child process")
Signed-off-by: default avatarPatrice Duroux <patrice.duroux@gmail.com>
Acked-by: default avatarIan Rogers <irogers@google.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20230303193058.21274-1-patrice.duroux@gmail.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 31c5ba6c
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment