diff mbox series

[1/3] libtracefs: Fix spelling in test name

Message ID 20220224234823.1190425-1-irogers@google.com (mailing list archive)
State Accepted
Commit fb1da0142e5ae05711edec2544c6c6c21b25493d
Headers show
Series [1/3] libtracefs: Fix spelling in test name | expand

Commit Message

Ian Rogers Feb. 24, 2022, 11:48 p.m. UTC
Synthetic rather than syntetic.

Signed-off-by: Ian Rogers <irogers@google.com>
---
 utest/tracefs-utest.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/utest/tracefs-utest.c b/utest/tracefs-utest.c
index 0903243..5163004 100644
--- a/utest/tracefs-utest.c
+++ b/utest/tracefs-utest.c
@@ -436,7 +436,7 @@  static void test_synth_compare(struct test_synth *synth, struct tracefs_dynevent
 	CU_TEST(devents[i] == NULL);
 }
 
-static void test_instance_syntetic(struct tracefs_instance *instance)
+static void test_instance_synthetic(struct tracefs_instance *instance)
 {
 	struct test_synth sevents[] = {
 		{"synth_1", "sched", "sched_waking", "sched", "sched_switch", "pid", "next_pid", "pid_match"},
@@ -496,7 +496,7 @@  static void test_instance_syntetic(struct tracefs_instance *instance)
 
 static void test_synthetic(void)
 {
-	test_instance_syntetic(test_instance);
+	test_instance_synthetic(test_instance);
 }
 
 static void test_trace_file(void)
@@ -1706,6 +1706,6 @@  void test_tracefs_lib(void)
 	CU_add_test(suite, "ftrace marker",
 		    test_ftrace_marker);
 	CU_add_test(suite, "kprobes", test_kprobes);
-	CU_add_test(suite, "syntetic events", test_synthetic);
+	CU_add_test(suite, "synthetic events", test_synthetic);
 	CU_add_test(suite, "eprobes", test_eprobes);
 }