Skip to contentSkip to conversation

perf test: fix spelling mistake "allos" -> "allocate"

PATCH Applied Colin King 4 participants 4 messages Sep 11, 2019 – Sep 20, 2019

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 perf test: fix spelling mistake "allos" -> "allocate"

From: Colin Ian King <[email protected]>

There is a spelling mistake in a TEST_ASSERT_VAL message. Fix it.

---
 tools/perf/tests/event_update.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/tests/event_update.c +1 -1
index cac4290e233a..7f0868a31a7f 100644
@@ -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);
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Colin King

From: Colin Ian King <[email protected]>

There is a spelling mistake in a TEST_ASSERT_VAL message. Fix it.

Thanks,
Mukesh

Quoted 17 lines
---
  tools/perf/tests/event_update.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/tests/event_update.c +1 -1
index cac4290e233a..7f0868a31a7f 100644
@@ -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 lore raw

Em Tue, Sep 17, 2019 at 01:12:46PM +0530, Mukesh Ojha escreveu:

Quoted 9 lines · Colin King
Quoted 5 lines

From: Colin Ian King <[email protected]>

There is a spelling mistake in a TEST_ASSERT_VAL message. Fix it.

Thanks, applied.

Quoted 17 lines

Thanks,
Mukesh

Quoted 14 lines
---
  tools/perf/tests/event_update.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/tests/event_update.c +1 -1
index cac4290e233a..7f0868a31a7f 100644
@@ -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);
Signature · 1 line
- Arnaldo
merge bot Applied
#3 lore raw

[tip: perf/urgent] perf test: Fix spelling mistake "allos" -> "allocate"

In reply to Colin King
The following commit has been merged into the perf/urgent branch of tip:

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.

---
 tools/perf/tests/event_update.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/tests/event_update.c +1 -1
index 4bb772e..0497d90 100644
@@ -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);