mirror of
https://github.com/torvalds/linux
synced 2024-09-06 18:01:05 +00:00
perf test: Fix spelling mistake "leadking" -> "leaking"
There are a couple of spelling mistakes in test assert messages. Fix them. Signed-off-by: Colin King <colin.king@canonical.com> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: kernel-janitors@vger.kernel.org Link: http://lkml.kernel.org/r/20190417105539.5902-1-colin.king@canonical.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
bdd1666b3d
commit
1455ea2391
|
@ -304,7 +304,7 @@ int test__dso_data_cache(struct test *test __maybe_unused, int subtest __maybe_u
|
|||
/* Make sure we did not leak any file descriptor. */
|
||||
nr_end = open_files_cnt();
|
||||
pr_debug("nr start %ld, nr stop %ld\n", nr, nr_end);
|
||||
TEST_ASSERT_VAL("failed leadking files", nr == nr_end);
|
||||
TEST_ASSERT_VAL("failed leaking files", nr == nr_end);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -380,6 +380,6 @@ int test__dso_data_reopen(struct test *test __maybe_unused, int subtest __maybe_
|
|||
/* Make sure we did not leak any file descriptor. */
|
||||
nr_end = open_files_cnt();
|
||||
pr_debug("nr start %ld, nr stop %ld\n", nr, nr_end);
|
||||
TEST_ASSERT_VAL("failed leadking files", nr == nr_end);
|
||||
TEST_ASSERT_VAL("failed leaking files", nr == nr_end);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue