From: Colin Ian King <[email protected]>
There is a spelling mistake in a TEST_ASSERT_VAL message. Fix it.
Signed-off-by: Colin Ian King <[email protected]>
---
tools/perf/tests/event_update.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/tests/event_update.c b/tools/perf/tests/event_update.c
index cac4290e233a..7f0868a31a7f 100644
--- a/tools/perf/tests/event_update.c
+++ b/tools/perf/tests/event_update.c
@@ -92,7 +92,7 @@ int test__event_update(struct test *test __maybe_unused, int subtest __maybe_unu
evsel = perf_evlist__first(evlist);
- TEST_ASSERT_VAL("failed to allos ids",
+ TEST_ASSERT_VAL("failed to allocate ids",
!perf_evsel__alloc_id(evsel, 1, 1));
perf_evlist__id_add(evlist, evsel, 0, 0, 123);
--
2.20.1
On 9/11/2019 8:51 PM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a TEST_ASSERT_VAL message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Mukesh Ojha <[email protected]>
Thanks,
Mukesh
> ---
> tools/perf/tests/event_update.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/tests/event_update.c b/tools/perf/tests/event_update.c
> index cac4290e233a..7f0868a31a7f 100644
> --- a/tools/perf/tests/event_update.c
> +++ b/tools/perf/tests/event_update.c
> @@ -92,7 +92,7 @@ int test__event_update(struct test *test __maybe_unused, int subtest __maybe_unu
>
> evsel = perf_evlist__first(evlist);
>
> - TEST_ASSERT_VAL("failed to allos ids",
> + TEST_ASSERT_VAL("failed to allocate ids",
> !perf_evsel__alloc_id(evsel, 1, 1));
>
> perf_evlist__id_add(evlist, evsel, 0, 0, 123);
Em Tue, Sep 17, 2019 at 01:12:46PM +0530, Mukesh Ojha escreveu:
>
> On 9/11/2019 8:51 PM, Colin King wrote:
> > From: Colin Ian King <[email protected]>
> >
> > There is a spelling mistake in a TEST_ASSERT_VAL message. Fix it.
> >
> > Signed-off-by: Colin Ian King <[email protected]>
>
> Reviewed-by: Mukesh Ojha <[email protected]>
Thanks, applied.
> Thanks,
> Mukesh
>
> > ---
> > tools/perf/tests/event_update.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/tools/perf/tests/event_update.c b/tools/perf/tests/event_update.c
> > index cac4290e233a..7f0868a31a7f 100644
> > --- a/tools/perf/tests/event_update.c
> > +++ b/tools/perf/tests/event_update.c
> > @@ -92,7 +92,7 @@ int test__event_update(struct test *test __maybe_unused, int subtest __maybe_unu
> > evsel = perf_evlist__first(evlist);
> > - TEST_ASSERT_VAL("failed to allos ids",
> > + TEST_ASSERT_VAL("failed to allocate ids",
> > !perf_evsel__alloc_id(evsel, 1, 1));
> > perf_evlist__id_add(evlist, evsel, 0, 0, 123);
--
- Arnaldo
The following commit has been merged into the perf/urgent branch of tip:
Commit-ID: ce095c9ac293d1683f9fedb214811727dff0d508
Gitweb: https://git.kernel.org/tip/ce095c9ac293d1683f9fedb214811727dff0d508
Author: Colin Ian King <[email protected]>
AuthorDate: Wed, 11 Sep 2019 16:21:48 +01:00
Committer: Arnaldo Carvalho de Melo <[email protected]>
CommitterDate: Fri, 20 Sep 2019 10:28:26 -03:00
perf test: Fix spelling mistake "allos" -> "allocate"
There is a spelling mistake in a TEST_ASSERT_VAL message. Fix it.
Signed-off-by: Colin King <[email protected]>
Reviewed-by: Mukesh Ojha <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
---
tools/perf/tests/event_update.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/tests/event_update.c b/tools/perf/tests/event_update.c
index 4bb772e..0497d90 100644
--- a/tools/perf/tests/event_update.c
+++ b/tools/perf/tests/event_update.c
@@ -94,7 +94,7 @@ int test__event_update(struct test *test __maybe_unused, int subtest __maybe_unu
evsel = perf_evlist__first(evlist);
- TEST_ASSERT_VAL("failed to allos ids",
+ TEST_ASSERT_VAL("failed to allocate ids",
!perf_evsel__alloc_id(evsel, 1, 1));
perf_evlist__id_add(evlist, evsel, 0, 0, 123);