From bedbef8ad3e75a304af6361af235302bcc61d06b Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 14 May 2024 06:39:01 +0000
Subject: [PATCH] 修改内核路径

---
 kernel/tools/testing/selftests/ftrace/test.d/00basic/snapshot.tc |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/kernel/tools/testing/selftests/ftrace/test.d/00basic/snapshot.tc b/kernel/tools/testing/selftests/ftrace/test.d/00basic/snapshot.tc
index 3b1f45e..13b4dab 100644
--- a/kernel/tools/testing/selftests/ftrace/test.d/00basic/snapshot.tc
+++ b/kernel/tools/testing/selftests/ftrace/test.d/00basic/snapshot.tc
@@ -1,8 +1,7 @@
 #!/bin/sh
 # description: Snapshot and tracing setting
+# requires: snapshot
 # flags: instance
-
-[ ! -f snapshot ] && exit_unsupported
 
 echo "Set tracing off"
 echo 0 > tracing_on

--
Gitblit v1.6.2