[LTP] [COMMITTED] [PATCH] syscalls/perf_event_open03: Fix include

Cyril Hrubis chrubis@suse.cz
Tue Jun 14 13:42:24 CEST 2022


Use tst_timer.h instead of tst_timer_test.h as the test just uses
function from tst_timer.h and does not implement a timer test at all.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
 testcases/kernel/syscalls/perf_event_open/perf_event_open03.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/perf_event_open/perf_event_open03.c b/testcases/kernel/syscalls/perf_event_open/perf_event_open03.c
index 999c8aa22..7dd31d3d2 100644
--- a/testcases/kernel/syscalls/perf_event_open/perf_event_open03.c
+++ b/testcases/kernel/syscalls/perf_event_open/perf_event_open03.c
@@ -16,7 +16,7 @@
 
 #include "config.h"
 #include "tst_test.h"
-#include "tst_timer_test.h"
+#include "tst_timer.h"
 #include "lapi/syscalls.h"
 
 #include "perf_event_open.h"
-- 
2.35.1



More information about the ltp mailing list