On Tue, 16 Jul 2024 16:56:51 +0530 Akanksha J N akanksha@linux.ibm.com wrote:
diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_opt_types.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_opt_types.tc index 9f5d99328086..87e2f81e46b8 100644 --- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_opt_types.tc +++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_opt_types.tc @@ -10,6 +10,11 @@ x86_64) arm*) ;; ppc*) +lsprop_output=$(lsprop /proc/device-tree/ibm,secure-boot) +if echo "$lsprop_output" | grep -q "00000002"; then
- echo "Secure Boot is enabled on PowerPC."
- exit_unsupported
+fi
Nit, but the above should be indented.
-- Steve
;; *) echo "Please implement other architecture here"